From tkato432@yahoo.com  Wed May  6 18:01:22 2009
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 ACD7F1065673
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed,  6 May 2009 18:01:21 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa106lp.auone-net.jp (msa106lp.auone-net.jp [222.3.140.169])
	by mx1.freebsd.org (Postfix) with ESMTP id 801E78FC19
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed,  6 May 2009 18:01:21 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from localhost.localdomain (ZT029009.ppp.dion.ne.jp [59.128.29.9])
	by msa106lp.auone-net.jp (au one net msa) with ESMTP id 6E3FF23C031
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu,  7 May 2009 03:01:19 +0900 (JST)
Message-Id: <20090507030011.c3382402.tkato432@yahoo.com>
Date: Thu, 7 May 2009 03:00:11 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: audio/mp3plot to 0.5.1

>Number:         134278
>Category:       ports
>Synopsis:       Update port: audio/mp3plot to 0.5.1
>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 May 06 18:10:01 UTC 2009
>Closed-Date:    Wed May 13 08:47:58 UTC 2009
>Last-Modified:  Wed May 13 08:50:03 UTC 2009
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.1-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.1

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/mp3plot/Makefile audio/mp3plot/Makefile
--- /usr/ports/audio/mp3plot/Makefile	2008-09-07 14:52:58.000000000 +0900
+++ audio/mp3plot/Makefile	2009-05-05 02:57:46.000000000 +0900
@@ -6,24 +6,42 @@
 #
 
 PORTNAME=	mp3plot
-DISTVERSION=	0.4.0a
-PORTREVISION=	1
+DISTVERSION=	0.5.1
 CATEGORIES=	audio
-MASTER_SITES=	http://p.outlyer.net/mp3plot/files/ CENKES
+MASTER_SITES=	http://p.outlyer.net/mp3plot/files/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Mp3 bitrate plot tool
 
 LIB_DEPENDS=	boost_thread.4:${PORTSDIR}/devel/boost
 
+OPTIONS=	GD "Enable support for GD library" on \
+		IMAGEMAGICK "Enable support for Magick++" off
+
 GNU_CONFIGURE=	yes
-CPPFLAGS=	-I${LOCALBASE}/include
-LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+MAN1=		${PORTNAME}.1
 PLIST_FILES=	bin/${PORTNAME}
 
+CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_GD)
+CONFIGURE_ARGS+=	--disable-gd
+.else
+LIB_DEPENDS+=	gd.4:${PORTSDIR}/graphics/gd
+.endif
+
+.if defined(WITH_IMAGEMAGICK)
+LIB_DEPENDS+=	Magick++.2:${PORTSDIR}/graphics/ImageMagick
+.else
+CONFIGURE_ARGS+=	--disable-magick
+.endif
+
 post-patch:
-	@${REINPLACE_CMD} -e '/HAVE.*MAGICK=1/s|1|0|;/^#define HAVE.*MAGICK/s|1|0|;\
-		/test.*==/s|==|=|;s/-O2//' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e '/bldtype_/s|-O2||g' ${WRKSRC}/configure
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/audio/mp3plot/distinfo audio/mp3plot/distinfo
--- /usr/ports/audio/mp3plot/distinfo	2007-06-12 19:32:45.000000000 +0900
+++ audio/mp3plot/distinfo	2009-05-05 02:34:32.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (mp3plot-0.4.0a.tar.gz) = 5b1189a6e524fa9ffdf73c37505de4df
-SHA256 (mp3plot-0.4.0a.tar.gz) = 3c6e2fe90d399c300392ef81b714791591873f69508329cb957451d89c6eeddf
-SIZE (mp3plot-0.4.0a.tar.gz) = 137150
+MD5 (mp3plot-0.5.1.tar.gz) = 20d1e6b21926b9d42412eae37fe1cf91
+SHA256 (mp3plot-0.5.1.tar.gz) = d368bcdefb4e25abef93aa7c323f23311e553170392b2d88322f4812d42c7303
+SIZE (mp3plot-0.5.1.tar.gz) = 197379
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Wed May 6 18:13:51 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134278 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Sat May 9 08:32:32 UTC 2009 
State-Changed-Why:  
Howdy Kato, 

Build failed on 6.X 

http://32bit.miwibox.org/index.php?action=describe_port&id=2391 
http://64bit.miwibox.org/index.php?action=describe_port&id=2500 

- Martin 


http://www.freebsd.org/cgi/query-pr.cgi?pr=134278 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Wed May 13 08:47:57 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/134278: commit references a PR
Date: Wed, 13 May 2009 08:47:57 +0000 (UTC)

 miwi        2009-05-13 08:47:46 UTC
 
   FreeBSD ports repository
 
   Modified files:
     audio/mp3plot        Makefile distinfo 
   Added files:
     audio/mp3plot/files  patch-src__macros.h 
   Log:
   - Update to 0.5.1
   
   PR:             134278
   Submitted by:   KATO Tsuguru <tkato432@yahoo.com>
   
   Revision  Changes    Path
   1.4       +26 -8     ports/audio/mp3plot/Makefile
   1.2       +3 -3      ports/audio/mp3plot/distinfo
   1.1       +11 -0     ports/audio/mp3plot/files/patch-src__macros.h (new)
 _______________________________________________
 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:
