Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2012 15:05:16 +0000 (UTC)
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305664 - head/devel/p5-SVN-Notify-Snapshot
Message-ID:  <201210101505.q9AF5GMB049749@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glarkin
Date: Wed Oct 10 15:05:15 2012
New Revision: 305664
URL: http://svn.freebsd.org/changeset/ports/305664

Log:
  - Converted to OptionsNG
  - Added missing RUN_DEPENDS entry

Modified:
  head/devel/p5-SVN-Notify-Snapshot/Makefile

Modified: head/devel/p5-SVN-Notify-Snapshot/Makefile
==============================================================================
--- head/devel/p5-SVN-Notify-Snapshot/Makefile	Wed Oct 10 14:56:43 2012	(r305663)
+++ head/devel/p5-SVN-Notify-Snapshot/Makefile	Wed Oct 10 15:05:15 2012	(r305664)
@@ -17,16 +17,18 @@ COMMENT=	Take snapshots from Subversion 
 BUILD_DEPENDS=	${LOCALBASE}/bin/svnnotify:${PORTSDIR}/devel/p5-SVN-Notify
 RUN_DEPENDS=	${LOCALBASE}/bin/svnnotify:${PORTSDIR}/devel/p5-SVN-Notify
 
-OPTIONS=	CONFIG "Enable YAML syntax for post-commit hook" Off
+OPTIONS_DEFINE=	CONFIG
+CONFIG_DESC=	Enable YAML syntax for post-commit hook
 
 PERL_MODBUILD=	yes
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if defined(WITH_CONFIG)
+.if ${PORT_OPTIONS:MCONFIG}
 BUILD_DEPENDS+=	p5-SVN-Notify-Config>=0:${PORTSDIR}/devel/p5-SVN-Notify-Config
+RUN_DEPENDS+=	p5-SVN-Notify-Config>=0:${PORTSDIR}/devel/p5-SVN-Notify-Config
 .endif
 
 MAN3=		SVN::Notify::Snapshot.3 SVN::Notify::Snapshot::ConfigData.3
 
-.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?201210101505.q9AF5GMB049749>