mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Support stage
This commit is contained in:
parent
42af42744f
commit
429f654377
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352526
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= cymbaline
|
PORTNAME= cymbaline
|
||||||
PORTVERSION= 1.3e
|
PORTVERSION= 1.3e
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= audio python
|
CATEGORIES= audio python
|
||||||
MASTER_SITES= http://www.silmarill.org/files/
|
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 \
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/aomodule.so:${PORTSDIR}/audio/py-ao \
|
||||||
${PYTHON_SITELIBDIR}/madmodule.so:${PORTSDIR}/audio/py-mad
|
${PYTHON_SITELIBDIR}/madmodule.so:${PORTSDIR}/audio/py-mad
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
USE_PYDISTUTILS= yes
|
USE_PYDISTUTILS= yes
|
||||||
|
PYDISTUTILS_AUTOPLIST= yes
|
||||||
|
|
||||||
PLIST_FILES= bin/cymbaline
|
PLIST_FILES= bin/cymbaline
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
.endif
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MV} -f ${PREFIX}/bin/cymbaline.py ${PREFIX}/bin/cymbaline
|
${LN} -sf cymbaline.py ${STAGEDIR}${PREFIX}/bin/cymbaline
|
||||||
@${FIND} ${PYTHON_SITELIBDIR}/cypack ! -type d | \
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||||
@${FIND} ${PYTHON_SITELIBDIR}/cypack -type d | ${SORT} -r | \
|
|
||||||
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
|
||||||
@${MKDIR} ${DOCSDIR}
|
|
||||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user