blob: d317e1c5030a9c4b73ce0191f4ed01b821d35c86 (
plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
# $NetBSD: options.mk,v 1.3 2009/01/04 00:38:11 adrianp Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.bugzilla
PKG_OPTIONS_REQUIRED_GROUPS= db
PKG_OPTIONS_GROUP.db= mysql pgsql oracle
PKG_SUPPORTED_OPTIONS= bugzilla-notify bugzilla-graphicalreports
PKG_SUPPORTED_OPTIONS+= bugzilla-inboundemail bugzilla-movebugs
PKG_SUPPORTED_OPTIONS+= bugzilla-imagemagick bugzilla-patchviewer
PKG_SUPPORTED_OPTIONS+= bugzilla-descriptions bugzilla-xmlrpc
PKG_SUPPORTED_OPTIONS+= bugzilla-modperl radius
PKG_SUPPORTED_OPTIONS+= mysql pgsql oracle ldap
PKG_SUGGESTED_OPTIONS= mysql
.include "../../mk/bsd.options.mk"
###
### Use mysql or postgresql backend
###
.if !empty(PKG_OPTIONS:Mmysql)
DEPENDS+= p5-DBD-mysql>=4.000:../../databases/p5-DBD-mysql
DBDRIVER= mysql
.elif !empty(PKG_OPTIONS:Mpgsql)
DEPENDS+= p5-DBD-postgresql>=1.45:../../databases/p5-DBD-postgresql
DBDRIVER= pg
.elif !empty(PKG_OPTIONS:Moracle)
DEPENDS+= p5-DBD-Oracle>=1.19:../../databases/p5-DBD-Oracle
DBDRIVER= oracle
.endif
###
### Automatic Update Notifications
###
.if !empty(PKG_OPTIONS:Mbugzilla-notify)
DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
.endif
###
### RADIUS authentication
###
.if !empty(PKG_OPTIONS:Mradius)
DEPENDS+= p5-RadiusPerl-[0-9]*:../../net/p5-RadiusPerl
.endif
###
### More HTML in Product/Group Descriptions
###
.if !empty(PKG_OPTIONS:Mbugzilla-descriptions)
DEPENDS+= p5-HTML-Scrubber-[0-9]*:../../www/p5-HTML-Scrubber
DEPENDS+= p5-HTML-Parser>=3.40:../../www/p5-HTML-Parser
.endif
###
### mod_perl
###
.if !empty(PKG_OPTIONS:Mbugzilla-modperl)
DEPENDS+= p5-CGI>=3.11:../../www/p5-CGI
DEPENDS+= p5-Apache-DBI>=0.96:../../databases/p5-Apache-DBI
. if defined(PKG_APACHE)
. if !empty(PKG_APACHE:Mapache2)
. include "../../www/ap2-perl/buildlink3.mk"
. elif !empty(PKG_APACHE:Mapache22)
. include "../../www/ap2-perl/buildlink3.mk"
. elif !empty(PKG_APACHE:Mapache13)
. include "../../www/ap-perl/buildlink3.mk"
. endif
. endif
.endif
###
### XML-RPC Interface
###
.if !empty(PKG_OPTIONS:Mbugzilla-xmlrpc)
DEPENDS+= p5-SOAP-Lite-[0-9]*:../../net/p5-SOAP-Lite
.endif
###
### Inbound Email
###
.if !empty(PKG_OPTIONS:Mbugzilla-inboundemail)
DEPENDS+= p5-Email-MIME-Attachment-Stripper-[0-9]*:../../mail/p5-Email-MIME-Attachment-Stripper
DEPENDS+= p5-Email-Reply-[0-9]*:../../mail/p5-Email-Reply
.endif
###
### If you want to convert BMP image attachments to PNG to conserve
### disk space.
###
.if !empty(PKG_OPTIONS:Mbugzilla-imagemagick)
DEPENDS+= p5-PerlMagick-[0-9]*:../../graphics/p5-PerlMagick
.endif
###
### Use OpenLDAP for authentication
###
.if !empty(PKG_OPTIONS:Mldap)
DEPENDS+= p5-perl-ldap-[0-9]*:../../databases/p5-perl-ldap
.endif
###
### Generation of graphical reports
###
.if !empty(PKG_OPTIONS:Mbugzilla-graphicalreports)
DEPENDS+= gd>=1.20:../../graphics/gd
DEPENDS+= p5-Chart>=1.0:../../graphics/p5-Chart
DEPENDS+= p5-GDTextUtil-[0-9]*:../../graphics/p5-GDTextUtil
DEPENDS+= p5-GDGraph-[0-9]*:../../graphics/p5-GDGraph
DEPENDS+= p5-Template-GD-[0-9]*:../../graphics/p5-Template-GD
.endif
###
### Patchviewer support
###
.if !empty(PKG_OPTIONS:Mbugzilla-patchviewer)
DEPENDS+= p5-PatchReader>=0.9.4:../../devel/p5-PatchReader
DEPENDS+= patchutils-[0-9]*:../../devel/patchutils
.endif
###
### Add support for bulk import/export of bugs in XML format
###
.if !empty(PKG_OPTIONS:Mbugzilla-movebugs)
DEPENDS+= p5-XML-Twig-[0-9]*:../../textproc/p5-XML-Twig
DEPENDS+= p5-MIME-tools>=5.406:../../mail/p5-MIME-tools
.endif
|