mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +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
|
||||
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}/,@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>
|
||||
|
Loading…
Reference in New Issue
Block a user