ports/118590: Update port: audio/cmt to 1.16
KATO Tsuguru
tkato432 at yahoo.com
Wed Dec 12 18:30:04 UTC 2007
>Number: 118590
>Category: ports
>Synopsis: Update port: audio/cmt to 1.16
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 12 18:30:03 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 6.2-RELEASE-p8 i386
>Organization:
>Environment:
>Description:
- Update to version 1.16
Remove file:
files/patch-makefile
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/audio/cmt/Makefile audio/cmt/Makefile
--- /usr/ports/audio/cmt/Makefile Mon Aug 14 19:08:22 2006
+++ audio/cmt/Makefile Fri Dec 7 01:50:11 2007
@@ -5,31 +5,34 @@
# $FreeBSD: ports/audio/cmt/Makefile,v 1.11 2006/08/14 10:08:22 clsung Exp $
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 at 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 -urN /usr/ports/audio/cmt/distinfo audio/cmt/distinfo
--- /usr/ports/audio/cmt/distinfo Thu Nov 24 08:29:31 2005
+++ audio/cmt/distinfo Fri Dec 7 01:40:44 2007
@@ -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 -urN /usr/ports/audio/cmt/files/patch-makefile audio/cmt/files/patch-makefile
--- /usr/ports/audio/cmt/files/patch-makefile Mon Sep 2 03:03:45 2002
+++ audio/cmt/files/patch-makefile Thu Jan 1 09:00:00 1970
@@ -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)
-
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list