blob: 9d307c98ac1e0357480ee51cf6c92f024a4b1e2b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Created by: Oleg Alexeenkov <proler@gmail.com>
# $FreeBSD$
PORTNAME= watchmen
PORTVERSION= 0.08
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE
MAINTAINER= proler@gmail.com
COMMENT= Watch and restart daemons
LICENSE= GPLv3
RUN_DEPENDS= p5-libwww>=6.04:${PORTSDIR}/www/p5-libwww \
p5-URI>=0:${PORTSDIR}/net/p5-URI
USES= perl5 shebangfix
USE_PERL5= configure
SHEBANG_FILES= watchmen
OPTIONS_DEFINE= MYSQL PGSQL EMAIL
MYSQL_DESC= Want test mysql queries
PGSQL_DESC= Want test postgresql queries
EMAIL_DESC= report problems by email
POD2MAN?= pod2man
MAN1= ${PORTNAME}.1
PLIST_FILES= \
bin/${PORTNAME} \
etc/${PORTNAME}.conf.dist \
%%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>
.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
.endif
.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
RUN_DEPENDS+= p5-DBD-Pg>=2.19.2:${PORTSDIR}/databases/p5-DBD-Pg
.endif
.if ${PORT_OPTIONS:MEMAIL}
RUN_DEPENDS+= p5-MIME-Lite>=0:${PORTSDIR}/mail/p5-MIME-Lite
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.dist ${PREFIX}/etc
.include <bsd.port.post.mk>
|