diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-16 18:17:24 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-16 18:17:24 +0000 |
commit | caa508348d125f4a67ded225335c4dd5536a2215 (patch) | |
tree | 80ca53e27fed7aebc77b88a893e8480a8f0119ce /audio/cmt/Makefile | |
parent | 89d9c9a5f8823873a83046e04a507dde5d20577b (diff) | |
download | ports-caa508348d125f4a67ded225335c4dd5536a2215.tar.gz ports-caa508348d125f4a67ded225335c4dd5536a2215.zip |
Notes
Diffstat (limited to 'audio/cmt/Makefile')
-rw-r--r-- | audio/cmt/Makefile | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/audio/cmt/Makefile b/audio/cmt/Makefile index 217e7908e7fe..4f23a1ac62e6 100644 --- a/audio/cmt/Makefile +++ b/audio/cmt/Makefile @@ -6,6 +6,7 @@ PORTNAME= cmt PORTVERSION= 1.12 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://www.ladspa.org/download/ DISTNAME= ${PORTNAME}_src @@ -20,21 +21,9 @@ 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 +pre-patch: + @${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} \ + ${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g" do-install: @${INSTALL_DATA} ${WRKSRC}/../plugins/cmt.so ${LOCALBASE}/lib/ladspa/ |