Tue Jun 9 17:34:50 2009 UTC ()
Switch p5-Time depends to p5-Time-modules


(abs)
diff -r1.35 -r1.36 pkgsrc/devel/rt3/Makefile
diff -r1.15 -r1.16 pkgsrc/security/snortsnarf/Makefile
diff -r1.4 -r1.5 pkgsrc/sysutils/dirvish/Makefile

cvs diff -r1.35 -r1.36 pkgsrc/devel/rt3/Attic/Makefile (switch to unified diff)

--- pkgsrc/devel/rt3/Attic/Makefile 2008/08/24 14:05:16 1.35
+++ pkgsrc/devel/rt3/Attic/Makefile 2009/06/09 17:34:50 1.36
@@ -1,146 +1,146 @@ @@ -1,146 +1,146 @@
1# $NetBSD: Makefile,v 1.35 2008/08/24 14:05:16 tonnerre Exp $ 1# $NetBSD: Makefile,v 1.36 2009/06/09 17:34:50 abs Exp $
2 2
3DISTNAME= rt-3.8.1 3DISTNAME= rt-3.8.1
4PKGREVISION= 1 4PKGREVISION= 1
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= http://download.bestpractical.com/pub/rt/release/ 6MASTER_SITES= http://download.bestpractical.com/pub/rt/release/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://bestpractical.com/rt/ 9HOMEPAGE= http://bestpractical.com/rt/
10COMMENT= Industrial-grade ticketing system 10COMMENT= Industrial-grade ticketing system
11 11
12.include "options.mk" 12.include "options.mk"
13 13
14USE_TOOLS+= perl:run 14USE_TOOLS+= perl:run
15USE_LANGUAGES+= c 15USE_LANGUAGES+= c
16 16
17# Core dependencies: 17# Core dependencies:
18DEPENDS+= p5-Digest-[0-9]*:../../security/p5-Digest 18DEPENDS+= p5-Digest-[0-9]*:../../security/p5-Digest
19DEPENDS+= p5-Digest-MD5>=2.27:../../security/p5-Digest-MD5 19DEPENDS+= p5-Digest-MD5>=2.27:../../security/p5-Digest-MD5
20DEPENDS+= p5-DBI>=1.37:../../databases/p5-DBI 20DEPENDS+= p5-DBI>=1.37:../../databases/p5-DBI
21DEPENDS+= p5-Class-ReturnValue>=0.40:../../devel/p5-Class-ReturnValue 21DEPENDS+= p5-Class-ReturnValue>=0.40:../../devel/p5-Class-ReturnValue
22DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate 22DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate
23DEPENDS+= p5-DBIx-SearchBuilder>=1.54:../../databases/p5-DBIx-SearchBuilder 23DEPENDS+= p5-DBIx-SearchBuilder>=1.54:../../databases/p5-DBIx-SearchBuilder
24DEPENDS+= p5-Text-Template>=1.43:../../textproc/p5-Text-Template 24DEPENDS+= p5-Text-Template>=1.43:../../textproc/p5-Text-Template
25DEPENDS+= p5-HTML-Parser>=3.35:../../www/p5-HTML-Parser 25DEPENDS+= p5-HTML-Parser>=3.35:../../www/p5-HTML-Parser
26DEPENDS+= p5-HTML-Scrubber>=0.08:../../www/p5-HTML-Scrubber 26DEPENDS+= p5-HTML-Scrubber>=0.08:../../www/p5-HTML-Scrubber
27DEPENDS+= p5-HTTP-Server-Simple>=0.34:../../www/p5-HTTP-Server-Simple 27DEPENDS+= p5-HTTP-Server-Simple>=0.34:../../www/p5-HTTP-Server-Simple
28DEPENDS+= p5-HTTP-Server-Simple-Mason>=0.09:../../www/p5-HTTP-Server-Simple-Mason 28DEPENDS+= p5-HTTP-Server-Simple-Mason>=0.09:../../www/p5-HTTP-Server-Simple-Mason
29DEPENDS+= p5-Log-Dispatch>=2.0:../../devel/p5-Log-Dispatch 29DEPENDS+= p5-Log-Dispatch>=2.0:../../devel/p5-Log-Dispatch
30DEPENDS+= p5-Locale-Maketext>=1.06:../../misc/p5-Locale-Maketext 30DEPENDS+= p5-Locale-Maketext>=1.06:../../misc/p5-Locale-Maketext
31DEPENDS+= p5-Locale-Maketext-Lexicon>=0.32:../../misc/p5-Locale-Maketext-Lexicon 31DEPENDS+= p5-Locale-Maketext-Lexicon>=0.32:../../misc/p5-Locale-Maketext-Lexicon
32DEPENDS+= p5-Locale-Maketext-Fuzzy>=0.02:../../misc/p5-Locale-Maketext-Fuzzy 32DEPENDS+= p5-Locale-Maketext-Fuzzy>=0.02:../../misc/p5-Locale-Maketext-Fuzzy
33DEPENDS+= p5-MIME-tools>=5.411.1:../../mail/p5-MIME-tools 33DEPENDS+= p5-MIME-tools>=5.411.1:../../mail/p5-MIME-tools
34DEPENDS+= p5-MailTools>=1.57:../../mail/p5-MailTools 34DEPENDS+= p5-MailTools>=1.57:../../mail/p5-MailTools
35DEPENDS+= p5-Email-Address-[0-9]*:../../mail/p5-Email-Address 35DEPENDS+= p5-Email-Address-[0-9]*:../../mail/p5-Email-Address
36DEPENDS+= p5-Net>=1.15:../../net/p5-Net 36DEPENDS+= p5-Net>=1.15:../../net/p5-Net
37DEPENDS+= p5-Net-Server-[0-9]*:../../net/p5-Net-Server 37DEPENDS+= p5-Net-Server-[0-9]*:../../net/p5-Net-Server
38DEPENDS+= p5-Text-Wrapper>=1.0:../../textproc/p5-Text-Wrapper 38DEPENDS+= p5-Text-Wrapper>=1.0:../../textproc/p5-Text-Wrapper
39DEPENDS+= p5-Time>=101.062101:../../time/p5-Time 39DEPENDS+= p5-Time-modules>=101.062101:../../time/p5-Time-modules
40DEPENDS+= p5-Text-Autoformat>=1.04:../../textproc/p5-Text-Autoformat 40DEPENDS+= p5-Text-Autoformat>=1.04:../../textproc/p5-Text-Autoformat
41DEPENDS+= p5-Text-Quoted>=2.02:../../textproc/p5-Text-Quoted 41DEPENDS+= p5-Text-Quoted>=2.02:../../textproc/p5-Text-Quoted
42DEPENDS+= p5-Tree-Simple>=1.04:../../devel/p5-Tree-Simple 42DEPENDS+= p5-Tree-Simple>=1.04:../../devel/p5-Tree-Simple
43DEPENDS+= p5-Regexp-Common>=2.113:../../textproc/p5-Regexp-Common 43DEPENDS+= p5-Regexp-Common>=2.113:../../textproc/p5-Regexp-Common
44DEPENDS+= p5-Module-Versions-Report>=1.05:../../devel/p5-Module-Versions-Report 44DEPENDS+= p5-Module-Versions-Report>=1.05:../../devel/p5-Module-Versions-Report
45DEPENDS+= p5-Cache-Simple-TimedExpiry-[0-9]*:../../devel/p5-Cache-Simple-TimedExpiry 45DEPENDS+= p5-Cache-Simple-TimedExpiry-[0-9]*:../../devel/p5-Cache-Simple-TimedExpiry
46DEPENDS+= p5-UNIVERSAL-require>=0.11:../../devel/p5-UNIVERSAL-require 46DEPENDS+= p5-UNIVERSAL-require>=0.11:../../devel/p5-UNIVERSAL-require
47DEPENDS+= p5-Calendar-Simple>=1.00:../../time/p5-Calendar-Simple 47DEPENDS+= p5-Calendar-Simple>=1.00:../../time/p5-Calendar-Simple
48DEPENDS+= p5-CSS-Squish>=0.07:../../www/p5-CSS-Squish 48DEPENDS+= p5-CSS-Squish>=0.07:../../www/p5-CSS-Squish
49DEPENDS+= p5-File-ShareDir>=1.00:../../devel/p5-File-ShareDir 49DEPENDS+= p5-File-ShareDir>=1.00:../../devel/p5-File-ShareDir
50 50
51# Mason dependencies: 51# Mason dependencies:
52DEPENDS+= p5-HTML-Mason>=1.36:../../www/p5-HTML-Mason 52DEPENDS+= p5-HTML-Mason>=1.36:../../www/p5-HTML-Mason
53DEPENDS+= p5-Apache-Session>=1.53:../../www/p5-Apache-Session 53DEPENDS+= p5-Apache-Session>=1.53:../../www/p5-Apache-Session
54DEPENDS+= p5-XML-RSS>=1.05:../../textproc/p5-XML-RSS 54DEPENDS+= p5-XML-RSS>=1.05:../../textproc/p5-XML-RSS
55DEPENDS+= p5-GD-[0-9]*:../../graphics/p5-GD 55DEPENDS+= p5-GD-[0-9]*:../../graphics/p5-GD
56DEPENDS+= p5-GDGraph-[0-9]*:../../graphics/p5-GDGraph 56DEPENDS+= p5-GDGraph-[0-9]*:../../graphics/p5-GDGraph
57DEPENDS+= p5-GDTextUtil-[0-9]*:../../graphics/p5-GDTextUtil 57DEPENDS+= p5-GDTextUtil-[0-9]*:../../graphics/p5-GDTextUtil
58DEPENDS+= p5-Text-WikiFormat>=0.76:../../textproc/p5-Text-WikiFormat 58DEPENDS+= p5-Text-WikiFormat>=0.76:../../textproc/p5-Text-WikiFormat
59DEPENDS+= p5-Module-Refresh>=0.03:../../devel/p5-Module-Refresh 59DEPENDS+= p5-Module-Refresh>=0.03:../../devel/p5-Module-Refresh
60DEPENDS+= p5-Encode>=2.13:../../textproc/p5-Encode 60DEPENDS+= p5-Encode>=2.13:../../textproc/p5-Encode
61 61
62# Mailgate dependencies: 62# Mailgate dependencies:
63DEPENDS+= p5-HTML-Tree>=3.18:../../www/p5-HTML-Tree 63DEPENDS+= p5-HTML-Tree>=3.18:../../www/p5-HTML-Tree
64DEPENDS+= p5-HTML-Format>=2.03:../../www/p5-HTML-Format 64DEPENDS+= p5-HTML-Format>=2.03:../../www/p5-HTML-Format
65DEPENDS+= p5-libwww>=5.76:../../www/p5-libwww 65DEPENDS+= p5-libwww>=5.76:../../www/p5-libwww
66DEPENDS+= p5-Term-ReadKey>=2.21:../../devel/p5-Term-ReadKey 66DEPENDS+= p5-Term-ReadKey>=2.21:../../devel/p5-Term-ReadKey
67 67
68# Dashboard dependencies: 68# Dashboard dependencies:
69DEPENDS+= p5-MIME-Types-[0-9]*:../../mail/p5-MIME-Types 69DEPENDS+= p5-MIME-Types-[0-9]*:../../mail/p5-MIME-Types
70DEPENDS+= p5-HTML-RewriteAttributes>=0.02:../../www/p5-HTML-RewriteAttributes 70DEPENDS+= p5-HTML-RewriteAttributes>=0.02:../../www/p5-HTML-RewriteAttributes
71 71
72# ICAL dependencies: 72# ICAL dependencies:
73DEPENDS+= p5-Data-ICal-[0-9]*:../../time/p5-Data-ICal 73DEPENDS+= p5-Data-ICal-[0-9]*:../../time/p5-Data-ICal
74 74
75# GPG dependencies: 75# GPG dependencies:
76DEPENDS+= p5-PerlIO-eol-[0-9]*:../../devel/p5-PerlIO-eol 76DEPENDS+= p5-PerlIO-eol-[0-9]*:../../devel/p5-PerlIO-eol
77DEPENDS+= p5-GnuPG-Interface-[0-9]*:../../security/p5-GnuPG-Interface 77DEPENDS+= p5-GnuPG-Interface-[0-9]*:../../security/p5-GnuPG-Interface
78 78
79# Front-end dependencies: 79# Front-end dependencies:
80.if !empty(PKG_OPTIONS:Mmodperl1) 80.if !empty(PKG_OPTIONS:Mmodperl1)
81DEPENDS+= p5-libapreq>=1.2:../../www/p5-libapreq 81DEPENDS+= p5-libapreq>=1.2:../../www/p5-libapreq
82DEPENDS+= p5-Apache-DBI>=0.92:../../databases/p5-Apache-DBI 82DEPENDS+= p5-Apache-DBI>=0.92:../../databases/p5-Apache-DBI
83.elif !empty(PKG_OPTIONS:Mmodperl2) 83.elif !empty(PKG_OPTIONS:Mmodperl2)
84DEPENDS+= p5-Apache-DBI>=0.92:../../databases/p5-Apache-DBI 84DEPENDS+= p5-Apache-DBI>=0.92:../../databases/p5-Apache-DBI
85.elif !empty(PKG_OPTIONS:Mfastcgi) 85.elif !empty(PKG_OPTIONS:Mfastcgi)
86DEPENDS+= p5-FCGI>=0.67:../../www/p5-FCGI 86DEPENDS+= p5-FCGI>=0.67:../../www/p5-FCGI
87DEPENDS+= p5-CGI>=3.38:../../www/p5-CGI 87DEPENDS+= p5-CGI>=3.38:../../www/p5-CGI
88.endif 88.endif
89PLIST_VARS+= speedycgi 89PLIST_VARS+= speedycgi
90.if !empty(PKG_OPTIONS:Mspeedycgi) 90.if !empty(PKG_OPTIONS:Mspeedycgi)
91DEPENDS+= SpeedyCGI-[0-9]*:../../www/SpeedyCGI 91DEPENDS+= SpeedyCGI-[0-9]*:../../www/SpeedyCGI
92PLIST.speedycgi=yes 92PLIST.speedycgi=yes
93.else 93.else
94MAKE_FLAGS+= RT_SPEEDYCGI_HANDLER="" 94MAKE_FLAGS+= RT_SPEEDYCGI_HANDLER=""
95 95
96.PHONY: rm-speedycgi 96.PHONY: rm-speedycgi
97post-install: rm-speedycgi 97post-install: rm-speedycgi
98rm-speedycgi: 98rm-speedycgi:
99 rm -f ${PREFIX}/bin/mason_handler.scgi 99 rm -f ${PREFIX}/bin/mason_handler.scgi
100.endif 100.endif
101 101
102# Back-end dependencies 102# Back-end dependencies
103.if !empty(PKG_OPTIONS:Mmysql) 103.if !empty(PKG_OPTIONS:Mmysql)
104DEPENDS+= p5-DBD-mysql>=2.1018:../../databases/p5-DBD-mysql 104DEPENDS+= p5-DBD-mysql>=2.1018:../../databases/p5-DBD-mysql
105_RT_DB_TYPE= mysql 105_RT_DB_TYPE= mysql
106.elif !empty(PKG_OPTIONS:Mpgsql) 106.elif !empty(PKG_OPTIONS:Mpgsql)
107DEPENDS+= p5-DBD-postgresql>=1.43:../../databases/p5-DBD-postgresql 107DEPENDS+= p5-DBD-postgresql>=1.43:../../databases/p5-DBD-postgresql
108_RT_DB_TYPE= Pg 108_RT_DB_TYPE= Pg
109.elif !empty(PKG_OPTIONS:Moracle) 109.elif !empty(PKG_OPTIONS:Moracle)
110DEPENDS+= p5-DBD-Oracle-[0-9]*:../../databases/p5-DBD-Oracle 110DEPENDS+= p5-DBD-Oracle-[0-9]*:../../databases/p5-DBD-Oracle
111_RT_DB_TYPE= Oracle 111_RT_DB_TYPE= Oracle
112.elif !empty(PKG_OPTIONS:Msqlite) 112.elif !empty(PKG_OPTIONS:Msqlite)
113DEPENDS+= p5-DBD-SQLite>=1.00:../../databases/p5-DBD-SQLite 113DEPENDS+= p5-DBD-SQLite>=1.00:../../databases/p5-DBD-SQLite
114_RT_DB_TYPE= SQLite 114_RT_DB_TYPE= SQLite
115.endif 115.endif
116 116
117# "Development" dependencies: 117# "Development" dependencies:
118# XML::Simple is required by the installed script 118# XML::Simple is required by the installed script
119# PREFIX/sbin/rt-dump-database 119# PREFIX/sbin/rt-dump-database
120DEPENDS+= p5-XML-Simple-[0-9]*:../../textproc/p5-XML-Simple 120DEPENDS+= p5-XML-Simple-[0-9]*:../../textproc/p5-XML-Simple
121 121
122USE_PKGLOCALEDIR= yes 122USE_PKGLOCALEDIR= yes
123GNU_CONFIGURE= yes 123GNU_CONFIGURE= yes
124NO_BUILD= yes 124NO_BUILD= yes
125PKG_SYSCONFSUBDIR= rt3 125PKG_SYSCONFSUBDIR= rt3
126 126
127PKG_GROUPS= ${RT_GROUP} 127PKG_GROUPS= ${RT_GROUP}
128PKG_GROUPS_VARS+= RT_GROUP APACHE_GROUP 128PKG_GROUPS_VARS+= RT_GROUP APACHE_GROUP
129PKG_USERS_VARS+= APACHE_USER 129PKG_USERS_VARS+= APACHE_USER
130 130
131CONFIGURE_ARGS+= --enable-layout=pkgsrc 131CONFIGURE_ARGS+= --enable-layout=pkgsrc
132CONFIGURE_ARGS+= --with-rt-group=${RT_GROUP:Q} 132CONFIGURE_ARGS+= --with-rt-group=${RT_GROUP:Q}
133CONFIGURE_ARGS+= --with-db-type=${_RT_DB_TYPE:Q} 133CONFIGURE_ARGS+= --with-db-type=${_RT_DB_TYPE:Q}
134CONFIGURE_ARGS+= --with-web-user=${APACHE_USER:Q} 134CONFIGURE_ARGS+= --with-web-user=${APACHE_USER:Q}
135CONFIGURE_ARGS+= --with-web-group=${APACHE_GROUP:Q} 135CONFIGURE_ARGS+= --with-web-group=${APACHE_GROUP:Q}
136CONFIGURE_ARGS+= --with-speedycgi=${PERL5_INSTALLVENDORBIN}/speedy 136CONFIGURE_ARGS+= --with-speedycgi=${PERL5_INSTALLVENDORBIN}/speedy
137MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE:Q} 137MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE:Q}
138MESSAGE_SUBST+= RT_GROUP=${RT_GROUP:Q} 138MESSAGE_SUBST+= RT_GROUP=${RT_GROUP:Q}
139MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q} 139MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
140 140
141post-extract: 141post-extract:
142 cd ${WRKSRC} && chmod -R g-w . 142 cd ${WRKSRC} && chmod -R g-w .
143 143
144.include "Makefile.install" 144.include "Makefile.install"
145 145
146.include "../../mk/bsd.pkg.mk" 146.include "../../mk/bsd.pkg.mk"

