Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2002 01:38:23 +0200 (CEST)
From:      Tilman Linneweh <tilman@arved.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tilman@arved.de
Subject:   ports/37970: New Port audio/cmt
Message-ID:  <200205112338.g4BNcNL73693@sauna.arved.de>

next in thread | raw e-mail | index | archive | help

>Number:         37970
>Category:       ports
>Synopsis:       New Port audio/cmt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 11 16:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tilman Linneweh
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
BSD Usergroup Austria
>Environment:
System: FreeBSD sauna.arved.de 4.5-STABLE FreeBSD 4.5-STABLE #2: Tue Feb 19 15:30:21 CET 2002 root@sauna.arved.de:/usr/obj/usr/src/sys/SAUNA i386


	
>Description:
The Computer Music Toolkit (CMT) is a collection of LADSPA plugins for use with software
synthesis and recording packages
	
>How-To-Repeat:
	
>Fix:

	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       cmt
#       cmt/pkg-descr
#       cmt/pkg-comment
#       cmt/pkg-plist
#       cmt/Makefile
#       cmt/files
#       cmt/files/patch-makefile
#       cmt/distinfo
#
echo c - cmt
mkdir -p cmt > /dev/null 2>&1
echo x - cmt/pkg-descr
sed 's/^X//' >cmt/pkg-descr << 'END-of-cmt/pkg-descr'
XThe Computer Music Toolkit (CMT) is a collection of LADSPA plugins for
Xuse with software synthesis and recording packages
X
XAuthor: Richard W.E. Furseb <richard@muse.demon.co.uk>
XWWW: http://www.ladspa.org/cmt
X
X- Tilman Linneweh
Xfreebsdports@arved.de
END-of-cmt/pkg-descr
echo x - cmt/pkg-comment
sed 's/^X//' >cmt/pkg-comment << 'END-of-cmt/pkg-comment'
XThe Computer Music Toolkit (CMT) is a collection of LADSPA plugins
END-of-cmt/pkg-comment
echo x - cmt/pkg-plist
sed 's/^X//' >cmt/pkg-plist << 'END-of-cmt/pkg-plist'
Xlib/ladspa/cmt.so
END-of-cmt/pkg-plist
echo x - cmt/Makefile
sed 's/^X//' >cmt/Makefile << 'END-of-cmt/Makefile'
X# New ports collection Makefile for:   cmt
X# Date created:                        11 May 2002
X# Whom:                                Tilman Linneweh <freebsdports@arved.de
X#
X# $FreeBSD$
X
XPORTNAME=      cmt
XPORTVERSION=   1.12
XCATEGORIES=    audio
XMASTER_SITES=  http://www.ladspa.org/download/
XDISTNAME=      ${PORTNAME}_src
XEXTRACT_SUFX=  .tgz
X
XMAINTAINER=    freebsdports@arved.de
X
XBUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
X
XUSE_GMAKE=     yes
XINSTALLS_SHLIB=        yes
XWRKSRC=                ${WRKDIR}/${PORTNAME}/src
XMAKEFILE=      makefile
XALL_TARGET=    targets
X
Xpost-patch:
X       @find ${WRKSRC} -name '*.cpp' | xargs ${PERL} -pi -e \
X               's|<malloc.h>|<stdlib.h>|g'
X
X.for i in ${WRKSRC}/analogue.cpp \
X       ${WRKSRC}/canyondelay.cpp \
X       ${WRKSRC}/lofi.cpp \
X       ${WRKSRC}/phasemod.cpp \
X       ${WRKSRC}/syndrum.cpp \
X       ${WRKSRC}/vcf303.cpp
X       ${MV} ${WRKDIR}/$i ${WRKDIR}/$i.sed
X       ${SED} -e "s:malloc.h:stdlib.h:g" \
X               ${WRKDIR}/$i.sed >${WRKDIR}/$i
X       ${RM} ${WRKDIR}/$i.sed
X.endfor
X
Xdo-install:
X       @${INSTALL_DATA} ${WRKSRC}/../plugins/cmt.so ${LOCALBASE}/lib/ladspa/
X
X.include <bsd.port.mk>
END-of-cmt/Makefile
echo c - cmt/files
mkdir -p cmt/files > /dev/null 2>&1
echo x - cmt/files/patch-makefile
sed 's/^X//' >cmt/files/patch-makefile << 'END-of-cmt/files/patch-makefile'
X--- makefile.orig      Tue Sep 18 00:15:28 2001
X+++ makefile   Sun May 12 00:46:39 2002
X@@ -12,9 +12,7 @@
X # GENERAL
X #
X
X-INCLUDES      =       -I/usr/local/include/
X-CFLAGS                =       $(INCLUDES) -Wall -Werror -O3 -fPIC
X-CXXFLAGS      =       $(CFLAGS)
X+CXXFLAGS              +=      -I/usr/local/include/
X PLUGIN_LIB    =       ../plugins/cmt.so
X
X ###############################################################################
X@@ -61,7 +59,7 @@
X targets:      $(PLUGIN_LIB)
X
X $(PLUGIN_LIB):        $(PLUGIN_OBJECTS)
X-      $(CXX)  -shared                                                 \
X+      $(CXX) ${CXXFLAGS} -shared                                      \
X               -o $(PLUGIN_LIB)                                        \
X               $(PLUGIN_OBJECTS)
X
END-of-cmt/files/patch-makefile
echo x - cmt/distinfo
sed 's/^X//' >cmt/distinfo << 'END-of-cmt/distinfo'
XMD5 (cmt_src.tgz) = 21c6cbf2a755f9c8a6470b395e9a2792
END-of-cmt/distinfo
exit


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205112338.g4BNcNL73693>