aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-05-31 00:53:07 +0800
committerijliao <ijliao@FreeBSD.org>2002-05-31 00:53:07 +0800
commita9ee499e6059a463ab5026bab12ca92e091725d9 (patch)
tree5b29b07be4e7886b8b82f38d33258d2965193ac0
parent8183ffa147981c94587f7990e02f2dc3495344ab (diff)
downloadfreebsd-ports-gnome-a9ee499e6059a463ab5026bab12ca92e091725d9.tar.gz
freebsd-ports-gnome-a9ee499e6059a463ab5026bab12ca92e091725d9.tar.zst
freebsd-ports-gnome-a9ee499e6059a463ab5026bab12ca92e091725d9.zip
add cmt 1.12
The Computer Music Toolkit (CMT) is a collection of LADSPA plugins PR: 37970 Submitted by: Tilman Linneweh <tilman@arved.de>
-rw-r--r--audio/Makefile1
-rw-r--r--audio/cmt/Makefile42
-rw-r--r--audio/cmt/distinfo1
-rw-r--r--audio/cmt/files/patch-makefile22
-rw-r--r--audio/cmt/pkg-comment1
-rw-r--r--audio/cmt/pkg-descr8
-rw-r--r--audio/cmt/pkg-plist1
7 files changed, 76 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 133e92f22b58..59d83abd8865 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -30,6 +30,7 @@
SUBDIR += cheesetracker
SUBDIR += chordpack
SUBDIR += cmp3
+ SUBDIR += cmt
SUBDIR += cplay
SUBDIR += csound
SUBDIR += csound-manual
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>
diff --git a/audio/cmt/distinfo b/audio/cmt/distinfo
new file mode 100644
index 000000000000..c7871c314a21
--- /dev/null
+++ b/audio/cmt/distinfo
@@ -0,0 +1 @@
+MD5 (cmt_src.tgz) = 21c6cbf2a755f9c8a6470b395e9a2792
diff --git a/audio/cmt/files/patch-makefile b/audio/cmt/files/patch-makefile
new file mode 100644
index 000000000000..6a7f997c68a9
--- /dev/null
+++ b/audio/cmt/files/patch-makefile
@@ -0,0 +1,22 @@
+--- makefile.orig Tue Sep 18 00:15:28 2001
++++ makefile Sun May 12 00:46:39 2002
+@@ -12,9 +12,7 @@
+ # GENERAL
+ #
+
+-INCLUDES = -I/usr/local/include/
+-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
+-CXXFLAGS = $(CFLAGS)
++CXXFLAGS += -I/usr/local/include/
+ PLUGIN_LIB = ../plugins/cmt.so
+
+ ###############################################################################
+@@ -61,7 +59,7 @@
+ targets: $(PLUGIN_LIB)
+
+ $(PLUGIN_LIB): $(PLUGIN_OBJECTS)
+- $(CXX) -shared \
++ $(CXX) ${CXXFLAGS} -shared \
+ -o $(PLUGIN_LIB) \
+ $(PLUGIN_OBJECTS)
+
diff --git a/audio/cmt/pkg-comment b/audio/cmt/pkg-comment
new file mode 100644
index 000000000000..1fdcbb46d2bb
--- /dev/null
+++ b/audio/cmt/pkg-comment
@@ -0,0 +1 @@
+The Computer Music Toolkit (CMT) is a collection of LADSPA plugins
diff --git a/audio/cmt/pkg-descr b/audio/cmt/pkg-descr
new file mode 100644
index 000000000000..dc15c25dafe8
--- /dev/null
+++ b/audio/cmt/pkg-descr
@@ -0,0 +1,8 @@
+The Computer Music Toolkit (CMT) is a collection of LADSPA plugins for
+use with software synthesis and recording packages
+
+Author: Richard W.E. Furseb <richard@muse.demon.co.uk>
+WWW: http://www.ladspa.org/cmt
+
+- Tilman Linneweh
+freebsdports@arved.de
diff --git a/audio/cmt/pkg-plist b/audio/cmt/pkg-plist
new file mode 100644
index 000000000000..b6005eda1fb9
--- /dev/null
+++ b/audio/cmt/pkg-plist
@@ -0,0 +1 @@
+lib/ladspa/cmt.so