aboutsummaryrefslogtreecommitdiffstats
path: root/audio/tap-plugins/Makefile
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-13 06:11:35 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-13 06:11:35 +0800
commitfeefd9d4620bc912f9142295643745e9fe79da98 (patch)
tree8664338b5fd5b555523c5942d839c1f0b8e45a09 /audio/tap-plugins/Makefile
parent32bdeab5029848c9b00627e59da17f34788f8ebd (diff)
downloadfreebsd-ports-gnome-feefd9d4620bc912f9142295643745e9fe79da98.tar.gz
freebsd-ports-gnome-feefd9d4620bc912f9142295643745e9fe79da98.tar.zst
freebsd-ports-gnome-feefd9d4620bc912f9142295643745e9fe79da98.zip
- Strip shared objects
- Support staging
Diffstat (limited to 'audio/tap-plugins/Makefile')
-rw-r--r--audio/tap-plugins/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/audio/tap-plugins/Makefile b/audio/tap-plugins/Makefile
index 9e0572ac2b0e..6cf8b01e6654 100644
--- a/audio/tap-plugins/Makefile
+++ b/audio/tap-plugins/Makefile
@@ -11,7 +11,6 @@ COMMENT= LADSPA Plugins by Tom Szilagy
LICENSE= GPLv2
-NO_STAGE= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I. -c -fPIC -DPIC" \
LDFLAGS="-nostartfiles -shared -Wl,-Bsymbolic -lm"
@@ -20,9 +19,11 @@ post-patch:
's|<stdint\.h>|<inttypes.h>|g'
do-install:
- ${MKDIR} ${PREFIX}/lib/ladspa
- ${INSTALL_DATA} ${WRKSRC}/*.so ${PREFIX}/lib/ladspa/
- ${MKDIR} ${PREFIX}/share/ladspa/rdf/
- ${INSTALL_DATA} ${WRKSRC}/tap-plugins.rdf ${PREFIX}/share/ladspa/rdf/
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/ladspa
+ ${INSTALL_DATA} ${WRKSRC}/*.so ${STAGEDIR}${PREFIX}/lib/ladspa/
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ladspa/*.so
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/ladspa/rdf/
+ ${INSTALL_DATA} ${WRKSRC}/tap-plugins.rdf \
+ ${STAGEDIR}${PREFIX}/share/ladspa/rdf/
.include <bsd.port.mk>