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
f4d589e486
commit
80217fba0a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350178
@ -15,28 +15,20 @@ BUILD_DEPENDS= pyrex>=0.9.4:${PORTSDIR}/devel/pyrex
|
||||
LIB_DEPENDS= liblo.so:${PORTSDIR}/audio/liblo
|
||||
|
||||
USE_PYTHON= yes
|
||||
NO_STAGE= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
MAKE_ENV+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
MAN1= dump_osc.1 send_osc.1
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#g' ${WRKSRC}/setup.py
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/scripts/dump_osc.1 ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/scripts/send_osc.1 ${PREFIX}/man/man1
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/API.html ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/examples.html ${DOCSDIR}
|
||||
.endif
|
||||
${INSTALL_MAN} ${WRKSRC}/scripts/dump_osc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/scripts/send_osc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/API.html ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/examples.html ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,7 @@
|
||||
bin/dump_osc
|
||||
bin/send_osc
|
||||
man/man1/dump_osc.1.gz
|
||||
man/man1/send_osc.1.gz
|
||||
%%PYTHON_SITELIBDIR%%/liblo.so
|
||||
%%PORTDOCS%%%%DOCSDIR%%/API.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/examples.html
|
||||
|
Loading…
Reference in New Issue
Block a user