aboutsummaryrefslogtreecommitdiff
path: root/audio/py-shout
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-05-28 23:16:19 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-05-28 23:16:19 +0000
commitab49e916aa75c56ef13ae4228a1a4f3ef12005b9 (patch)
tree35a40bbc8826c2068f1fffef54afef43b9935860 /audio/py-shout
parent085fea094c9d4159968e960093c9ef542a6f969e (diff)
downloadports-ab49e916aa75c56ef13ae4228a1a4f3ef12005b9.tar.gz
ports-ab49e916aa75c56ef13ae4228a1a4f3ef12005b9.zip
Add LICENSE_FILE
- Sort USE_PYTHON - Pet portlint - Strip shared library - Bump PORTREVISION for package change
Notes
Notes: svn path=/head/; revision=441944
Diffstat (limited to 'audio/py-shout')
-rw-r--r--audio/py-shout/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/audio/py-shout/Makefile b/audio/py-shout/Makefile
index 7126f24d0502..5e34edb70f6a 100644
--- a/audio/py-shout/Makefile
+++ b/audio/py-shout/Makefile
@@ -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}