| @@ -1,221 +1,221 @@ | | | @@ -1,221 +1,221 @@ |
1 | # $NetBSD: Makefile,v 1.41 2022/08/21 20:44:05 markd Exp $ | | 1 | # $NetBSD: Makefile,v 1.42 2024/05/08 12:07:01 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= rt-4.2.16 | | 3 | DISTNAME= rt-4.2.16 |
4 | PKGNAME= ${DISTNAME:S/rt/rt4/} | | 4 | PKGNAME= ${DISTNAME:S/rt/rt4/} |
5 | PKGREVISION= 8 | | 5 | PKGREVISION= 9 |
6 | CATEGORIES= devel | | 6 | CATEGORIES= devel |
7 | MASTER_SITES= https://download.bestpractical.com/pub/rt/release/ | | 7 | MASTER_SITES= https://download.bestpractical.com/pub/rt/release/ |
8 | | | 8 | |
9 | MAINTAINER= ryoon@NetBSD.org | | 9 | MAINTAINER= ryoon@NetBSD.org |
10 | HOMEPAGE= http://www.bestpractical.com/rt/ | | 10 | HOMEPAGE= http://www.bestpractical.com/rt/ |
11 | COMMENT= Industrial-grade ticketing system | | 11 | COMMENT= Industrial-grade ticketing system |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | # Dependency info. from sbin/rt-test-dependencies | | 14 | # Dependency info. from sbin/rt-test-dependencies |
15 | # Core dependencies | | 15 | # Core dependencies |
16 | DEPENDS+= p5-Apache-Session>=1.53:../../www/p5-Apache-Session | | 16 | DEPENDS+= p5-Apache-Session>=1.53:../../www/p5-Apache-Session |
17 | DEPENDS+= p5-CGI>=3.38:../../www/p5-CGI | | 17 | DEPENDS+= p5-CGI>=3.38:../../www/p5-CGI |
18 | # CGI::Cookie is a part of p5-CGI. | | 18 | # CGI::Cookie is a part of p5-CGI. |
19 | DEPENDS+= p5-CGI-Emulate-PSGI-[0-9]*:../../www/p5-CGI-Emulate-PSGI | | 19 | DEPENDS+= p5-CGI-Emulate-PSGI-[0-9]*:../../www/p5-CGI-Emulate-PSGI |
20 | DEPENDS+= p5-CGI-PSGI-[0-9]*:../../www/p5-CGI-PSGI | | 20 | DEPENDS+= p5-CGI-PSGI-[0-9]*:../../www/p5-CGI-PSGI |
21 | DEPENDS+= p5-Class-Accessor>=0.34:../../devel/p5-Class-Accessor | | 21 | DEPENDS+= p5-Class-Accessor>=0.34:../../devel/p5-Class-Accessor |
22 | DEPENDS+= p5-Class-Tiny-[0-9]*:../../devel/p5-Class-Tiny | | 22 | DEPENDS+= p5-Class-Tiny-[0-9]*:../../devel/p5-Class-Tiny |
23 | DEPENDS+= p5-Crypt-Eksblowfish-[0-9]*:../../security/p5-Crypt-Eksblowfish | | 23 | DEPENDS+= p5-Crypt-Eksblowfish-[0-9]*:../../security/p5-Crypt-Eksblowfish |
24 | DEPENDS+= p5-CSS-Squish>=0.06:../../www/p5-CSS-Squish | | 24 | DEPENDS+= p5-CSS-Squish>=0.06:../../www/p5-CSS-Squish |
25 | DEPENDS+= p5-Date-Extract>=0.02:../../time/p5-Date-Extract | | 25 | DEPENDS+= p5-Date-Extract>=0.02:../../time/p5-Date-Extract |
26 | DEPENDS+= p5-Data-GUID-[0-9]*:../../devel/p5-Data-GUID | | 26 | DEPENDS+= p5-Data-GUID-[0-9]*:../../devel/p5-Data-GUID |
27 | DEPENDS+= p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip | | 27 | DEPENDS+= p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip |
28 | DEPENDS+= p5-Email-Address-List>=0.02:../../mail/p5-Email-Address-List | | 28 | DEPENDS+= p5-Email-Address-List>=0.02:../../mail/p5-Email-Address-List |
29 | DEPENDS+= p5-DateTime>=0.44:../../time/p5-DateTime | | 29 | DEPENDS+= p5-DateTime>=0.44:../../time/p5-DateTime |
30 | DEPENDS+= p5-DateTime-Format-Natural>0.67:../../time/p5-DateTime-Format-Natural | | 30 | DEPENDS+= p5-DateTime-Format-Natural>0.67:../../time/p5-DateTime-Format-Natural |
31 | DEPENDS+= p5-DateTime-Locale>=0.40:../../time/p5-DateTime-Locale | | 31 | DEPENDS+= p5-DateTime-Locale>=0.40:../../time/p5-DateTime-Locale |
32 | DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI | | 32 | DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI |
33 | DEPENDS+= p5-DBIx-SearchBuilder>=1.65:../../databases/p5-DBIx-SearchBuilder | | 33 | DEPENDS+= p5-DBIx-SearchBuilder>=1.65:../../databases/p5-DBIx-SearchBuilder |
34 | DEPENDS+= p5-Devel-GlobalDestruction-[0-9]*:../../devel/p5-Devel-GlobalDestruction | | 34 | DEPENDS+= p5-Devel-GlobalDestruction-[0-9]*:../../devel/p5-Devel-GlobalDestruction |
35 | DEPENDS+= p5-Devel-StackTrace>=1.19:../../devel/p5-Devel-StackTrace | | 35 | DEPENDS+= p5-Devel-StackTrace>=1.19:../../devel/p5-Devel-StackTrace |
36 | DEPENDS+= p5-Email-Address>=1.897:../../mail/p5-Email-Address | | 36 | DEPENDS+= p5-Email-Address>=1.897:../../mail/p5-Email-Address |
37 | DEPENDS+= p5-Email-Address-List-[0-9]*:../../mail/p5-Email-Address-List | | 37 | DEPENDS+= p5-Email-Address-List-[0-9]*:../../mail/p5-Email-Address-List |
38 | # Errno is a part of perl base. | | 38 | # Errno is a part of perl base. |
39 | # File::Glob is a part of perl base. | | 39 | # File::Glob is a part of perl base. |
40 | DEPENDS+= p5-File-ShareDir-[0-9]*:../../devel/p5-File-ShareDir | | 40 | DEPENDS+= p5-File-ShareDir-[0-9]*:../../devel/p5-File-ShareDir |
41 | # File::Spec is a part of perl base. | | 41 | # File::Spec is a part of perl base. |
42 | #DEPENDS+= {perl>=5.10.1,p5-File-Temp>=0.19}:../../devel/p5-File-Temp | | 42 | #DEPENDS+= {perl>=5.10.1,p5-File-Temp>=0.19}:../../devel/p5-File-Temp |
43 | # HTML::Entities is a part of p5-HTML-Parser. | | 43 | # HTML::Entities is a part of p5-HTML-Parser. |
44 | DEPENDS+= p5-HTML-FormatText-WithLinks>=0.14:../../textproc/p5-HTML-FormatText-WithLinks | | 44 | DEPENDS+= p5-HTML-FormatText-WithLinks>=0.14:../../textproc/p5-HTML-FormatText-WithLinks |
45 | DEPENDS+= p5-HTML-FormatText-WithLinks-AndTables-[0-9]*:../../textproc/p5-HTML-FormatText-WithLinks-AndTables | | 45 | DEPENDS+= p5-HTML-FormatText-WithLinks-AndTables-[0-9]*:../../textproc/p5-HTML-FormatText-WithLinks-AndTables |
46 | DEPENDS+= p5-HTML-Mason-PSGIHandler>=0.52:../../www/p5-HTML-Mason-PSGIHandler | | 46 | DEPENDS+= p5-HTML-Mason-PSGIHandler>=0.52:../../www/p5-HTML-Mason-PSGIHandler |
47 | DEPENDS+= p5-HTML-Quoted-[0-9]*:../../www/p5-HTML-Quoted | | 47 | DEPENDS+= p5-HTML-Quoted-[0-9]*:../../www/p5-HTML-Quoted |
48 | DEPENDS+= p5-HTML-RewriteAttributes>=0.05:../../www/p5-HTML-RewriteAttributes | | 48 | DEPENDS+= p5-HTML-RewriteAttributes>=0.05:../../www/p5-HTML-RewriteAttributes |
49 | DEPENDS+= p5-HTML-Scrubber>=0.08:../../www/p5-HTML-Scrubber | | 49 | DEPENDS+= p5-HTML-Scrubber>=0.08:../../www/p5-HTML-Scrubber |
50 | DEPENDS+= p5-IPC-Run3-[0-9]*:../../devel/p5-IPC-Run3 | | 50 | DEPENDS+= p5-IPC-Run3-[0-9]*:../../devel/p5-IPC-Run3 |
51 | DEPENDS+= p5-JSON-[0-9]*:../../converters/p5-JSON | | 51 | DEPENDS+= p5-JSON-[0-9]*:../../converters/p5-JSON |
52 | DEPENDS+= p5-JSON-MaybeXS-[0-9]*:../../converters/p5-JSON-MaybeXS | | 52 | DEPENDS+= p5-JSON-MaybeXS-[0-9]*:../../converters/p5-JSON-MaybeXS |
53 | DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils | | 53 | DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils |
54 | #DEPENDS+= {perl>=5.20.0,p5-Locale-Maketext>=1.06}:../../misc/p5-Locale-Maketext | | 54 | #DEPENDS+= {perl>=5.20.0,p5-Locale-Maketext>=1.06}:../../misc/p5-Locale-Maketext |
55 | DEPENDS+= p5-Locale-Maketext-Fuzzy-[0-9]*:../../misc/p5-Locale-Maketext-Fuzzy | | 55 | DEPENDS+= p5-Locale-Maketext-Fuzzy-[0-9]*:../../misc/p5-Locale-Maketext-Fuzzy |
56 | DEPENDS+= p5-Locale-Maketext-Lexicon>=0.32:../../misc/p5-Locale-Maketext-Lexicon | | 56 | DEPENDS+= p5-Locale-Maketext-Lexicon>=0.32:../../misc/p5-Locale-Maketext-Lexicon |
57 | DEPENDS+= p5-Locale-PO-[0-9]*:../../devel/p5-Locale-PO | | 57 | DEPENDS+= p5-Locale-PO-[0-9]*:../../devel/p5-Locale-PO |
58 | DEPENDS+= p5-Log-Dispatch>=2.30:../../devel/p5-Log-Dispatch | | 58 | DEPENDS+= p5-Log-Dispatch>=2.30:../../devel/p5-Log-Dispatch |
59 | # Mail::Header is a part of p5-MailTools. | | 59 | # Mail::Header is a part of p5-MailTools. |
60 | DEPENDS+= p5-MailTools>=1.57:../../mail/p5-MailTools | | 60 | DEPENDS+= p5-MailTools>=1.57:../../mail/p5-MailTools |
61 | # Mail::Mailer is a part of p5-MailTools. | | 61 | # Mail::Mailer is a part of p5-MailTools. |
62 | DEPENDS+= p5-MIME-tools>=5.504:../../mail/p5-MIME-tools | | 62 | DEPENDS+= p5-MIME-tools>=5.504:../../mail/p5-MIME-tools |
63 | DEPENDS+= p5-Module-Refresh>=0.03:../../devel/p5-Module-Refresh | | 63 | DEPENDS+= p5-Module-Refresh>=0.03:../../devel/p5-Module-Refresh |
64 | DEPENDS+= p5-Module-Versions-Report>=1.05:../../devel/p5-Module-Versions-Report | | 64 | DEPENDS+= p5-Module-Versions-Report>=1.05:../../devel/p5-Module-Versions-Report |
65 | DEPENDS+= p5-Net-CIDR-[0-9]*:../../devel/p5-Net-CIDR | | 65 | DEPENDS+= p5-Net-CIDR-[0-9]*:../../devel/p5-Net-CIDR |
66 | DEPENDS+= p5-Plack>=1.0002:../../www/p5-Plack | | 66 | DEPENDS+= p5-Plack>=1.0002:../../www/p5-Plack |
67 | # Plack::Handler::Starlet is a part of p5-Startlet. | | 67 | # Plack::Handler::Starlet is a part of p5-Startlet. |
68 | DEPENDS+= p5-Starlet-[0-9]*:../../www/p5-Starlet | | 68 | DEPENDS+= p5-Starlet-[0-9]*:../../www/p5-Starlet |
69 | DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common | | 69 | DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common |
70 | DEPENDS+= p5-Regexp-Common-net-CIDR-[0-9]*:../../net/p5-Regexp-Common-net-CIDR | | 70 | DEPENDS+= p5-Regexp-Common-net-CIDR-[0-9]*:../../net/p5-Regexp-Common-net-CIDR |
71 | DEPENDS+= p5-Regexp-IPv6-[0-9]*:../../net/p5-Regexp-IPv6 | | 71 | DEPENDS+= p5-Regexp-IPv6-[0-9]*:../../net/p5-Regexp-IPv6 |
72 | DEPENDS+= p5-Role-Basic-[0-9]*:../../devel/p5-Role-Basic | | 72 | DEPENDS+= p5-Role-Basic-[0-9]*:../../devel/p5-Role-Basic |
73 | # Scalar::Util is a part of p5-Scalar-List-Utils. | | 73 | # Scalar::Util is a part of p5-Scalar-List-Utils. |
74 | DEPENDS+= p5-Scalar-List-Utils-[0-9]*:../../devel/p5-Scalar-List-Utils | | 74 | DEPENDS+= p5-Scalar-List-Utils-[0-9]*:../../devel/p5-Scalar-List-Utils |
75 | #DEPENDS+= {perl>=5.8.1,p5-Storable>=2.08}:../../devel/p5-Storable | | 75 | #DEPENDS+= {perl>=5.8.1,p5-Storable>=2.08}:../../devel/p5-Storable |
76 | DEPENDS+= p5-Symbol-Global-Name>=0.04:../../devel/p5-Symbol-Global-Name | | 76 | DEPENDS+= p5-Symbol-Global-Name>=0.04:../../devel/p5-Symbol-Global-Name |
77 | #DEPENDS+= {perl>=5.8.9,p5-Sys-Syslog>=0.16}:../../sysutils/p5-Sys-Syslog | | 77 | #DEPENDS+= {perl>=5.8.9,p5-Sys-Syslog>=0.16}:../../sysutils/p5-Sys-Syslog |
78 | DEPENDS+= p5-Text-Password-Pronounceable-[0-9]*:../../security/p5-Text-Password-Pronounceable | | 78 | DEPENDS+= p5-Text-Password-Pronounceable-[0-9]*:../../security/p5-Text-Password-Pronounceable |
79 | DEPENDS+= p5-Text-Quoted>=2.02:../../textproc/p5-Text-Quoted | | 79 | DEPENDS+= p5-Text-Quoted>=2.02:../../textproc/p5-Text-Quoted |
80 | DEPENDS+= p5-Text-Template>=1.44:../../textproc/p5-Text-Template | | 80 | DEPENDS+= p5-Text-Template>=1.44:../../textproc/p5-Text-Template |
81 | DEPENDS+= p5-Symbol-Global-Name>=0.05:../../devel/p5-Symbol-Global-Name | | 81 | DEPENDS+= p5-Symbol-Global-Name>=0.05:../../devel/p5-Symbol-Global-Name |
82 | DEPENDS+= p5-Text-WikiFormat>=0.76:../../textproc/p5-Text-WikiFormat | | 82 | DEPENDS+= p5-Text-WikiFormat>=0.76:../../textproc/p5-Text-WikiFormat |
83 | DEPENDS+= p5-Text-Wrapper-[0-9]*:../../textproc/p5-Text-Wrapper | | 83 | DEPENDS+= p5-Text-Wrapper-[0-9]*:../../textproc/p5-Text-Wrapper |
84 | #DEPENDS+= {perl>=5.7.3,p5-Time-HiRes-[0-9]*}:../../time/p5-Time-HiRes | | 84 | #DEPENDS+= {perl>=5.7.3,p5-Time-HiRes-[0-9]*}:../../time/p5-Time-HiRes |
85 | # Time::ParseDate is a part of p5-Time-modules. | | 85 | # Time::ParseDate is a part of p5-Time-modules. |
86 | DEPENDS+= p5-Time-modules-[0-9]*:../../time/p5-Time-modules | | 86 | DEPENDS+= p5-Time-modules-[0-9]*:../../time/p5-Time-modules |
87 | DEPENDS+= p5-Tree-Simple>=1.04:../../devel/p5-Tree-Simple | | 87 | DEPENDS+= p5-Tree-Simple>=1.04:../../devel/p5-Tree-Simple |
88 | DEPENDS+= p5-UNIVERSAL-require-[0-9]*:../../devel/p5-UNIVERSAL-require | | 88 | DEPENDS+= p5-UNIVERSAL-require-[0-9]*:../../devel/p5-UNIVERSAL-require |
89 | DEPENDS+= p5-XML-RSS>=1.05:../../textproc/p5-XML-RSS | | 89 | DEPENDS+= p5-XML-RSS>=1.05:../../textproc/p5-XML-RSS |
90 | DEPENDS+= p5-HTML-Mason>=1.43:../../www/p5-HTML-Mason | | 90 | DEPENDS+= p5-HTML-Mason>=1.43:../../www/p5-HTML-Mason |
91 | | | 91 | |
92 | # Mailgate dependencies | | 92 | # Mailgate dependencies |
93 | # Net::SSL is a part of p5-Crypt-SSLeay. | | 93 | # Net::SSL is a part of p5-Crypt-SSLeay. |
94 | DEPENDS+= p5-Crypt-SSLeay-[0-9]*:../../security/p5-Crypt-SSLeay | | 94 | DEPENDS+= p5-Crypt-SSLeay-[0-9]*:../../security/p5-Crypt-SSLeay |
95 | #DEPENDS+= {perl>=5,p5-Getopt-Long-[0-9]*}:../../devel/p5-Getopt-Long | | 95 | #DEPENDS+= {perl>=5,p5-Getopt-Long-[0-9]*}:../../devel/p5-Getopt-Long |
96 | DEPENDS+= p5-LWP-Protocol-https-[0-9]*:../../www/p5-LWP-Protocol-https | | 96 | DEPENDS+= p5-LWP-Protocol-https-[0-9]*:../../www/p5-LWP-Protocol-https |
97 | # LWP::UserAgent is a part of p5-libwww. | | 97 | # LWP::UserAgent is a part of p5-libwww. |
98 | DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww | | 98 | DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww |
99 | DEPENDS+= p5-Mozilla-CA-[0-9]*:../../security/p5-Mozilla-CA | | 99 | DEPENDS+= p5-Mozilla-CA-[0-9]*:../../security/p5-Mozilla-CA |
100 | #DEPENDS+= {perl>=5.6.0,p5-Pod-Usage-[0-9]*}:../../devel/p5-Pod-Usage | | 100 | #DEPENDS+= {perl>=5.6.0,p5-Pod-Usage-[0-9]*}:../../devel/p5-Pod-Usage |
101 | | | 101 | |
102 | # CLI dependencies | | 102 | # CLI dependencies |
103 | # p5-Getopt-Long is duplicate with Mailgate dependencies. | | 103 | # p5-Getopt-Long is duplicate with Mailgate dependencies. |
104 | # HTTP::Request::Common is a part of p5-HTTP-Message. | | 104 | # HTTP::Request::Common is a part of p5-HTTP-Message. |
105 | DEPENDS+= p5-HTTP-Message-[0-9]*:../../www/p5-HTTP-Message | | 105 | DEPENDS+= p5-HTTP-Message-[0-9]*:../../www/p5-HTTP-Message |
106 | # LWP is a pert of perl base. | | 106 | # LWP is a pert of perl base. |
107 | DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey | | 107 | DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey |
108 | # Term::ReadLine is a part of perl base. | | 108 | # Term::ReadLine is a part of perl base. |
109 | # Text::ParseWords is a pert of perl base. | | 109 | # Text::ParseWords is a pert of perl base. |
110 | | | 110 | |
111 | # Developer dependencies | | 111 | # Developer dependencies |
112 | # These are not used for normal use. | | 112 | # These are not used for normal use. |
113 | | | 113 | |
114 | # DASHBOARD dependencies | | 114 | # DASHBOARD dependencies |
115 | DEPENDS+= p5-URI>=1.59:../../www/p5-URI | | 115 | DEPENDS+= p5-URI>=1.59:../../www/p5-URI |
116 | DEPENDS+= p5-MIME-Types-[0-9]*:../../mail/p5-MIME-Types | | 116 | DEPENDS+= p5-MIME-Types-[0-9]*:../../mail/p5-MIME-Types |
117 | # URI::QueryParam is a part of p5-URI. | | 117 | # URI::QueryParam is a part of p5-URI. |
118 | | | 118 | |
119 | # GD dependencies | | 119 | # GD dependencies |
120 | DEPENDS+= p5-GD-[0-9]*:../../graphics/p5-GD | | 120 | DEPENDS+= p5-GD-[0-9]*:../../graphics/p5-GD |
121 | DEPENDS+= p5-GDGraph-[0-9]*:../../graphics/p5-GDGraph | | 121 | DEPENDS+= p5-GDGraph-[0-9]*:../../graphics/p5-GDGraph |
122 | # GD::Text is a part of p5-GDTextUtil. | | 122 | # GD::Text is a part of p5-GDTextUtil. |
123 | DEPENDS+= p5-GDTextUtil-[0-9]*:../../graphics/p5-GDTextUtil | | 123 | DEPENDS+= p5-GDTextUtil-[0-9]*:../../graphics/p5-GDTextUtil |
124 | | | 124 | |
125 | # Graphviz dependencies | | 125 | # Graphviz dependencies |
126 | DEPENDS+= p5-GraphViz-[0-9]*:../../graphics/p5-GraphViz | | 126 | DEPENDS+= p5-GraphViz-[0-9]*:../../graphics/p5-GraphViz |
127 | | | 127 | |
128 | # GPG dependencies | | 128 | # GPG dependencies |
129 | DEPENDS+= p5-File-Which-[0-9]*:../../devel/p5-File-Which | | 129 | DEPENDS+= p5-File-Which-[0-9]*:../../devel/p5-File-Which |
130 | DEPENDS+= p5-GnuPG-Interface-[0-9]*:../../security/p5-GnuPG-Interface | | 130 | DEPENDS+= p5-GnuPG-Interface-[0-9]*:../../security/p5-GnuPG-Interface |
131 | DEPENDS+= p5-PerlIO-eol-[0-9]*:../../devel/p5-PerlIO-eol | | 131 | DEPENDS+= p5-PerlIO-eol-[0-9]*:../../devel/p5-PerlIO-eol |
132 | | | 132 | |
133 | # ICAL dependency | | 133 | # ICAL dependency |
134 | DEPENDS+= p5-Data-ICal-[0-9]*:../../time/p5-Data-ICal | | 134 | DEPENDS+= p5-Data-ICal-[0-9]*:../../time/p5-Data-ICal |
135 | | | 135 | |
136 | # SMIME dependencies | | 136 | # SMIME dependencies |
137 | DEPENDS+= p5-String-ShellQuote-[0-9]*:../../textproc/p5-String-ShellQuote | | 137 | DEPENDS+= p5-String-ShellQuote-[0-9]*:../../textproc/p5-String-ShellQuote |
138 | DEPENDS+= p5-Crypt-X509-[0-9]*:../../security/p5-Crypt-X509 | | 138 | DEPENDS+= p5-Crypt-X509-[0-9]*:../../security/p5-Crypt-X509 |
139 | # File::Which is in GPG dependencies. | | 139 | # File::Which is in GPG dependencies. |
140 | | | 140 | |
141 | # USERLOGO dependency | | 141 | # USERLOGO dependency |
142 | # Module::Pluggable will be removed from the Perl core distribution... | | 142 | # Module::Pluggable will be removed from the Perl core distribution... |
143 | DEPENDS+= p5-Module-Pluggable-[0-9]*:../../devel/p5-Module-Pluggable | | 143 | DEPENDS+= p5-Module-Pluggable-[0-9]*:../../devel/p5-Module-Pluggable |
144 | DEPENDS+= p5-Convert-Color-[0-9]*:../../converters/p5-Convert-Color | | 144 | DEPENDS+= p5-Convert-Color-[0-9]*:../../converters/p5-Convert-Color |
145 | | | 145 | |
146 | DEPENDS+= p5-Text-Reform-[0-9]*:../../textproc/p5-Text-Reform | | 146 | DEPENDS+= p5-Text-Reform-[0-9]*:../../textproc/p5-Text-Reform |
147 | | | 147 | |
148 | DEPENDS+= p5-Sub-HandlesVia-[0-9]*:../../devel/p5-Sub-HandlesVia | | 148 | DEPENDS+= p5-Sub-HandlesVia-[0-9]*:../../devel/p5-Sub-HandlesVia |
149 | | | 149 | |
150 | | | 150 | |
151 | .include "dirs.mk" | | 151 | .include "dirs.mk" |
152 | .include "options.mk" | | 152 | .include "options.mk" |
153 | | | 153 | |
154 | RT4DIR= ${PREFIX}/share/rt4 | | 154 | RT4DIR= ${PREFIX}/share/rt4 |
155 | | | 155 | |
156 | BUILD_DEFS+= APACHE_GROUP APACHE_USER | | 156 | BUILD_DEFS+= APACHE_GROUP APACHE_USER |
157 | FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \ | | 157 | FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \ |
158 | RT4DIR=${RT4DIR} | | 158 | RT4DIR=${RT4DIR} |
159 | | | 159 | |
160 | SUBST_CLASSES+= prefix | | 160 | SUBST_CLASSES+= prefix |
161 | SUBST_STAGE.prefix= pre-configure | | 161 | SUBST_STAGE.prefix= pre-configure |
162 | SUBST_MESSAGE.prefix= Setting prefix. | | 162 | SUBST_MESSAGE.prefix= Setting prefix. |
163 | SUBST_FILES.prefix= config.layout | | 163 | SUBST_FILES.prefix= config.layout |
164 | SUBST_VARS.prefix= PREFIX PKG_SYSCONFDIR PKGMANDIR | | 164 | SUBST_VARS.prefix= PREFIX PKG_SYSCONFDIR PKGMANDIR |
165 | SUBST_VARS.prefix+= RT4DIR | | 165 | SUBST_VARS.prefix+= RT4DIR |
166 | SUBST_VARS.prefix+= RT_VAR_DIR RT_LOCAL_DIR | | 166 | SUBST_VARS.prefix+= RT_VAR_DIR RT_LOCAL_DIR |
167 | | | 167 | |
168 | SUBST_CLASSES+= etcpath | | 168 | SUBST_CLASSES+= etcpath |
169 | SUBST_MESSAGE.etcpath= Setting non-sysconfdir etcpath | | 169 | SUBST_MESSAGE.etcpath= Setting non-sysconfdir etcpath |
170 | SUBST_FILES.etcpath= sbin/rt-setup-database.in | | 170 | SUBST_FILES.etcpath= sbin/rt-setup-database.in |
171 | SUBST_FILES.etcpath+= share/html/Install/Initialize.html | | 171 | SUBST_FILES.etcpath+= share/html/Install/Initialize.html |
172 | SUBST_FILES.etcpath+= lib/RT/Handle.pm | | 172 | SUBST_FILES.etcpath+= lib/RT/Handle.pm |
173 | SUBST_SED.etcpath= -e 's,\$$RT::EtcPath,"${PREFIX}/share/rt4/etc",' | | 173 | SUBST_SED.etcpath= -e 's,\$$RT::EtcPath,"${PREFIX}/share/rt4/etc",' |
174 | SUBST_STAGE.etcpath= pre-configure | | 174 | SUBST_STAGE.etcpath= pre-configure |
175 | | | 175 | |
176 | SUBST_CLASSES+= egpath | | 176 | SUBST_CLASSES+= egpath |
177 | SUBST_FILES.egpath= Makefile.in | | 177 | SUBST_FILES.egpath= Makefile.in |
178 | SUBST_SED.egpath= -e 's,@CONFIG_FILE_PATH_R@,${RT_EXAMPLE_DIR},' | | 178 | SUBST_SED.egpath= -e 's,@CONFIG_FILE_PATH_R@,${RT_EXAMPLE_DIR},' |
179 | SUBST_SED.egpath+= -e 's,@RT_ETC_PATH_R@,${RT4DIR}/etc,' | | 179 | SUBST_SED.egpath+= -e 's,@RT_ETC_PATH_R@,${RT4DIR}/etc,' |
180 | SUBST_STAGE.egpath= pre-configure | | 180 | SUBST_STAGE.egpath= pre-configure |
181 | | | 181 | |
182 | GNU_CONFIGURE= yes | | 182 | GNU_CONFIGURE= yes |
183 | NO_BUILD= yes | | 183 | NO_BUILD= yes |
184 | USE_LANGUAGES= c | | 184 | USE_LANGUAGES= c |
185 | USE_TOOLS+= perl:run | | 185 | USE_TOOLS+= perl:run |
186 | PKG_SYSCONFSUBDIR= rt4 | | 186 | PKG_SYSCONFSUBDIR= rt4 |
187 | | | 187 | |
188 | USE_PKGLOCALEDIR= yes | | 188 | USE_PKGLOCALEDIR= yes |
189 | | | 189 | |
190 | CONFIGURE_ARGS+= --enable-layout=pkgsrc | | 190 | CONFIGURE_ARGS+= --enable-layout=pkgsrc |
191 | CONFIGURE_ARGS+= --with-db-type=${RT_DB_TYPE} | | 191 | CONFIGURE_ARGS+= --with-db-type=${RT_DB_TYPE} |
192 | | | 192 | |
193 | RT_CONFIG_FILES= RT_Config.pm RT_SiteConfig.pm | | 193 | RT_CONFIG_FILES= RT_Config.pm RT_SiteConfig.pm |
194 | | | 194 | |
195 | .for _file_ in ${RT_CONFIG_FILES} | | 195 | .for _file_ in ${RT_CONFIG_FILES} |
196 | CONF_FILES_PERMS+= ${RT_EXAMPLE_DIR}/${_file_} \ | | 196 | CONF_FILES_PERMS+= ${RT_EXAMPLE_DIR}/${_file_} \ |
197 | ${PKG_SYSCONFDIR}/${_file_} \ | | 197 | ${PKG_SYSCONFDIR}/${_file_} \ |
198 | ${APACHE_USER} ${APACHE_GROUP} \ | | 198 | ${APACHE_USER} ${APACHE_GROUP} \ |
199 | 444 | | 199 | 444 |
200 | .endfor | | 200 | .endfor |
201 | | | 201 | |
202 | OWN_DIRS+= ${RT_VAR_DIR} ${RT_LOCAL_DIR} ${RT_LOCAL_DIR}/etc | | 202 | OWN_DIRS+= ${RT_VAR_DIR} ${RT_LOCAL_DIR} ${RT_LOCAL_DIR}/etc |
203 | OWN_DIRS+= ${RT_LOCAL_DIR}/lib ${RT_LOCAL_DIR}/po ${RT_LOCAL_DIR}/plugins | | 203 | OWN_DIRS+= ${RT_LOCAL_DIR}/lib ${RT_LOCAL_DIR}/po ${RT_LOCAL_DIR}/plugins |
204 | OWN_DIRS+= ${RT_LOCAL_DIR}/html ${RT_LOCAL_DIR}/static | | 204 | OWN_DIRS+= ${RT_LOCAL_DIR}/html ${RT_LOCAL_DIR}/static |
205 | | | 205 | |
206 | OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data ${APACHE_USER} ${APACHE_GROUP} 0770 | | 206 | OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data ${APACHE_USER} ${APACHE_GROUP} 0770 |
207 | OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data/cache ${APACHE_USER} ${APACHE_GROUP} 0770 | | 207 | OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data/cache ${APACHE_USER} ${APACHE_GROUP} 0770 |
208 | OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data/etc ${APACHE_USER} ${APACHE_GROUP} 0770 | | 208 | OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data/etc ${APACHE_USER} ${APACHE_GROUP} 0770 |
209 | OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data/obj ${APACHE_USER} ${APACHE_GROUP} 0770 | | 209 | OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data/obj ${APACHE_USER} ${APACHE_GROUP} 0770 |
210 | OWN_DIRS_PERMS+= ${RT_VAR_DIR}/session_data ${APACHE_USER} ${APACHE_GROUP} 0770 | | 210 | OWN_DIRS_PERMS+= ${RT_VAR_DIR}/session_data ${APACHE_USER} ${APACHE_GROUP} 0770 |
211 | | | 211 | |
212 | REPLACE_PERL+= etc/upgrade/upgrade-mysql-schema.pl | | 212 | REPLACE_PERL+= etc/upgrade/upgrade-mysql-schema.pl |
213 | | | 213 | |
214 | INSTALL_MAKE_FLAGS+= BIN_OWNER=${ROOT_USER:Q} LIBS_OWNER=${ROOT_USER:Q} \ | | 214 | INSTALL_MAKE_FLAGS+= BIN_OWNER=${ROOT_USER:Q} LIBS_OWNER=${ROOT_USER:Q} \ |
215 | LIBS_GROUP=${ROOT_GROUP:Q} RTGROUP=${ROOT_GROUP:Q} \ | | 215 | LIBS_GROUP=${ROOT_GROUP:Q} RTGROUP=${ROOT_GROUP:Q} \ |
216 | WEB_USER=${ROOT_USER:Q} WEB_GROUP=${ROOT_GROUP:Q} | | 216 | WEB_USER=${ROOT_USER:Q} WEB_GROUP=${ROOT_GROUP:Q} |
217 | | | 217 | |
218 | post-patch: | | 218 | post-patch: |
219 | rm ${WRKSRC}/lib/RT/Condition.pm.orig | | 219 | rm ${WRKSRC}/lib/RT/Condition.pm.orig |
220 | | | 220 | |
221 | .include "../../mk/bsd.pkg.mk" | | 221 | .include "../../mk/bsd.pkg.mk" |