Ticket #1059: Portfile

File Portfile, 2.2 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
6revision        1
7categories      textproc
8maintainers     brent@nordist.net
9description     Genealogy software
10homepage        http://${name}.sourceforge.net/
11platforms       darwin
12
13long_description \
14        LifeLines is second generation, open source genealogy software. \
15        It provides GEDCOM interoperability and powerful scripting, with \
16        a curses-based UI.
17
18master_sites \
19        http://umn.dl.sourceforge.net/sourceforge/${name}/ \
20        http://unc.dl.sourceforge.net/sourceforge/${name}/ \
21        http://telia.dl.sourceforge.net/sourceforge/${name}/ \
22        http://easynews.dl.sourceforge.net/sourceforge/${name}/ \
23        http://twtelecom.dl.sourceforge.net/sourceforge/${name}/ \
24        http://belnet.dl.sourceforge.net/sourceforge/${name}/ \
25        http://switch.dl.sourceforge.net/sourceforge/${name}/ \
26        http://cesnet.dl.sourceforge.net/sourceforge/${name}/
27
28checksums       md5 13b19d0df2049fe5e1b1b5b866920fcd
29
30depends_lib     lib:libiconv.2:libiconv lib:libintl.1:gettext
31
32patchfiles      patch-reports-Makefile.in
33
34configure.args  --with-libintl-prefix=${prefix} \
35                --with-libiconv-prefix=${prefix} \
36                --without-included-gettext
37
38post-destroot {
39        system "install ${worksrcpath}/docs/btedit.1 ${destroot}${prefix}/man/man1/btedit.1"
40        system "rm ${destroot}${prefix}/share/doc/${name}/btedit.1"
41        system "install ${worksrcpath}/docs/dbverify.1 ${destroot}${prefix}/man/man1/dbverify.1"
42        system "rm ${destroot}${prefix}/share/doc/${name}/dbverify.1"
43        system "install ${worksrcpath}/docs/llines.1 ${destroot}${prefix}/man/man1/llines.1"
44        system "rm ${destroot}${prefix}/share/doc/${name}/llines.1"
45        system "install -d ${destroot}${prefix}/share/${name}/st"
46        system "mv ${destroot}${prefix}/share/${name}/st_*.ll ${destroot}${prefix}/share/${name}/st"
47        system "install ${worksrcpath}/reports/CREDIT ${destroot}${prefix}/share/${name}"
48        system "install ${worksrcpath}/reports/README ${destroot}${prefix}/share/${name}"
49        system "install ${worksrcpath}/reports/tree.tex ${destroot}${prefix}/share/${name}"
50        system "rm ${destroot}${prefix}/share/${name}/ll-*.html"
51        system "rm ${destroot}${prefix}/share/${name}/ll-*.pdf"
52        system "rm ${destroot}${prefix}/share/${name}/ll-*.txt"
53        system "rm ${destroot}${prefix}/share/${name}/listops.jpg"
54}