diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-03-21 17:32:34 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-03-21 17:32:34 +0000 |
| commit | 17a19dc04e1a016d219d6892da4b45267e069a3d (patch) | |
| tree | f16cf02a99cfd14adff3dd81db12a4115df6fe18 /audio/mp3plot | |
| parent | 13816389f5a9e5555cbbbe66609f5e0ce791a425 (diff) | |
Notes
Diffstat (limited to 'audio/mp3plot')
| -rw-r--r-- | audio/mp3plot/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/audio/mp3plot/Makefile b/audio/mp3plot/Makefile index 09e2fefd1e19..ea201bfb7e5a 100644 --- a/audio/mp3plot/Makefile +++ b/audio/mp3plot/Makefile @@ -12,8 +12,8 @@ COMMENT= Mp3 bitrate plot tool LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs -OPTIONS= GD "Enable support for GD library" on \ - IMAGEMAGICK "Enable support for Magick++" off +OPTIONS_DEFINE= GD IMAGEMAGICK +OPTIONS_DEFAULT= GD LICENSE= GPLv2 @@ -28,15 +28,15 @@ PLIST_FILES= bin/${PORTNAME} CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITHOUT_GD) -CONFIGURE_ARGS+= --disable-gd -.else +.if ${PORT_OPTIONS:MGD} LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd +.else +CONFIGURE_ARGS+= --disable-gd .endif -.if defined(WITH_IMAGEMAGICK) +.if ${PORT_OPTIONS:MIMAGEMAGICK} LIB_DEPENDS+= Magick++.5:${PORTSDIR}/graphics/ImageMagick .else CONFIGURE_ARGS+= --disable-magick @@ -47,4 +47,4 @@ post-patch: -e 's|^extra_LD.*||g' \ ${WRKSRC}/configure -.include <bsd.port.post.mk> +.include <bsd.port.mk> |
