mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +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
|
PORTNAME= gkrellmss
|
||||||
PORTVERSION= 2.7
|
PORTVERSION= 2.7
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= audio
|
CATEGORIES= audio
|
||||||
MASTER_SITES= http://members.dslextreme.com/users/billw/gkrellmss/
|
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
|
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
|
||||||
|
|
||||||
USES= gmake
|
USES= gmake
|
||||||
NO_STAGE= yes
|
|
||||||
USE_XORG= x11
|
USE_XORG= x11
|
||||||
USE_GNOME= esound gtk20
|
USE_GNOME= esound gtk20
|
||||||
MAKE_ENV= LOCALEDIR="${PREFIX}/share/locale"
|
MAKE_ENV= LOCALEDIR="${PREFIX}/share/locale"
|
||||||
@ -28,8 +27,6 @@ PLIST_FILES= libexec/gkrellm2/plugins/gkrellmss.so \
|
|||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|= -O2|=|g ; \
|
@${REINPLACE_CMD} -e 's|= -O2|=|g ; \
|
||||||
s|= gcc|+=|g' ${WRKSRC}/src/Makefile
|
s|= gcc|+=|g' ${WRKSRC}/src/Makefile
|
||||||
@ -37,13 +34,13 @@ post-patch:
|
|||||||
s|-lfftw3|-L${LOCALBASE}/lib &|g' ${WRKSRC}/src/configure
|
s|-lfftw3|-L${LOCALBASE}/lib &|g' ${WRKSRC}/src/configure
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
|
||||||
|
@${STRIP_CMD} ${WRKSRC}/src/gkrellmss.so
|
||||||
${INSTALL_DATA} ${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 \
|
${INSTALL_DATA} ${WRKSRC}/po/ru.mo \
|
||||||
${PREFIX}/share/locale/ru/LC_MESSAGES/gkrellm-gkrellmss.mo
|
${STAGEDIR}${PREFIX}/share/locale/ru/LC_MESSAGES/gkrellm-gkrellmss.mo
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user