aboutsummaryrefslogtreecommitdiff
path: root/audio/gkrellmss2
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-03-13 17:48:16 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-03-13 17:48:16 +0000
commitc2741d277cc71f0eef63fe7da260b2b46ab7e63d (patch)
treef94e6f111fff0daf650d5eec9b8a4adcfe79319c /audio/gkrellmss2
parent63e7cd1562c8063ec24dcf0805d57846676be947 (diff)
downloadports-c2741d277cc71f0eef63fe7da260b2b46ab7e63d.tar.gz
ports-c2741d277cc71f0eef63fe7da260b2b46ab7e63d.zip
Notes
Diffstat (limited to 'audio/gkrellmss2')
-rw-r--r--audio/gkrellmss2/Makefile17
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>