Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 19:57:32 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340852 - head/audio/py-shout
Message-ID:  <201401231957.s0NJvWGf000538@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401231957.s0NJvWGf000538>