Ticket #355: Portfile

File Portfile, 1.0 KB (added by jpm@…, 21 years ago)

Portfile

Line 
1PortSystem 1.0
2name            aklog
3version         20010401
4categories      net security
5revision        0
6maintainers     ssen@opendarwin.org
7description     convert Kerberos tickets to AFS tokens
8long_description        aklog is used to translate an existing \
9                Kerberos ticket to an in-kernel AFS token, without \
10                requiring the user to reenter any passwords
11master_sites    http://web.mit.edu/openafs/www/
12platforms       +darwin
13distfiles       athena-aklog${extract.sufx} aklog-darwin${extract.sufx}
14checksums \
15        athena-aklog${extract.sufx} md5 c7f06fb288a6f9167f947c37578237f8 \
16        aklog-darwin${extract.sufx} md5 66ae3e319eb6f46ab162ba2c48bbb288
17
18worksrcdir      aklog
19configure       {}
20build.args      AFSDIR="${prefix}" CFLAGS="-DMAX_HSTNM=MAXHOSTNAMELEN"
21depends_build   lib:libubik:openafs
22install         { cd ${worksrcpath}
23                  system "install -d ${destroot}/${prefix}/bin"
24                  system "install -d ${destroot}/${prefix}/man/man1"
25                  system "install -o root -m 755 aklog \
26                        ${destroot}/${prefix}/bin"
27                  system "install -o root -m 644 aklog.1 \
28                        ${destroot}/${prefix}/man/man1"
29                }