Ticket #1059: Portfile.3

File Portfile.3, 1.8 KB (added by brent@…, 21 years ago)

LifeLines 3.0.37 Portfile

Line 
1# $Id$
2
3PortSystem      1.0
4name            lifelines
5version         3.0.37
6categories      genealogy
7maintainers     brent@nordist.net
8description     Genealogy software
9homepage        http://${name}.sourceforge.net/
10platforms       darwin
11
12long_description \
13        LifeLines is second generation, open source genealogy software. \
14        It provides GEDCOM interoperability and powerful scripting, with \
15        a curses-based UI.
16
17master_sites                    sourceforge
18master_sites.mirror_subdir      ${name}
19
20checksums       md5 13b19d0df2049fe5e1b1b5b866920fcd
21
22depends_lib     lib:libiconv.2:libiconv lib:libintl.1:gettext
23
24patchfiles      patch-reports-Makefile.in
25
26configure.args  --with-libintl-prefix=${prefix} \
27                --with-libiconv-prefix=${prefix} \
28                --without-included-gettext
29
30post-destroot {
31        system "install ${worksrcpath}/docs/btedit.1 ${destroot}${prefix}/share/man/man1/btedit.1"
32        system "rm ${destroot}${prefix}/share/doc/${name}/btedit.1"
33        system "install ${worksrcpath}/docs/dbverify.1 ${destroot}${prefix}/share/man/man1/dbverify.1"
34        system "rm ${destroot}${prefix}/share/doc/${name}/dbverify.1"
35        system "install ${worksrcpath}/docs/llines.1 ${destroot}${prefix}/share/man/man1/llines.1"
36        system "rm ${destroot}${prefix}/share/doc/${name}/llines.1"
37        system "install -d ${destroot}${prefix}/share/${name}/st"
38        system "mv ${destroot}${prefix}/share/${name}/st_*.ll ${destroot}${prefix}/share/${name}/st"
39        system "install ${worksrcpath}/reports/CREDIT ${destroot}${prefix}/share/${name}"
40        system "install ${worksrcpath}/reports/README ${destroot}${prefix}/share/${name}"
41        system "install ${worksrcpath}/reports/tree.tex ${destroot}${prefix}/share/${name}"
42        system "rm ${destroot}${prefix}/share/${name}/ll-*.html"
43        system "rm ${destroot}${prefix}/share/${name}/ll-*.pdf"
44        system "rm ${destroot}${prefix}/share/${name}/ll-*.txt"
45        system "rm ${destroot}${prefix}/share/${name}/listops.jpg"
46}