Date: Fri, 30 May 2014 05:31:21 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355776 - head/multimedia/py-periscope Message-ID: <201405300531.s4U5VLPa048273@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri May 30 05:31:20 2014 New Revision: 355776 URL: http://svnweb.freebsd.org/changeset/ports/355776 QAT: https://qat.redports.org/buildarchive/r355776/ Log: - Add LICENSE - Use USE_PYDISTUTILS=yes and PYDISTUTILS_AUTOPLIST - Remove USE_GNOME=desktopfileutils - Convert to new options helper - Support STAGEDIR - Bump PORTREVISION for package change - Pass maintainership to submitter - While I'm here: - Fix post-install: DESKTOPDIR is already in BSD.local.dist - Simplify Makefile PR: ports/190255 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> Deleted: head/multimedia/py-periscope/pkg-plist Modified: head/multimedia/py-periscope/Makefile Modified: head/multimedia/py-periscope/Makefile ============================================================================== --- head/multimedia/py-periscope/Makefile Fri May 30 05:31:16 2014 (r355775) +++ head/multimedia/py-periscope/Makefile Fri May 30 05:31:20 2014 (r355776) @@ -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}_${PORTVERS 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} - -.include <bsd.port.options.mk> -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MUNRAR} -RUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar -.endif + ${STAGEDIR}${DESKTOPDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405300531.s4U5VLPa048273>