From tkato432@yahoo.com  Wed Dec 12 18:21:02 2007
Return-Path: <tkato432@yahoo.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DE97F16A41A
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 12 Dec 2007 18:20:40 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa101lp.auone-net.jp (msa101lp.auone-net.jp [222.3.140.164])
	by mx1.freebsd.org (Postfix) with ESMTP id 925BF13C4D1
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 12 Dec 2007 18:20:40 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa101lp.auone-net.jp (MSA101lp [172.27.12.179])
	by msa101lp.auone-net.jp (au one net msa) with ESMTP id A82CC2E0223
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 13 Dec 2007 03:02:42 +0900 (JST)
Received: from localhost.localdomain (ZT066221.ppp.dion.ne.jp [59.128.66.221])
	by msa101lp.auone-net.jp (au one net msa) with ESMTP id 7658534034
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 13 Dec 2007 03:02:37 +0900 (JST)
Message-Id: <20071213030007.817801f4.tkato432@yahoo.com>
Date: Thu, 13 Dec 2007 03:00:07 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: audio/cmt to 1.16

>Number:         118590
>Category:       ports
>Synopsis:       Update port: audio/cmt to 1.16
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 12 18:30:03 UTC 2007
>Closed-Date:    Fri Dec 14 17:05:11 UTC 2007
>Last-Modified:  Fri Dec 14 17:10:06 UTC 2007
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Wed Dec 12 22:28:42 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118590 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Dec 14 17:05:10 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118590 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/118590: commit references a PR
Date: Fri, 14 Dec 2007 17:05:11 +0000 (UTC)

 miwi        2007-12-14 17:05:03 UTC
 
   FreeBSD ports repository
 
   Modified files:
     audio/cmt            Makefile distinfo 
   Removed files:
     audio/cmt/files      patch-makefile 
   Log:
   - Update to 1.16
   
   PR:             118590
   Submitted by:   KATO Tsuguru <tkato432@yahoo.com>
   
   Revision  Changes    Path
   1.12      +14 -11    ports/audio/cmt/Makefile
   1.6       +3 -3      ports/audio/cmt/distinfo
   1.5       +0 -22     ports/audio/cmt/files/patch-makefile (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
