From 3978e821d8ebb558f0d37a63afcf111e48054c40 Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 31 Jul 2006 12:22:15 +0000 Subject: [PATCH] computer music toolkit, a ladspa plugins set. --- audio/cmt/Makefile | 38 ++++++++++++++++++++++++++++ audio/cmt/distinfo | 4 +++ audio/cmt/patches/patch-src_makefile | 11 ++++++++ audio/cmt/pkg/DESCR | 2 ++ audio/cmt/pkg/PLIST | 13 ++++++++++ 5 files changed, 68 insertions(+) create mode 100644 audio/cmt/Makefile create mode 100644 audio/cmt/distinfo create mode 100644 audio/cmt/patches/patch-src_makefile create mode 100644 audio/cmt/pkg/DESCR create mode 100644 audio/cmt/pkg/PLIST diff --git a/audio/cmt/Makefile b/audio/cmt/Makefile new file mode 100644 index 00000000000..c45a86829c1 --- /dev/null +++ b/audio/cmt/Makefile @@ -0,0 +1,38 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/07/31 12:22:15 espie Exp $ + +COMMENT= 'computer music toolkit' +HOMEPAGE= http://www.ladspa.org/ +CATEGORIES= audio devel + +SHARED_ONLY= Yes +DISTNAME= cmt_src_1.15 +WRKDIST= ${WRKDIR}/cmt +PKGNAME= cmt-1.15 +EXTRACT_SUFX= .tgz +MASTER_SITES= ${HOMEPAGE:=download/} + +# GPL +PERMIT_PACKAGE_FTP= Yes +PERMIT_PACKAGE_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes + +BUILD_DEPENDS= ::audio/ladspa + +WRKBUILD= ${WRKDIST}/src +MAKE_FILE= makefile +ALL_TARGET= targets +MAKE_FLAGS= CFLAGS='-I${LOCALBASE}/include -fPIC ${CFLAGS}' + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/lib/ladspa + ${INSTALL_DATA} ${WRKDIST}/plugins/cmt.so ${PREFIX}/lib/ladspa + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cmt + ${INSTALL_DATA} ${WRKDIST}/doc/*.html ${PREFIX}/share/doc/cmt + +# interactive regression test, that requires you to listen to stuff. +# -> mostly useless +NO_REGRESS= Yes + +.include + diff --git a/audio/cmt/distinfo b/audio/cmt/distinfo new file mode 100644 index 00000000000..7d27dc12704 --- /dev/null +++ b/audio/cmt/distinfo @@ -0,0 +1,4 @@ +MD5 (cmt_src_1.15.tgz) = aa2f0609aca8b698625d86170c426e2c +RMD160 (cmt_src_1.15.tgz) = fd7652fe204b63b24a9fb04688ccbabaabd1fecf +SHA1 (cmt_src_1.15.tgz) = 48d0208607c72d57efbdb8ba55695aa8819a0cc4 +SIZE (cmt_src_1.15.tgz) = 61522 diff --git a/audio/cmt/patches/patch-src_makefile b/audio/cmt/patches/patch-src_makefile new file mode 100644 index 00000000000..31da690eda4 --- /dev/null +++ b/audio/cmt/patches/patch-src_makefile @@ -0,0 +1,11 @@ +$OpenBSD: patch-src_makefile,v 1.1.1.1 2006/07/31 12:22:15 espie Exp $ +--- src/makefile.orig Mon Jul 31 14:01:59 2006 ++++ src/makefile Mon Jul 31 14:04:41 2006 +@@ -123,3 +123,7 @@ backup: clean + ############################################################################### + + ++.SUFFIXES: .o .cpp ++ ++.cpp.o: ++ ${CXX} ${CXXFLAGS} -c -o $*.o $*.cpp diff --git a/audio/cmt/pkg/DESCR b/audio/cmt/pkg/DESCR new file mode 100644 index 00000000000..765da1a3d88 --- /dev/null +++ b/audio/cmt/pkg/DESCR @@ -0,0 +1,2 @@ +The Computer Music Toolkit (CMT) is a collection of LADSPA plugins for +use with software synthesis and recording packages. diff --git a/audio/cmt/pkg/PLIST b/audio/cmt/pkg/PLIST new file mode 100644 index 00000000000..54bbb8efcd3 --- /dev/null +++ b/audio/cmt/pkg/PLIST @@ -0,0 +1,13 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/07/31 12:22:15 espie Exp $ +lib/ladspa/ +lib/ladspa/cmt.so +share/doc/cmt/ +share/doc/cmt/adding_plugins.html +share/doc/cmt/bugs.html +share/doc/cmt/changes.html +share/doc/cmt/index.html +share/doc/cmt/installation.html +share/doc/cmt/license.html +share/doc/cmt/overview.html +share/doc/cmt/plugins.html +share/doc/cmt/tasks.html