opnsense-ports/multimedia/py-periscope/Makefile
Franco Fichtner d543c3ab93 */*: sync with upstream
Taken from: FreeBSD
2016-04-02 16:03:17 +02:00

39 lines
1,007 B
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= periscope
PORTVERSION= 0.2.4
PORTREVISION= 3
CATEGORIES= multimedia python
MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= python-${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX} \
periscope.desktop
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= python-${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Subtitles searching module
LICENSE= LGPL3
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/BeautifulSoup.py:www/py-beautifulsoup32
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PYTHON= distutils autoplist
NO_WRKSUBDIR= yes
USES= desktop-file-utils python
OPTIONS_DEFINE= UNRAR
UNRAR_DESC= rar support (.rar) for compressed subtitles
UNRAR_RUN_DEPENDS= unrar:archivers/unrar
OPTIONS_DEFAULT= UNRAR
PLIST_FILES= share/applications/periscope.desktop
post-install:
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/periscope.desktop \
${STAGEDIR}${DESKTOPDIR}
.include <bsd.port.mk>