svn commit: r305664 - head/devel/p5-SVN-Notify-Snapshot

Greg Larkin glarkin at FreeBSD.org
Wed Oct 10 15:05:16 UTC 2012


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>


More information about the svn-ports-all mailing list