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 - 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