diff options
author | miwi <miwi@FreeBSD.org> | 2007-12-15 01:05:03 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-12-15 01:05:03 +0800 |
commit | 6262efdc3ad629bdd5b3dbec6af2d2c66b848742 (patch) | |
tree | 85fa5c047f8a230b9317bcb7d691ba7984ae774b /audio | |
parent | 9085c40582308e73d788fb42514d4600809e8cac (diff) | |
download | freebsd-ports-gnome-6262efdc3ad629bdd5b3dbec6af2d2c66b848742.tar.gz freebsd-ports-gnome-6262efdc3ad629bdd5b3dbec6af2d2c66b848742.tar.zst freebsd-ports-gnome-6262efdc3ad629bdd5b3dbec6af2d2c66b848742.zip |
- Update to 1.16
PR: 118590
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cmt/Makefile | 25 | ||||
-rw-r--r-- | audio/cmt/distinfo | 6 | ||||
-rw-r--r-- | audio/cmt/files/patch-makefile | 22 |
3 files changed, 17 insertions, 36 deletions
diff --git a/audio/cmt/Makefile b/audio/cmt/Makefile index dca2778de56b..30712995b365 100644 --- a/audio/cmt/Makefile +++ b/audio/cmt/Makefile @@ -5,31 +5,34 @@ # $FreeBSD$ PORTNAME= cmt -PORTVERSION= 1.15 -PORTREVISION= 1 +PORTVERSION= 1.16 CATEGORIES= audio MASTER_SITES= http://www.ladspa.org/download/ DISTNAME= ${PORTNAME}_src_${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -COMMENT= The Computer Music Toolkit (CMT) is a collection of LADSPA plugins +COMMENT= The Computer Music Toolkit - a collection of LADSPA plugins BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa +RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa + +WRKSRC= ${WRKDIR}/${PORTNAME} +BUILD_WRKSRC= ${WRKDIR}/${PORTNAME}/src -WRKSRC= ${WRKDIR}/cmt USE_GMAKE= yes -USE_LDCONFIG= yes +MAKEFILE= makefile +MAKE_ARGS= CXX="${CXX}" \ + CXXFLAGS="${CXXFLAGS} -fPIC -I${LOCALBASE}/include" +ALL_TARGET= targets + PLIST_FILES= lib/ladspa/cmt.so -pre-patch: - @${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} \ +post-patch: + @${FIND} ${BUILD_WRKSRC} -name '*.cpp' | ${XARGS} \ ${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g" -do-build: - cd ${WRKSRC}/src; ${GMAKE} -f makefile targets - do-install: - @${INSTALL_DATA} ${WRKSRC}/plugins/cmt.so ${LOCALBASE}/lib/ladspa/ + ${INSTALL_DATA} ${WRKSRC}/plugins/cmt.so ${PREFIX}/lib/ladspa/ .include <bsd.port.mk> diff --git a/audio/cmt/distinfo b/audio/cmt/distinfo index 6ac2299970c1..1939a554f249 100644 --- a/audio/cmt/distinfo +++ b/audio/cmt/distinfo @@ -1,3 +1,3 @@ -MD5 (cmt_src_1.15.tgz) = aa2f0609aca8b698625d86170c426e2c -SHA256 (cmt_src_1.15.tgz) = 0b814938040c7403dd24367b1dbbf0b0db7ac11df7447129e9c1b7f33890b1e9 -SIZE (cmt_src_1.15.tgz) = 61522 +MD5 (cmt_src_1.16.tgz) = 15a875e5aaf79c209c223babfb41cb1c +SHA256 (cmt_src_1.16.tgz) = 512a1d7e698b9e0e7c692202c29f4bd70846d52241ec254e1a324abaef405635 +SIZE (cmt_src_1.16.tgz) = 63909 diff --git a/audio/cmt/files/patch-makefile b/audio/cmt/files/patch-makefile deleted file mode 100644 index c302c5df7e1a..000000000000 --- a/audio/cmt/files/patch-makefile +++ /dev/null @@ -1,22 +0,0 @@ ---- src/makefile.orig Sat May 18 20:27:15 2002 -+++ src/makefile Thu Aug 22 12:07:51 2002 -@@ -13,8 +13,8 @@ - # - - INCLUDES = -I/usr/local/include/ --CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC --CXXFLAGS = $(CFLAGS) -+CFLAGS += $(INCLUDES) -Wall -Werror -fPIC -+CXXFLAGS += $(CFLAGS) - PLUGIN_LIB = ../plugins/cmt.so - - ############################################################################### -@@ -61,7 +61,7 @@ - targets: $(PLUGIN_LIB) - - $(PLUGIN_LIB): $(PLUGIN_OBJECTS) -- $(CXX) -shared \ -+ $(CXX) ${CXXFLAGS} -shared \ - -o $(PLUGIN_LIB) \ - $(PLUGIN_OBJECTS) - |