cvs diff -r1.15 -r1.16 pkgsrc/security/snortsnarf/Makefile (switch to unified diff)

--- pkgsrc/security/snortsnarf/Makefile 2008/05/26 02:13:23 1.15
+++ pkgsrc/security/snortsnarf/Makefile 2009/06/09 17:34:50 1.16
@@ -1,37 +1,37 @@ @@ -1,37 +1,37 @@
1# $NetBSD: Makefile,v 1.15 2008/05/26 02:13:23 joerg Exp $ 1# $NetBSD: Makefile,v 1.16 2009/06/09 17:34:50 abs Exp $
2# 2#
3 3
4DISTNAME= SnortSnarf-050314.1 4DISTNAME= SnortSnarf-050314.1
5PKGNAME= ${DISTNAME:S/SnortSnarf-/snortsnarf-20/} 5PKGNAME= ${DISTNAME:S/SnortSnarf-/snortsnarf-20/}
6CATEGORIES= security net 6CATEGORIES= security net
7MASTER_SITES= http://www.snort.org/dl/contrib/data_analysis/snortsnarf/ 7MASTER_SITES= http://www.snort.org/dl/contrib/data_analysis/snortsnarf/
8 8
9MAINTAINER= adrianp@NetBSD.org 9MAINTAINER= adrianp@NetBSD.org
10HOMEPAGE= http://www.silicondefense.com/software/snortsnarf/ 10HOMEPAGE= http://www.silicondefense.com/software/snortsnarf/
11COMMENT= Generate HTML report summaries from snort incident alerts 11COMMENT= Generate HTML report summaries from snort incident alerts
12 12
13DEPENDS+= p5-Time>=101.062101:../../time/p5-Time 13DEPENDS+= p5-Time-modules>=101.062101:../../time/p5-Time-modules
14 14
15NO_BUILD= YES 15NO_BUILD= YES
16 16
17USE_TOOLS+= pax perl:run 17USE_TOOLS+= pax perl:run
18REPLACE_PERL= snortsnarf.pl include/ann_xml.pl include/web_utils.pl \ 18REPLACE_PERL= snortsnarf.pl include/ann_xml.pl include/web_utils.pl \
19 include/xml_help.pl 19 include/xml_help.pl
20 20
21SUBST_CLASSES+= paths 21SUBST_CLASSES+= paths
22SUBST_STAGE.paths= post-patch 22SUBST_STAGE.paths= post-patch
23SUBST_FILES.paths= snortsnarf.pl 23SUBST_FILES.paths= snortsnarf.pl
24SUBST_SED.paths= -e "s|./include|${PREFIX}/share/snortsnarf|g" 24SUBST_SED.paths= -e "s|./include|${PREFIX}/share/snortsnarf|g"
25SUBST_MESSAGE.paths= Fixing paths. 25SUBST_MESSAGE.paths= Fixing paths.
26 26
27INSTALLATION_DIRS= bin 27INSTALLATION_DIRS= bin
28 28
29do-install: 29do-install:
30 ${INSTALL_SCRIPT} ${WRKSRC}/snortsnarf.pl ${PREFIX}/bin/snortsnarf.pl 30 ${INSTALL_SCRIPT} ${WRKSRC}/snortsnarf.pl ${PREFIX}/bin/snortsnarf.pl
31 ${INSTALL_DATA_DIR} ${PREFIX}/share/snortsnarf 31 ${INSTALL_DATA_DIR} ${PREFIX}/share/snortsnarf
32 cd ${WRKSRC}/include && pax -rw -pm * ${PREFIX}/share/snortsnarf 32 cd ${WRKSRC}/include && pax -rw -pm * ${PREFIX}/share/snortsnarf
33 ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snortsnarf 33 ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snortsnarf
34 ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/snortsnarf 34 ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/snortsnarf
35 ${INSTALL_DATA} ${WRKSRC}/Usage ${PREFIX}/share/doc/snortsnarf 35 ${INSTALL_DATA} ${WRKSRC}/Usage ${PREFIX}/share/doc/snortsnarf
36 36
37.include "../../mk/bsd.pkg.mk" 37.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/sysutils/dirvish/Makefile (switch to unified diff)

