1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Update to 0.05

PR:		ports/150676
Submitted by:	Oleg Alexeenkov (maintainer)
This commit is contained in:
Max Brazhnikov 2010-09-19 12:45:31 +00:00
parent e9fac8daad
commit e6d7377384
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261431
2 changed files with 24 additions and 5 deletions

View File

@ -6,13 +6,17 @@
#
PORTNAME= watchmen
PORTVERSION= 0.04
PORTVERSION= 0.05
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_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
RUN_DEPENDS+= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
PERL_CONFIGURE= yes
@ -25,7 +29,7 @@ PLIST_FILES= \
bin/${PORTNAME} \
etc/${PORTNAME}.conf.dist \
%%SITE_PERL%%/%%PERL_ARCH%%/auto/watchmen/.packlist
PLIST_DIRS=%%SITE_PERL%%/%%PERL_ARCH%%/auto/watchmen
PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/watchmen
.include <bsd.port.pre.mk>
@ -33,6 +37,21 @@ PLIST_DIRS=%%SITE_PERL%%/%%PERL_ARCH%%/auto/watchmen
RUN_DEPENDS+= p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
.endif
.if defined(WITH_MYSQL)
USE_MYSQL= yes
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER}
.endif
.if defined(WITH_PGSQL)
USE_PGSQL= yes
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
.endif
.if defined(WITH_EMAIL)
USE_PGSQL= yes
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Email/Send.pm:${PORTSDIR}/mail/p5-Email-Send
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.dist ${PREFIX}/etc

View File

@ -1,3 +1,3 @@
MD5 (watchmen-0.04.tar.gz) = 72673a0b772819957e6299aaa859ea1a
SHA256 (watchmen-0.04.tar.gz) = 068149e9769d4b69850490c00d352afc0be37cc2eeff86debad458eadd859453
SIZE (watchmen-0.04.tar.gz) = 11559
MD5 (watchmen-0.05.tar.gz) = fa22de48a2978574fe350bdebd0c03fb
SHA256 (watchmen-0.05.tar.gz) = 3b8206f2478376f6b11446232c5af139eec3b1997888e8c3ddbe62e303cebebe
SIZE (watchmen-0.05.tar.gz) = 16045