diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-30 16:53:07 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-30 16:53:07 +0000 |
commit | 6bdcaa3ef5ed7875a8eb564471f4493557b63e20 (patch) | |
tree | 5e5caa895a575620dc863547735b890df57d0e57 /audio/cmt/Makefile | |
parent | 97f54f04dc434ae6665ac329cb59ea170c926986 (diff) |
Notes
Diffstat (limited to 'audio/cmt/Makefile')
-rw-r--r-- | audio/cmt/Makefile | 42 |
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> |