freebsd-ports/audio/tap-plugins/Makefile
Emanuel Haupt e88cc5c043 - Strip shared objects
- Support staging
2014-02-12 22:11:35 +00:00

29 lines
803 B
Makefile

# Created by: arved
# $FreeBSD$
PORTNAME= tap-plugins
PORTVERSION= 0.7.2
CATEGORIES= audio
MASTER_SITES= SF/tap-plugins/tap-plugins/${PORTVERSION}
MAINTAINER= taku@tackymt.homeip.net
COMMENT= LADSPA Plugins by Tom Szilagy
LICENSE= GPLv2
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I. -c -fPIC -DPIC" \
LDFLAGS="-nostartfiles -shared -Wl,-Bsymbolic -lm"
post-patch:
@${GREP} -lR "<stdint\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|<stdint\.h>|<inttypes.h>|g'
do-install:
${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>