aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-05 06:46:03 +0800
committerbapt <bapt@FreeBSD.org>2014-04-05 06:46:03 +0800
commite2108f6a3b0d61ea63538759dbe3a70b8fe5d451 (patch)
tree308a64062087abf621a159624c228583f6be94d4 /audio
parentceb5643700d8958ab38d2e6e2eb5251bc1cd0a0f (diff)
downloadfreebsd-ports-gnome-e2108f6a3b0d61ea63538759dbe3a70b8fe5d451.tar.gz
freebsd-ports-gnome-e2108f6a3b0d61ea63538759dbe3a70b8fe5d451.tar.zst
freebsd-ports-gnome-e2108f6a3b0d61ea63538759dbe3a70b8fe5d451.zip
Support stage
Diffstat (limited to 'audio')
-rw-r--r--audio/py-pyliblo/Makefile18
-rw-r--r--audio/py-pyliblo/pkg-plist2
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 <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>
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