Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2013 22:45:33 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320977 - head/audio/p5-MIDI
Message-ID:  <201306142245.r5EMjXS3007245@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306142245.r5EMjXS3007245>