aboutsummaryrefslogtreecommitdiff
path: root/audio/cmt/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-30 16:53:07 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-30 16:53:07 +0000
commit6bdcaa3ef5ed7875a8eb564471f4493557b63e20 (patch)
tree5e5caa895a575620dc863547735b890df57d0e57 /audio/cmt/Makefile
parent97f54f04dc434ae6665ac329cb59ea170c926986 (diff)
Notes
Diffstat (limited to 'audio/cmt/Makefile')
-rw-r--r--audio/cmt/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/audio/cmt/Makefile b/audio/cmt/Makefile
new file mode 100644
index 000000000000..217e7908e7fe
--- /dev/null
+++ b/audio/cmt/Makefile
@@ -0,0 +1,42 @@
+# New ports collection Makefile for: cmt
+# Date created: 11 May 2002
+# Whom: Tilman Linneweh <freebsdports@arved.de
+#
+# $FreeBSD$
+
+PORTNAME= cmt
+PORTVERSION= 1.12
+CATEGORIES= audio
+MASTER_SITES= http://www.ladspa.org/download/
+DISTNAME= ${PORTNAME}_src
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= freebsdports@arved.de
+
+BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+
+USE_GMAKE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}/src
+MAKEFILE= makefile
+ALL_TARGET= targets
+
+post-patch:
+ @${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} ${PERL} -pi -e \
+ 's|<malloc.h>|<stdlib.h>|g'
+
+.for i in ${WRKSRC}/analogue.cpp \
+ ${WRKSRC}/canyondelay.cpp \
+ ${WRKSRC}/lofi.cpp \
+ ${WRKSRC}/phasemod.cpp \
+ ${WRKSRC}/syndrum.cpp \
+ ${WRKSRC}/vcf303.cpp
+ ${MV} ${WRKDIR}/$i ${WRKDIR}/$i.sed
+ ${SED} -e "s:malloc.h:stdlib.h:g" \
+ ${WRKDIR}/$i.sed >${WRKDIR}/$i
+ ${RM} ${WRKDIR}/$i.sed
+.endfor
+
+do-install:
+ @${INSTALL_DATA} ${WRKSRC}/../plugins/cmt.so ${LOCALBASE}/lib/ladspa/
+
+.include <bsd.port.mk>