blob: db784824530053707d433905de26ed0e0e573dd4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= mp3plot
DISTVERSION= 0.6.0
PORTREVISION= 19
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: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:graphics/gd
IMAGEMAGICK_CONFIGURE_ENABLE= magick
IMAGEMAGICK_LIB_DEPENDS=libMagick++-6.so:graphics/ImageMagick
BROKEN_powerpc64= Does not build on powerpc64
post-patch:
@${REINPLACE_CMD} -e '/bldtype_/s|-O2||g; s|^extra_LD.*||g' ${WRKSRC}/configure
.include <bsd.port.mk>
|