Ticket #5525: Portfile.2

File Portfile.2, 6.1 KB (added by drernie@…, 19 years ago)

Rev 3 Portfile, w/patch and keepdirs

Line 
1# $Id: Portfile,v 1.9 2003/09/18 20:32:16 wbb4 Exp $
2
3PortSystem              1.0
4
5name                    DarwinPorts
6version                 1.1
7categories              sysutils
8platforms               darwin freebsd
9# depends_run   port:PortAuthority
10# The following are only suggested maintainers, pick as you see fit
11maintainers             michaelm@opendarwin.org matt@opendarwin.org \
12 jmpp@opendarwin.org drernie@opendarwin.org jkh@opendarwin.org olegb@opendarwin.org
13
14description             The DarwinPorts Infrastructure
15long_description        DarwinPorts provides the infrastructure that allows easy installation \
16                        of freely available software on a Mac OS X 10.2 (or Darwin 6.0.1) or \
17                        newer system.
18
19homepage                http://www.darwinports.org
20master_sites            ${homepage}/downloads
21use_bzip2               yes
22checksums               rmd160 7261cd81db9fa1060bf768dafdf8e147e393476a
23
24patchfiles              patch-Makefiles_all
25
26configure.args          --mandir=${prefix}/share/man
27
28destroot.keepdirs ${destroot}${prefix}/include\
29        ${destroot}${prefix}/lib ${destroot}${prefix}/libexec\
30        ${destroot}${prefix}/sbin\
31        ${destroot}${prefix}/share/info\
32        ${destroot}${prefix}/share/man/cat1 ${destroot}${prefix}/share/man/cat2 ${destroot}${prefix}/share/man/cat3\
33        ${destroot}${prefix}/share/man/cat4 ${destroot}${prefix}/share/man/cat5 ${destroot}${prefix}/share/man/cat6\
34        ${destroot}${prefix}/share/man/cat7 ${destroot}${prefix}/share/man/cat8 ${destroot}${prefix}/share/man/cat9\
35        ${destroot}${prefix}/share/man/catl ${destroot}${prefix}/share/man/catn \
36        ${destroot}${prefix}/share/man/man1 ${destroot}${prefix}/share/man/man2 ${destroot}${prefix}/share/man/man3\
37        ${destroot}${prefix}/share/man/man4 ${destroot}${prefix}/share/man/man5 ${destroot}${prefix}/share/man/man6\
38        ${destroot}${prefix}/share/man/man7 ${destroot}${prefix}/share/man/man8 ${destroot}${prefix}/share/man/man9\
39        ${destroot}${prefix}/share/man/manl ${destroot}${prefix}/share/man/mann \
40        ${destroot}${prefix}/share/nls/C ${destroot}${prefix}/share/nls/skel\
41        ${destroot}${prefix}/share/nls/af_ZA.ISO8859-1\
42        ${destroot}${prefix}/share/nls/af_ZA.ISO8859-15\
43        ${destroot}${prefix}/share/nls/bg_BG.CP1251\
44        ${destroot}${prefix}/share/nls/cs_CZ.ISO8859-2\
45        ${destroot}${prefix}/share/nls/da_DK.ISO8859-1\
46        ${destroot}${prefix}/share/nls/da_DK.ISO8859-15\
47        ${destroot}${prefix}/share/nls/de_AT.ISO8859-1\
48        ${destroot}${prefix}/share/nls/de_AT.ISO8859-15\
49        ${destroot}${prefix}/share/nls/de_CH.ISO8859-1\
50        ${destroot}${prefix}/share/nls/de_CH.ISO8859-15\
51        ${destroot}${prefix}/share/nls/de_DE.ISO8859-1\
52        ${destroot}${prefix}/share/nls/de_DE.ISO8859-15\
53        ${destroot}${prefix}/share/nls/el_GR.ISO8859-7\
54        ${destroot}${prefix}/share/nls/en_AU.ISO8859-1\
55        ${destroot}${prefix}/share/nls/en_AU.ISO8859-15\
56        ${destroot}${prefix}/share/nls/en_AU.US-ASCII\
57        ${destroot}${prefix}/share/nls/en_CA.ISO8859-1\
58        ${destroot}${prefix}/share/nls/en_CA.ISO8859-15\
59        ${destroot}${prefix}/share/nls/en_CA.US-ASCII\
60        ${destroot}${prefix}/share/nls/en_GB.ISO8859-1\
61        ${destroot}${prefix}/share/nls/en_GB.ISO8859-15\
62        ${destroot}${prefix}/share/nls/en_GB.US-ASCII\
63        ${destroot}${prefix}/share/nls/en_NZ.ISO8859-1\
64        ${destroot}${prefix}/share/nls/en_NZ.ISO8859-15\
65        ${destroot}${prefix}/share/nls/en_NZ.US-ASCII\
66        ${destroot}${prefix}/share/nls/en_US.ISO8859-1\
67        ${destroot}${prefix}/share/nls/en_US.ISO8859-15\
68        ${destroot}${prefix}/share/nls/es_ES.ISO8859-1\
69        ${destroot}${prefix}/share/nls/es_ES.ISO8859-15\
70        ${destroot}${prefix}/share/nls/et_EE.ISO8859-15\
71        ${destroot}${prefix}/share/nls/fi_FI.ISO8859-1\
72        ${destroot}${prefix}/share/nls/fi_FI.ISO8859-15\
73        ${destroot}${prefix}/share/nls/fr_BE.ISO8859-1\
74        ${destroot}${prefix}/share/nls/fr_BE.ISO8859-15\
75        ${destroot}${prefix}/share/nls/fr_CA.ISO8859-1\
76        ${destroot}${prefix}/share/nls/fr_CA.ISO8859-15\
77        ${destroot}${prefix}/share/nls/fr_CH.ISO8859-1\
78        ${destroot}${prefix}/share/nls/fr_CH.ISO8859-15\
79        ${destroot}${prefix}/share/nls/fr_FR.ISO8859-1\
80        ${destroot}${prefix}/share/nls/fr_FR.ISO8859-15\
81        ${destroot}${prefix}/share/nls/hi_IN.ISCII-DEV\
82        ${destroot}${prefix}/share/nls/hr_HR.ISO8859-2\
83        ${destroot}${prefix}/share/nls/hu_HU.ISO8859-2\
84        ${destroot}${prefix}/share/nls/is_IS.ISO8859-1\
85        ${destroot}${prefix}/share/nls/is_IS.ISO8859-15\
86        ${destroot}${prefix}/share/nls/it_CH.ISO8859-1\
87        ${destroot}${prefix}/share/nls/it_CH.ISO8859-15\
88        ${destroot}${prefix}/share/nls/it_IT.ISO8859-1\
89        ${destroot}${prefix}/share/nls/it_IT.ISO8859-15\
90        ${destroot}${prefix}/share/nls/ja_JP.SJIS\
91        ${destroot}${prefix}/share/nls/ja_JP.eucJP\
92        ${destroot}${prefix}/share/nls/ko_KR.eucKR\
93        ${destroot}${prefix}/share/nls/la_LN.ISO8859-1\
94        ${destroot}${prefix}/share/nls/la_LN.ISO8859-15\
95        ${destroot}${prefix}/share/nls/la_LN.ISO8859-2\
96        ${destroot}${prefix}/share/nls/la_LN.ISO8859-4\
97        ${destroot}${prefix}/share/nls/la_LN.US-ASCII\
98        ${destroot}${prefix}/share/nls/lt_LT.ISO8859-4\
99        ${destroot}${prefix}/share/nls/nl_BE.ISO8859-1\
100        ${destroot}${prefix}/share/nls/nl_BE.ISO8859-15\
101        ${destroot}${prefix}/share/nls/nl_NL.ISO8859-1\
102        ${destroot}${prefix}/share/nls/nl_NL.ISO8859-15\
103        ${destroot}${prefix}/share/nls/no_NO.ISO8859-1\
104        ${destroot}${prefix}/share/nls/no_NO.ISO8859-15\
105        ${destroot}${prefix}/share/nls/pl_PL.ISO8859-2\
106        ${destroot}${prefix}/share/nls/pt_BR.ISO8859-1\
107        ${destroot}${prefix}/share/nls/pt_PT.ISO8859-1\
108        ${destroot}${prefix}/share/nls/pt_PT.ISO8859-15\
109        ${destroot}${prefix}/share/nls/ro_RO.ISO8859-2\
110        ${destroot}${prefix}/share/nls/ru_RU.CP866\
111        ${destroot}${prefix}/share/nls/ru_RU.ISO8859-5\
112        ${destroot}${prefix}/share/nls/ru_RU.KOI8-R\
113        ${destroot}${prefix}/share/nls/sk_SK.ISO8859-2\
114        ${destroot}${prefix}/share/nls/sl_SI.ISO8859-2\
115        ${destroot}${prefix}/share/nls/sv_SE.ISO8859-1\
116        ${destroot}${prefix}/share/nls/sv_SE.ISO8859-15\
117        ${destroot}${prefix}/share/nls/tr_TR.ISO8859-9\
118        ${destroot}${prefix}/share/nls/uk_UA.ISO8859-5\
119        ${destroot}${prefix}/share/nls/uk_UA.KOI8-U\
120        ${destroot}${prefix}/share/nls/zh_CN.eucCN\
121        ${destroot}${prefix}/share/nls/zh_TW.Big5\
122        ${destroot}${prefix}/var/db/dports/distfiles ${destroot}${prefix}/var/db/dports/receipts
123
124
125post-pkg {
126        set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
127        file copy -force -- ${filespath}/ReadMe.rtf ${resources}
128        file copy -force -- ${filespath}/License.html ${resources}
129        file copy -force -- ${filespath}/postflight ${resources}
130}