From 4976906e3abec82474898abdfd3521025200d230 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 12 Jul 2014 18:25:15 +0000 Subject: [PATCH] - Move LICENSE upwards - Convert to new options helper - Cosmetic change - Remove Author line --- audio/mp3plot/Makefile | 36 ++++++++++++------------------------ audio/mp3plot/pkg-descr | 1 - 2 files changed, 12 insertions(+), 25 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 +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 +CPPFLAGS+= -I${LOCALBASE}/include +GNU_CONFIGURE= yes +LIBS+= -L${LOCALBASE}/lib -lboost_system PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -lboost_system - -.include - -.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 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/