Ticket #4729: Portfile

File Portfile, 3.5 KB (added by sal@…, 19 years ago)

Portfile

Line 
1# $Id: Portfile,v 1.8 2004/11/29 14:17:29 michaelm Exp $
2
3PortSystem 1.0
4
5name                    pdstools
6version                 4.3
7categories              science
8description             The Planetary Data Systems Toolkit
9maintainers             sal@email.arc.nasa.gov
10long_description        A set of tools, published by NASA, used for the \
11    parsing and interpretation of planetary data sets from NASA missions.
12homepage                http://pds.jpl.nasa.gov
13master_sites            ftp://pds.jpl.nasa.gov/pub/toplevel/tools/bin
14distfiles               toolbox_v11_linux.tar
15checksums               sha1 c01ecccd11b0a54314609e8abd57274864b8a683
16worksrcdir              pds_toolbox
17extract.cmd             cat
18extract.pre_args       
19patchfiles              patch-Makefile.tbl_chker_c.diff \
20                        patch-batch_make.diff \
21                        patch-makefile.ddict.diff \
22                        patch-makefile.kwvtool.diff \
23                        patch-makefile.line.diff \
24                        patch-makefile.lvtool.diff \
25                        patch-makefile.make_index.diff \
26                        patch-makefile.tab2lab.diff \
27                        patch-makefile.tbtool.diff \
28                        patch-parser.c.diff
29use_configure           no
30build.cmd               ./batch_make
31destroot.dir           
32destroot                {
33    xinstall -m 755 -W ${worksrcpath}/bin \
34        ddict kwvtool line lvtool make_index tab2lab table_check tbtool \
35        ${destroot}${prefix}/bin
36    xinstall -m 755 -d ${destroot}${prefix}/doc/${name}-${version}
37    xinstall -m 644 -W ${worksrcpath}/docs \
38        release_notes_ddict.txt \
39        release_notes_kwvtool.txt \
40        release_notes_lablib.txt \
41        release_notes_lablib3.txt \
42        release_notes_line.txt \
43        release_notes_lvtool.txt \
44        release_notes_makeindex.txt \
45        release_notes_nasaview.txt \
46        release_notes_oal.txt \
47        release_notes_odlc.txt \
48        release_notes_tab2lab.txt \
49        release_notes_tablecheck.txt \
50        release_notes_tbtool.txt \
51        ${destroot}${prefix}/doc/${name}-${version}
52    xinstall -m 644 -W ${worksrcpath}/lib \
53        liboal_others_c.a libodlc_lablib.a libodlc_lablib_ddict.a \
54        libodlc_lablib_kwvtool.a libodlc_lablib_lvtool.a \
55        ${destroot}${prefix}/lib
56    xinstall -m 755 -d ${destroot}${prefix}/include/${name}
57    xinstall -m 644 -W ${worksrcpath}/source \
58        lablib/errordef.h \
59        lablib/fiodef.h \
60        lablib/label.h \
61        lablib/labutil.h \
62        lablib/utildef.h \
63        lablib3/lablib3.h \
64        lablib3/toolbox.h \
65        oal/binrep.h \
66        oal/jpeg_c.h \
67        oal/oal.h \
68        oal/oal_sys.h \
69        oal/oamalloc.h \
70        oal/odlutils.h \
71        oal/resource.h \
72        oal/stream_l.h \
73        odlc/odldef.h \
74        odlc/odlinter.h \
75        odlc/odlparse.h \
76        odlc/parser.h \
77        odlc/pdsdef.h \
78        odlc/pdsglob.h \
79        odlc/sysdef.h \
80        odlc/y.tab.h \
81        odlc_tools/convert.h \
82        odlc_tools/ddaccess.h \
83        odlc_tools/ddict.h \
84        odlc_tools/dirwalk.h \
85        odlc_tools/formtype.h \
86        odlc_tools/formtype2.h \
87        odlc_tools/index.h \
88        odlc_tools/kwvtool.h \
89        odlc_tools/labtool.h \
90        odlc_tools/line.h \
91        odlc_tools/lvtool.h \
92        odlc_tools/pdsglob.h \
93        odlc_tools/search.h \
94        odlc_tools/tbtool.h \
95        odlc_tools/verlabel.h \
96        parser/y.tab.h \
97        tbl_chker/asctv.h \
98        tbl_chker/bintv.h \
99        tbl_chker/formtype.h \
100        tbl_chker/formtype2.h \
101        tbl_chker/odldef.h \
102        tbl_chker/table_check.h \
103        tbl_chker/tb_utils.h \
104        tbl_chker/tverr.h \
105        tbl_chker/tvutil.h \
106        tbl_chker/values.h \
107        ${destroot}${prefix}/include/${name}
108}