aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-06-13 06:30:22 +0800
committerjgh <jgh@FreeBSD.org>2012-06-13 06:30:22 +0800
commit8f2a7ab4ca5c5ac92338f002051ab791d72f011c (patch)
treed8059390eeb11b5ca080fb192258d55659db9d4b /sysutils
parenta282e1b88c9b46194493ae27b72d5a85982bbe61 (diff)
downloadfreebsd-ports-gnome-8f2a7ab4ca5c5ac92338f002051ab791d72f011c.tar.gz
freebsd-ports-gnome-8f2a7ab4ca5c5ac92338f002051ab791d72f011c.tar.zst
freebsd-ports-gnome-8f2a7ab4ca5c5ac92338f002051ab791d72f011c.zip
- update to 0.07 [1]
- while here ... [2] - shortened MASTER_SITES - moved to optionsNG framework - moved to packages for perl dependencies, in favor of SITE_PERL pm files - add GPLv3 license PR: ports/168576 Submitted by: maintainer, proler@gmail.com [1], jgh@ [2] Approved by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/watchmen/Makefile33
-rw-r--r--sysutils/watchmen/distinfo4
2 files changed, 20 insertions, 17 deletions
diff --git a/sysutils/watchmen/Makefile b/sysutils/watchmen/Makefile
index bbac75ad10ae..909c85fac678 100644
--- a/sysutils/watchmen/Makefile
+++ b/sysutils/watchmen/Makefile
@@ -6,22 +6,24 @@
#
PORTNAME= watchmen
-PORTVERSION= 0.05
-PORTREVISION= 1
+PORTVERSION= 0.07
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= proler@gmail.com
COMMENT= Watch and restart daemons
-OPTIONS= MYSQL "Want test mysql queries" off \
- PGSQL "Want test postgresql queries" off \
- EMAIL "report problems by email" off
+LICENSE= GPLv3
-RUN_DEPENDS+= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS+= p5-libwww>=6.04:${PORTSDIR}/www/p5-libwww
PERL_CONFIGURE= yes
+OPTIONS_DEFINE= MYSQL PGSQL EMAIL
+MYSQL_DESC= Want test mysql queries
+PGSQL_DESC= Want test postgresql queries
+EMAIL_DESC= report problems by email
+
USE_PERL5_RUN= yes
POD2MAN?= pod2man
@@ -29,8 +31,9 @@ MAN1= ${PORTNAME}.1
PLIST_FILES= \
bin/${PORTNAME} \
etc/${PORTNAME}.conf.dist \
- %%SITE_PERL%%/%%PERL_ARCH%%/auto/watchmen/.packlist
-PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/watchmen
+ %%SITE_PERL%%/%%PERL_ARCH%%/auto/App/watchmen/.packlist
+PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/App/watchmen \
+ %%SITE_PERL%%/%%PERL_ARCH%%/auto/App
.include <bsd.port.pre.mk>
@@ -38,18 +41,18 @@ PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/watchmen
RUN_DEPENDS+= p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
.endif
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER}
+RUN_DEPENDS+= p5-DBD-mysql${MYSQL_VER}>=0:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER}
.endif
-.if defined(WITH_PGSQL)
+.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
+RUN_DEPENDS+= p5-DBD-Pg>=2.19.2:${PORTSDIR}/databases/p5-DBD-Pg
.endif
-.if defined(WITH_EMAIL)
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Email/Send.pm:${PORTSDIR}/mail/p5-Email-Send
+.if ${PORT_OPTIONS:MEMAIL}
+RUN_DEPENDS+= p5-Email-Send>=2.198:${PORTSDIR}/mail/p5-Email-Send
.endif
post-install:
diff --git a/sysutils/watchmen/distinfo b/sysutils/watchmen/distinfo
index 3ca52758a31e..5b7ca5dc00f4 100644
--- a/sysutils/watchmen/distinfo
+++ b/sysutils/watchmen/distinfo
@@ -1,2 +1,2 @@
-SHA256 (watchmen-0.05.tar.gz) = 3b8206f2478376f6b11446232c5af139eec3b1997888e8c3ddbe62e303cebebe
-SIZE (watchmen-0.05.tar.gz) = 16045
+SHA256 (watchmen-0.07.tar.gz) = 7f52dd6052a332d725aa4e47c02329406a45e1d882fc15102a718b118e37e0cc
+SIZE (watchmen-0.07.tar.gz) = 16638