ports/134278: Update port: audio/mp3plot to 0.5.1
KATO Tsuguru
tkato432 at yahoo.com
Wed May 6 18:10:02 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list