aboutsummaryrefslogtreecommitdiffstats
path: root/audio/tap-plugins/Makefile
blob: 92e922970b3ea37a73d362aa77a4015583469555 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# New ports collection Makefile for:    tap-plugins
# Date created:             2004-05-19
# Whom:                 arved
#
# $FreeBSD$

PORTNAME=   tap-plugins
PORTVERSION=    0.7.0
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tap-plugins

MAINTAINER= ports@FreeBSD.org
COMMENT=    LADSPA Plugins by Tom Szilagy

USE_REINPLACE=  yes
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} ${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/

.include <bsd.port.mk>