aboutsummaryrefslogtreecommitdiff
path: root/audio/p5-MIDI
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-06-14 22:45:33 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-06-14 22:45:33 +0000
commit0b35afe9829e7581b3aebc1fa32f34f61164e789 (patch)
tree772c189d5fb9cc5c890f176993caf80a67cd1a39 /audio/p5-MIDI
parent42deff41c20217141832d772783e008e4b3fe376 (diff)
downloadports-0b35afe9829e7581b3aebc1fa32f34f61164e789.tar.gz
ports-0b35afe9829e7581b3aebc1fa32f34f61164e789.zip
Notes
Diffstat (limited to 'audio/p5-MIDI')
-rw-r--r--audio/p5-MIDI/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/audio/p5-MIDI/Makefile b/audio/p5-MIDI/Makefile
index f7c4f7e87b98..ffec35b64bce 100644
--- a/audio/p5-MIDI/Makefile
+++ b/audio/p5-MIDI/Makefile
@@ -11,16 +11,14 @@ DISTNAME= MIDI-Perl-${PORTVERSION}
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 module for handling MIDI files
+OPTIONS_DEFINE= GD
+
PERL_CONFIGURE= YES
MAN3= MIDI.3 MIDI::Event.3 MIDI::Filespec.3 MIDI::Opus.3 MIDI::Score.3 \
MIDI::Simple.3 MIDI::Track.3
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_GD)
-BUILD_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-.endif
+GD_BUILD_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD
+GD_RUN_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>