From 7d4c6e7311e56746e42ad0e0460482bdd6f62f79 Mon Sep 17 00:00:00 2001 From: Greg Larkin Date: Wed, 10 Oct 2012 15:05:15 +0000 Subject: - Converted to OptionsNG - Added missing RUN_DEPENDS entry --- devel/p5-SVN-Notify-Snapshot/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'devel/p5-SVN-Notify-Snapshot') diff --git a/devel/p5-SVN-Notify-Snapshot/Makefile b/devel/p5-SVN-Notify-Snapshot/Makefile index 226eed8db27b..892300ecb83e 100644 --- a/devel/p5-SVN-Notify-Snapshot/Makefile +++ b/devel/p5-SVN-Notify-Snapshot/Makefile @@ -17,16 +17,18 @@ COMMENT= Take snapshots from Subversion activity 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 +.include -.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 +.include -- cgit v1.2.3