diff --git a/multimedia/py-periscope/Makefile b/multimedia/py-periscope/Makefile index c182a729e890..9fecd9ca8ff8 100644 --- a/multimedia/py-periscope/Makefile +++ b/multimedia/py-periscope/Makefile @@ -3,7 +3,7 @@ PORTNAME= periscope PORTVERSION= 0.2.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia python MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,40 +12,30 @@ DISTFILES= python-${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX} \ DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= python-${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= 5u623l20@gmail.com COMMENT= Subtitles searching module LICENSE= LGPL3 -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/BeautifulSoup.py:${PORTSDIR}/www/py-beautifulsoup32 -BUILD_DEPENDS:= ${RUN_DEPENDS} +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/BeautifulSoup.py:${PORTSDIR}/www/py-beautifulsoup32 +RUN_DEPENDS:= ${BUILD_DEPENDS} -USE_GNOME= desktopfileutils USE_PYTHON= yes -USE_PYDISTUTILS= easy_install +USE_PYDISTUTILS=yes +PYDISTUTILS_AUTOPLIST= yes NO_WRKSUBDIR= yes -USES= desktop-file-utils +USES= desktop-file-utils OPTIONS_DEFINE= UNRAR UNRAR_DESC= rar support (.rar) for compressed subtitles +UNRAR_RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar OPTIONS_DEFAULT= UNRAR -PLIST_SUB= DESKTOPDIR=${DESKTOPDIR_WITHOUT_PREFIX:Q} +PLIST_FILES= share/applications/periscope.desktop -DESKTOPDIR_WITHOUT_PREFIX= ${DESKTOPDIR:S,^${PREFIX}/,,} - -NO_STAGE= yes post-install: - @${MKDIR} ${DESKTOPDIR} @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/periscope.desktop \ - ${DESKTOPDIR} + ${STAGEDIR}${DESKTOPDIR} -.include -.include - -.if ${PORT_OPTIONS:MUNRAR} -RUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar -.endif - -.include +.include diff --git a/multimedia/py-periscope/pkg-plist b/multimedia/py-periscope/pkg-plist deleted file mode 100644 index 18979ee9c065..000000000000 --- a/multimedia/py-periscope/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/periscope -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% -%%DESKTOPDIR%%/periscope.desktop