From 80217fba0a37354cd021ef9f6e92223b768d9127 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 4 Apr 2014 22:46:03 +0000 Subject: [PATCH] Support stage --- audio/py-pyliblo/Makefile | 18 +++++------------- audio/py-pyliblo/pkg-plist | 2 ++ 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/audio/py-pyliblo/Makefile b/audio/py-pyliblo/Makefile index 07d0439f3660..e008a1fb6638 100644 --- a/audio/py-pyliblo/Makefile +++ b/audio/py-pyliblo/Makefile @@ -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 - 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 diff --git a/audio/py-pyliblo/pkg-plist b/audio/py-pyliblo/pkg-plist index fbff77979096..b1941836e3b8 100644 --- a/audio/py-pyliblo/pkg-plist +++ b/audio/py-pyliblo/pkg-plist @@ -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