summaryrefslogtreecommitdiff
path: root/audio/mp3plot
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-07-12 18:25:15 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-07-12 18:25:15 +0000
commit4976906e3abec82474898abdfd3521025200d230 (patch)
tree88a4ce511e04e887ea269c0c405e52c07ccd0a4b /audio/mp3plot
parent- Fix build with MUSEPACK knob. (diff)
- Move LICENSE upwards
- Convert to new options helper - Cosmetic change - Remove Author line
Notes
Notes: svn path=/head/; revision=361632
Diffstat (limited to 'audio/mp3plot')
-rw-r--r--audio/mp3plot/Makefile34
-rw-r--r--audio/mp3plot/pkg-descr1
2 files changed, 11 insertions, 24 deletions
diff --git a/audio/mp3plot/Makefile b/audio/mp3plot/Makefile
index f7c969750c33..2ce75b8cab68 100644
--- a/audio/mp3plot/Makefile
+++ b/audio/mp3plot/Makefile
@@ -10,39 +10,27 @@ MASTER_SITES= http://p.outlyer.net/mp3plot/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Mp3 bitrate plot tool
+LICENSE= GPLv2
+
LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs
OPTIONS_DEFINE= GD IMAGEMAGICK
-OPTIONS_DEFAULT= GD
-
-LICENSE= GPLv2
+OPTIONS_DEFAULT=GD
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-boost-program-options=boost_program_options \
+CONFIGURE_ARGS= --with-boost-program-options=boost_program_options \
--with-boost-thread=boost_thread
-
-PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-
CPPFLAGS+= -I${LOCALBASE}/include
+GNU_CONFIGURE= yes
LIBS+= -L${LOCALBASE}/lib -lboost_system
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGD}
-LIB_DEPENDS+= libgd.so:${PORTSDIR}/graphics/gd
-.else
-CONFIGURE_ARGS+= --disable-gd
-.endif
+PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-.if ${PORT_OPTIONS:MIMAGEMAGICK}
-LIB_DEPENDS+= libMagick++-6.Q*.so:${PORTSDIR}/graphics/ImageMagick
-.else
-CONFIGURE_ARGS+= --disable-magick
-.endif
+GD_CONFIGURE_ENABLE= gd
+GD_LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
+IMAGEMAGICK_CONFIGURE_ENABLE= magick
+IMAGEMAGICK_LIB_DEPENDS=libMagick++-6.Q*.so:${PORTSDIR}/graphics/ImageMagick
post-patch:
- @${REINPLACE_CMD} -e '/bldtype_/s|-O2||g' \
- -e 's|^extra_LD.*||g' \
- ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/bldtype_/s|-O2||g; s|^extra_LD.*||g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/audio/mp3plot/pkg-descr b/audio/mp3plot/pkg-descr
index 85f9a4c2f621..0bf079e2ce38 100644
--- a/audio/mp3plot/pkg-descr
+++ b/audio/mp3plot/pkg-descr
@@ -1,5 +1,4 @@
mp3plot prints out a plot of the bitrate distribution of a VBR MP3 file
(it will also do it for CBR files although it isn't very meaningful).
-Author: Toni Corvera < outlyer at gmail dot com >
WWW: http://p.outlyer.net/mp3plot/