svn commit: r361632 - head/audio/mp3plot
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Jul 12 18:25:16 UTC 2014
Author: sunpoet
Date: Sat Jul 12 18:25:15 2014
New Revision: 361632
URL: http://svnweb.freebsd.org/changeset/ports/361632
QAT: https://qat.redports.org/buildarchive/r361632/
Log:
- Move LICENSE upwards
- Convert to new options helper
- Cosmetic change
- Remove Author line
Modified:
head/audio/mp3plot/Makefile
head/audio/mp3plot/pkg-descr
Modified: head/audio/mp3plot/Makefile
==============================================================================
--- head/audio/mp3plot/Makefile Sat Jul 12 18:03:24 2014 (r361631)
+++ head/audio/mp3plot/Makefile Sat Jul 12 18:25:15 2014 (r361632)
@@ -10,39 +10,27 @@ MASTER_SITES= http://p.outlyer.net/mp3pl
MAINTAINER= ports at 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
+OPTIONS_DEFAULT=GD
-LICENSE= GPLv2
-
-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>
+PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-.if ${PORT_OPTIONS:MGD}
-LIB_DEPENDS+= libgd.so:${PORTSDIR}/graphics/gd
-.else
-CONFIGURE_ARGS+= --disable-gd
-.endif
-
-.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>
Modified: head/audio/mp3plot/pkg-descr
==============================================================================
--- head/audio/mp3plot/pkg-descr Sat Jul 12 18:03:24 2014 (r361631)
+++ head/audio/mp3plot/pkg-descr Sat Jul 12 18:25:15 2014 (r361632)
@@ -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/
More information about the svn-ports-all
mailing list