--- pkgsrc/sysutils/dirvish/Makefile 2009/02/24 16:15:22 1.4
+++ pkgsrc/sysutils/dirvish/Makefile 2009/06/09 17:34:50 1.5
@@ -1,56 +1,56 @@ @@ -1,56 +1,56 @@
1# $NetBSD: Makefile,v 1.4 2009/02/24 16:15:22 wiz Exp $ 1# $NetBSD: Makefile,v 1.5 2009/06/09 17:34:50 abs Exp $
2# 2#
3 3
4DISTNAME= dirvish-1.2.1 4DISTNAME= dirvish-1.2.1
5CATEGORIES= sysutils 5CATEGORIES= sysutils
6MASTER_SITES= http://www.dirvish.org/ 6MASTER_SITES= http://www.dirvish.org/
7EXTRACT_SUFX= .tgz 7EXTRACT_SUFX= .tgz
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.dirvish.org/ 10HOMEPAGE= http://www.dirvish.org/
11COMMENT= Fast, disk based, rotating network backup system 11COMMENT= Fast, disk based, rotating network backup system
12 12
13DEPENDS+= rsync>=2.6.0:../../net/rsync 13DEPENDS+= rsync>=2.6.0:../../net/rsync
14DEPENDS+= p5-Getopt-Long>=2.35:../../devel/p5-Getopt-Long 14DEPENDS+= p5-Getopt-Long>=2.35:../../devel/p5-Getopt-Long
15DEPENDS+= p5-Time>=2003.0:../../time/p5-Time 15DEPENDS+= p5-Time-modules>=2003.0:../../time/p5-Time-modules
16DEPENDS+= p5-Time-Period>=1.0:../../time/p5-Time-Period 16DEPENDS+= p5-Time-Period>=1.0:../../time/p5-Time-Period
17 17
18PKG_SYSCONFSUBDIR= dirvish 18PKG_SYSCONFSUBDIR= dirvish
19PKG_DESTDIR_SUPPORT= user-destdir 19PKG_DESTDIR_SUPPORT= user-destdir
20 20
21EXECUTABLES= dirvish dirvish-runall dirvish-expire dirvish-locate 21EXECUTABLES= dirvish dirvish-runall dirvish-expire dirvish-locate
22MAN5= dirvish.conf.5 22MAN5= dirvish.conf.5
23MAN8= dirvish.8 dirvish-runall.8 dirvish-expire.8 \ 23MAN8= dirvish.8 dirvish-runall.8 dirvish-expire.8 \
24 dirvish-locate.8 24 dirvish-locate.8
25DOCS= COPYING FAQ.html INSTALL RELEASE.html TODO.html 25DOCS= COPYING FAQ.html INSTALL RELEASE.html TODO.html
26 26
27INSTALLATION_DIRS= ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 sbin \ 27INSTALLATION_DIRS= ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 sbin \
28 share/doc/dirvish 28 share/doc/dirvish
29 29
30do-build: 30do-build:
31 cd ${WRKSRC}; \ 31 cd ${WRKSRC}; \
32 for f in ${EXECUTABLES}; do \ 32 for f in ${EXECUTABLES}; do \
33 ${ECHO} "#!${PERL5}" > $$f; \ 33 ${ECHO} "#!${PERL5}" > $$f; \
34 ${ECHO} "\$$CONFDIR = \"${PKG_SYSCONFDIR}\";" >> $$f; \ 34 ${ECHO} "\$$CONFDIR = \"${PKG_SYSCONFDIR}\";" >> $$f; \
35 ${CAT} $$f.pl >>$$f; \ 35 ${CAT} $$f.pl >>$$f; \
36 ${CAT} loadconfig.pl >>$$f; \ 36 ${CAT} loadconfig.pl >>$$f; \
37 done 37 done
38 38
39do-install: 39do-install:
40 for f in ${EXECUTABLES}; do \ 40 for f in ${EXECUTABLES}; do \
41 ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/sbin; \ 41 ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/sbin; \
42 done 42 done
43 for f in ${MAN5}; do \ 43 for f in ${MAN5}; do \
44 ${INSTALL_MAN} ${WRKSRC}/$$f \ 44 ${INSTALL_MAN} ${WRKSRC}/$$f \
45 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5; \ 45 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5; \
46 done 46 done
47 for f in ${MAN8}; do \ 47 for f in ${MAN8}; do \
48 ${INSTALL_MAN} ${WRKSRC}/$$f \ 48 ${INSTALL_MAN} ${WRKSRC}/$$f \
49 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \ 49 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \
50 done 50 done
51 for f in ${DOCS}; do \ 51 for f in ${DOCS}; do \
52 ${INSTALL_DATA} ${WRKSRC}/$$f \ 52 ${INSTALL_DATA} ${WRKSRC}/$$f \
53 ${DESTDIR}${PREFIX}/share/doc/dirvish; \ 53 ${DESTDIR}${PREFIX}/share/doc/dirvish; \
54 done 54 done
55 55
56.include "../../mk/bsd.pkg.mk" 56.include "../../mk/bsd.pkg.mk"