aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-SVN-Notify-Snapshot
diff options
context:
space:
mode:
authorGreg Larkin <glarkin@FreeBSD.org>2012-10-10 15:05:15 +0000
committerGreg Larkin <glarkin@FreeBSD.org>2012-10-10 15:05:15 +0000
commit7d4c6e7311e56746e42ad0e0460482bdd6f62f79 (patch)
treeb58879d0a6d1b96818f04709c564b270abc0e065 /devel/p5-SVN-Notify-Snapshot
parentaead9728b84660165e51b9e976b976c769141c2d (diff)
Notes
Diffstat (limited to 'devel/p5-SVN-Notify-Snapshot')
-rw-r--r--devel/p5-SVN-Notify-Snapshot/Makefile10
1 files changed, 6 insertions, 4 deletions
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 <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>