Date: Sun, 28 May 2017 23:16:19 +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: r441944 - head/audio/py-shout Message-ID: <201705282316.v4SNGJao052751@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun May 28 23:16:19 2017 New Revision: 441944 URL: https://svnweb.freebsd.org/changeset/ports/441944 Log: Add LICENSE_FILE - Sort USE_PYTHON - Pet portlint - Strip shared library - Bump PORTREVISION for package change Modified: head/audio/py-shout/Makefile Modified: head/audio/py-shout/Makefile ============================================================================== --- head/audio/py-shout/Makefile Sun May 28 23:16:14 2017 (r441943) +++ head/audio/py-shout/Makefile Sun May 28 23:16:19 2017 (r441944) @@ -3,7 +3,7 @@ PORTNAME= shout PORTVERSION= 0.2.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio python MASTER_SITES= http://downloads.us.xiph.org/releases/libshout/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,19 +13,22 @@ MAINTAINER= python@FreeBSD.org COMMENT= Python bindings for libshout2 LICENSE= LGPL20 - -OPTIONS_DEFINE= EXAMPLES +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libshout.so:audio/libshout -EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +OPTIONS_DEFINE= EXAMPLES USES= pkgconfig python:2 shebangfix SHEBANG_FILES= example.py -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTEXAMPLES= example.py +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/shout.so + post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} ${WRKSRC}/example.py ${STAGEDIR}${EXAMPLESDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705282316.v4SNGJao052751>