1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/audio/mp3plot/Makefile
Sunpoet Po-Chuan Hsieh 4976906e3a - Move LICENSE upwards
- Convert to new options helper
- Cosmetic change
- Remove Author line
2014-07-12 18:25:15 +00:00

37 lines
946 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= mp3plot
DISTVERSION= 0.6.0
PORTREVISION= 11
CATEGORIES= audio
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
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
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; s|^extra_LD.*||g' ${WRKSRC}/configure
.include <bsd.port.mk>