mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Add staging support
- Strip plugin binary
This commit is contained in:
parent
63e7cd1562
commit
c2741d277c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348108
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user