svn commit: r441944 - head/audio/py-shout

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun May 28 23:16:21 UTC 2017


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


More information about the svn-ports-all mailing list