aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-SVN-Notify-Mirror/Makefile
diff options
context:
space:
mode:
authorGreg Larkin <glarkin@FreeBSD.org>2012-10-04 22:29:17 +0000
committerGreg Larkin <glarkin@FreeBSD.org>2012-10-04 22:29:17 +0000
commit64d05cc345f8d8405ad3204ef23f292c843406c5 (patch)
tree53075768f68498cdc1c2719cbe944c2c057adb92 /devel/p5-SVN-Notify-Mirror/Makefile
parentcbad6ad952df140ff2f5c3c28d08da8e2d664d45 (diff)
Notes
Diffstat (limited to 'devel/p5-SVN-Notify-Mirror/Makefile')
-rw-r--r--devel/p5-SVN-Notify-Mirror/Makefile33
1 files changed, 19 insertions, 14 deletions
diff --git a/devel/p5-SVN-Notify-Mirror/Makefile b/devel/p5-SVN-Notify-Mirror/Makefile
index c6ef5dcb16d0..8cf8caa2387f 100644
--- a/devel/p5-SVN-Notify-Mirror/Makefile
+++ b/devel/p5-SVN-Notify-Mirror/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= SVN-Notify-Mirror
-PORTVERSION= 0.038
+PORTVERSION= 0.040
PORTEPOCH= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
@@ -15,31 +15,36 @@ PKGNAMEPREFIX= p5-
MAINTAINER= glarkin@FreeBSD.org
COMMENT= Keep a mirrored working copy of a repository path
-BUILD_DEPENDS= p5-SVN-Notify>=2.70:${PORTSDIR}/devel/p5-SVN-Notify \
- p5-YAML>=0.62:${PORTSDIR}/textproc/p5-YAML
+BUILD_DEPENDS= p5-SVN-Notify>=2.83:${PORTSDIR}/devel/p5-SVN-Notify \
+ p5-YAML>=0.81:${PORTSDIR}/textproc/p5-YAML
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_MODBUILD= yes
-OPTIONS= CONFIG "Enable YAML syntax for post-commit hook" Off \
- SSH "Enable SSH for remote working copy update" Off \
- RSYNC "Enable rsync for remote working copy update" Off
+MAN3= SVN::Notify::Mirror.3 SVN::Notify::Mirror::ConfigData.3 \
+ SVN::Notify::Mirror::Rsync.3 SVN::Notify::Mirror::SSH.3
+
+OPTIONS_DEFINE= CONFIG SSH RSYNC
+
+CONFIG_DESC= Enable YAML syntax for post-commit hook
+SSH_DESC= Enable SSH for remote working copy update
+RSYNC_DESC= Enable rsync for remote working copy update
-.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.0906:${PORTSDIR}/devel/p5-SVN-Notify-Config
+RUN_DEPENDS+= p5-SVN-Notify-Config>=0.0906:${PORTSDIR}/devel/p5-SVN-Notify-Config
.endif
-.if defined(WITH_SSH)
+.if ${PORT_OPTIONS:MSSH}
BUILD_DEPENDS+= p5-Net-SSH>=0.08:${PORTSDIR}/net/p5-Net-SSH
+RUN_DEPENDS+= p5-Net-SSH>=0.08:${PORTSDIR}/net/p5-Net-SSH
.endif
-.if defined(WITH_RSYNC)
+.if ${PORT_OPTIONS:MRSYNC}
BUILD_DEPENDS+= p5-File-Rsync>=0.42:${PORTSDIR}/net/p5-File-Rsync
+RUN_DEPENDS+= p5-File-Rsync>=0.42:${PORTSDIR}/net/p5-File-Rsync
.endif
-MAN3= SVN::Notify::Mirror.3 SVN::Notify::Mirror::ConfigData.3 \
- SVN::Notify::Mirror::Rsync.3 SVN::Notify::Mirror::SSH.3
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>