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

Marcus von Appen mva at FreeBSD.org
Thu Jan 23 19:57:32 UTC 2014


Author: mva
Date: Thu Jan 23 19:57:32 2014
New Revision: 340852
URL: http://svnweb.freebsd.org/changeset/ports/340852
QAT: https://qat.redports.org/buildarchive/r340852/

Log:
  - Enable stagedir support
  - Add LICENSE
  - Convert to PYDISTUTILS_AUTOPLIST
  - Restrict the supported python versions

Deleted:
  head/audio/py-shout/pkg-plist
Modified:
  head/audio/py-shout/Makefile

Modified: head/audio/py-shout/Makefile
==============================================================================
--- head/audio/py-shout/Makefile	Thu Jan 23 19:55:14 2014	(r340851)
+++ head/audio/py-shout/Makefile	Thu Jan 23 19:57:32 2014	(r340852)
@@ -11,20 +11,21 @@ DISTNAME=	${PORTNAME}-python-${PORTVERSI
 MAINTAINER=	python at FreeBSD.org
 COMMENT=	Python bindings for libshout2
 
+LICENSE=	LGPL20
+
 LIB_DEPENDS=	libshout.so:${PORTSDIR}/audio/libshout2
 
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
 USES=			pkgconfig
-NO_STAGE=	yes
-USE_PYTHON=		yes
+USE_PYTHON=		2
 USE_PYDISTUTILS=	yes
-PYDISTUTILS_PKGNAME=	${PORTNAME}-python
+PYDISTUTILS_AUTOPLIST=	yes
+
+PORTEXAMPLES=	example.py
 
-.if !defined(NOPORTEXAMPLES)
 post-install:
-	@${MKDIR} ${EXAMPLESDIR}
-	${CP} ${WRKSRC}/example.py ${EXAMPLESDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${CP} ${WRKSRC}/example.py ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list