Ticket #10870: Portfile

File Portfile, 1.3 KB (added by ged (Michael Granger), 18 years ago)

Portfile for shelldap

Line 
1# $Id$
2PortSystem 1.0
3PortGroup perl5 1.0
4
5name                    shelldap
6version                 0.1
7revision                        1
8categories              net sysutils
9maintainers             ged@FaerieMUD.org
10description             a handy shell-like interface for browsing and editing LDAP entries
11long_description    Shelldap is a handy shell-like interface for browsing\
12        LDAP servers and editing their content. Among its features: history, sane \
13        autocompletes, credential caching, site-wide and individual config, \
14        it's in perl, it's fun to say!  shelldap! shelldap! shelldap!
15
16platforms               darwin
17master_sites            http://www.martini.nu/misc/
18checksums               md5 a283288b657ca0a307f12031c9e97371 \
19                        sha1 101e23633f213e49970f55d7f17b854d617175a4 \
20                                        rmd160 89d2b71f3bdd699e8a8e815001c21eb0c86d62f3
21
22depends_lib-append      port:p5-perl-ldap \
23                                        port:p5-term-shell \
24                                        port:p5-yaml-syck \
25                                        port:p5-algorithm-diff \
26                                        port:p5-digest-hmac \
27                                        port:p5-term-readline-gnu \
28                                        port:p5-term-readkey
29
30patch {
31        reinplace "s|#!.*perl|#!${perl5.bin}|" ${worksrcpath}/shelldap
32}
33
34configure {}
35
36build {
37        system "pod2man ${worksrcpath}/shelldap ${worksrcpath}/shelldap.1"
38}
39
40destroot {
41        xinstall -m 755 ${worksrcpath}/shelldap ${destroot}${prefix}/bin/
42        xinstall -m 0755 -d ${destroot}${prefix}/share/man/man1
43        xinstall -m 0644 ${worksrcpath}/shelldap.1 ${destroot}${prefix}/share/man/man1
44}