1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

add cmt 1.12

The Computer Music Toolkit (CMT) is a collection of LADSPA plugins

PR:		37970
Submitted by:	Tilman Linneweh <tilman@arved.de>
This commit is contained in:
Ying-Chieh Liao 2002-05-30 16:53:07 +00:00
parent 97f54f04dc
commit 6bdcaa3ef5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60300
7 changed files with 76 additions and 0 deletions

View File

@ -30,6 +30,7 @@
SUBDIR += cheesetracker
SUBDIR += chordpack
SUBDIR += cmp3
SUBDIR += cmt
SUBDIR += cplay
SUBDIR += csound
SUBDIR += csound-manual

42
audio/cmt/Makefile Normal file
View File

@ -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>

1
audio/cmt/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (cmt_src.tgz) = 21c6cbf2a755f9c8a6470b395e9a2792

View File

@ -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)

1
audio/cmt/pkg-comment Normal file
View File

@ -0,0 +1 @@
The Computer Music Toolkit (CMT) is a collection of LADSPA plugins

8
audio/cmt/pkg-descr Normal file
View File

@ -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

1
audio/cmt/pkg-plist Normal file
View File

@ -0,0 +1 @@
lib/ladspa/cmt.so