svn commit: r336628 - head/audio/py-mpd2

Rene Ladan rene at FreeBSD.org
Mon Dec 16 12:03:48 UTC 2013


Author: rene
Date: Mon Dec 16 12:03:47 2013
New Revision: 336628
URL: http://svnweb.freebsd.org/changeset/ports/336628

Log:
  - Stagify
  - Switch to PYDISTUTILS=yes
  - Bump PORTREVISION to drop runtime dependency on py-setuptools
  - Drop pkg-plist
  - Mark as architecture-independent

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

Modified: head/audio/py-mpd2/Makefile
==============================================================================
--- head/audio/py-mpd2/Makefile	Mon Dec 16 11:49:54 2013	(r336627)
+++ head/audio/py-mpd2/Makefile	Mon Dec 16 12:03:47 2013	(r336628)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mpd2
 PORTVERSION=	0.5.2
+PORTREVISION=	1
 CATEGORIES=	audio python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	python-${PORTNAME}-${PORTVERSION}
@@ -11,15 +12,17 @@ MAINTAINER=	rene at FreeBSD.org
 COMMENT=	Fork of the Python MPD client library
 
 USE_GITHUB=	yes
-NO_STAGE=	yes
 GH_ACCOUNT=	Mic92
 GH_PROJECT=	python-${PORTNAME}
 GH_TAGNAME=	v${PORTVERSION}
 GH_COMMIT=	df508d4
 
 USE_PYTHON=	yes
-USE_PYDISTUTILS=	easy_install
+USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	python_mpd2
+PYDISTUTILS_AUTOPLIST=	yes
+
+NO_ARCH=	yes
 
 OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
 OPTIONS_DEFINE=	DOCS EXAMPLES
@@ -31,24 +34,19 @@ PORTDOCS_2=	topics/advanced.rst topics/c
 PORTDOCS=	${PORTDOCS_1} ${PORTDOCS_2}
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 PORTEXAMPLES=	locking.py logger.py
-
-.include <bsd.port.options.mk>
+PLIST_DIRSTRY=	${DOCSDIR}/topics
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}/topics
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/topics
 .for f in ${PORTDOCS_1}
-	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .for f in ${PORTDOCS_2}
-	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}/topics
+	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}/topics
 .endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for f in ${PORTEXAMPLES}
-	${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list