1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Move LICENSE upwards

- Convert to new options helper
- Cosmetic change
- Remove Author line
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-07-12 18:25:15 +00:00
parent 49d10a164b
commit 4976906e3a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361632
2 changed files with 12 additions and 25 deletions

View File

@ -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 <bsd.port.options.mk>
.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>

View File

@ -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/