svn commit: r352526 - head/audio/cymbaline
Baptiste Daroussin
bapt at FreeBSD.org
Mon Apr 28 16:47:18 UTC 2014
Author: bapt
Date: Mon Apr 28 16:47:17 2014
New Revision: 352526
URL: http://svnweb.freebsd.org/changeset/ports/352526
QAT: https://qat.redports.org/buildarchive/r352526/
Log:
Support stage
Modified:
head/audio/cymbaline/Makefile
Modified: head/audio/cymbaline/Makefile
==============================================================================
--- head/audio/cymbaline/Makefile Mon Apr 28 16:47:13 2014 (r352525)
+++ head/audio/cymbaline/Makefile Mon Apr 28 16:47:17 2014 (r352526)
@@ -3,6 +3,7 @@
PORTNAME= cymbaline
PORTVERSION= 1.3e
+PORTREVISION= 1
CATEGORIES= audio python
MASTER_SITES= http://www.silmarill.org/files/
@@ -12,29 +13,19 @@ COMMENT= Console frontend for py-mad
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/aomodule.so:${PORTSDIR}/audio/py-ao \
${PYTHON_SITELIBDIR}/madmodule.so:${PORTSDIR}/audio/py-mad
-NO_STAGE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
PLIST_FILES= bin/cymbaline
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
-.endif
post-install:
- @${MV} -f ${PREFIX}/bin/cymbaline.py ${PREFIX}/bin/cymbaline
- @${FIND} ${PYTHON_SITELIBDIR}/cypack ! -type d | \
- ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
- @${FIND} ${PYTHON_SITELIBDIR}/cypack -type d | ${SORT} -r | \
- ${SED} 's,^${PREFIX}/, at dirrm ,' >> ${TMPPLIST}
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${LN} -sf cymbaline.py ${STAGEDIR}${PREFIX}/bin/cymbaline
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list