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