mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
e88cc5c043
- Support staging
30 lines
803 B
Makefile
30 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>
|