diff options
author | pawel <pawel@FreeBSD.org> | 2014-03-14 01:48:16 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-03-14 01:48:16 +0800 |
commit | 30b5531264881a26dc6eaac6fe3db8444f25e7a2 (patch) | |
tree | f94e6f111fff0daf650d5eec9b8a4adcfe79319c /audio | |
parent | 2e405b9faf082d5d6bc61ff6b275327b6893b56a (diff) | |
download | freebsd-ports-gnome-30b5531264881a26dc6eaac6fe3db8444f25e7a2.tar.gz freebsd-ports-gnome-30b5531264881a26dc6eaac6fe3db8444f25e7a2.tar.zst freebsd-ports-gnome-30b5531264881a26dc6eaac6fe3db8444f25e7a2.zip |
- Add staging support
- Strip plugin binary
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gkrellmss2/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/audio/gkrellmss2/Makefile b/audio/gkrellmss2/Makefile index cb9e6b9c533d..a85db4940bae 100644 --- a/audio/gkrellmss2/Makefile +++ b/audio/gkrellmss2/Makefile @@ -3,7 +3,7 @@ PORTNAME= gkrellmss PORTVERSION= 2.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= http://members.dslextreme.com/users/billw/gkrellmss/ @@ -17,7 +17,6 @@ LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 USES= gmake -NO_STAGE= yes USE_XORG= x11 USE_GNOME= esound gtk20 MAKE_ENV= LOCALEDIR="${PREFIX}/share/locale" @@ -28,8 +27,6 @@ PLIST_FILES= libexec/gkrellm2/plugins/gkrellmss.so \ OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e 's|= -O2|=|g ; \ s|= gcc|+=|g' ${WRKSRC}/src/Makefile @@ -37,13 +34,13 @@ post-patch: s|-lfftw3|-L${LOCALBASE}/lib &|g' ${WRKSRC}/src/configure do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins + @${STRIP_CMD} ${WRKSRC}/src/gkrellmss.so ${INSTALL_DATA} ${WRKSRC}/src/gkrellmss.so \ - ${PREFIX}/libexec/gkrellm2/plugins/gkrellmss.so + ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins/gkrellmss.so ${INSTALL_DATA} ${WRKSRC}/po/ru.mo \ - ${PREFIX}/share/locale/ru/LC_MESSAGES/gkrellm-gkrellmss.mo -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + ${STAGEDIR}${PREFIX}/share/locale/ru/LC_MESSAGES/gkrellm-gkrellmss.mo + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |