svn commit: r320977 - head/audio/p5-MIDI

Baptiste Daroussin bapt at FreeBSD.org
Fri Jun 14 22:45:33 UTC 2013


Author: bapt
Date: Fri Jun 14 22:45:33 2013
New Revision: 320977
URL: http://svnweb.freebsd.org/changeset/ports/320977

Log:
  Convert WITH -> OPTIONS

Modified:
  head/audio/p5-MIDI/Makefile

Modified: head/audio/p5-MIDI/Makefile
==============================================================================
--- head/audio/p5-MIDI/Makefile	Fri Jun 14 22:41:54 2013	(r320976)
+++ head/audio/p5-MIDI/Makefile	Fri Jun 14 22:45:33 2013	(r320977)
@@ -11,16 +11,14 @@ DISTNAME=	MIDI-Perl-${PORTVERSION}
 MAINTAINER=	perl at 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>


More information about the svn-ports-head mailing list