Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2009 03:00:11 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/134278: Update port: audio/mp3plot to 0.5.1
Message-ID:  <20090507030011.c3382402.tkato432@yahoo.com>
Resent-Message-ID: <200905061810.n46IA2u8023068@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134278
>Category:       ports
>Synopsis:       Update port: audio/mp3plot to 0.5.1
>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 May 06 18:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090507030011.c3382402.tkato432>