Date: Tue, 18 Apr 2017 03:26:48 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438760 - head/audio/py-shout Message-ID: <201704180326.v3I3Qm2r065653@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Tue Apr 18 03:26:48 2017 New Revision: 438760 URL: https://svnweb.freebsd.org/changeset/ports/438760 Log: - Switch to options helper - Fix shebangs Modified: head/audio/py-shout/Makefile Modified: head/audio/py-shout/Makefile ============================================================================== --- head/audio/py-shout/Makefile Tue Apr 18 03:25:11 2017 (r438759) +++ head/audio/py-shout/Makefile Tue Apr 18 03:26:48 2017 (r438760) @@ -3,7 +3,7 @@ PORTNAME= shout PORTVERSION= 0.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio python MASTER_SITES= http://downloads.us.xiph.org/releases/libshout/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,16 +14,19 @@ COMMENT= Python bindings for libshout2 LICENSE= LGPL20 +OPTIONS_DEFINE= EXAMPLES + LIB_DEPENDS= libshout.so:audio/libshout EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} -USES= pkgconfig python:2 +USES= pkgconfig python:2 shebangfix +SHEBANG_FILES= example.py USE_PYTHON= distutils autoplist PORTEXAMPLES= example.py -post-install: +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?201704180326.v3I3Qm2r065653>