- Switch to options helper

- Fix shebangs
This commit is contained in:
Martin Wilke 2017-04-18 03:26:48 +00:00
parent f2ef8e20da
commit ae12982948
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438760

View File

@ -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}