source: trunk/dports/textproc/gpsbabel/Portfile @ 8440

Last change on this file since 8440 was 8440, checked in by olegb, 15 years ago

Bug: 2244
Submitted by: thomas+opendarwin@… (Thomas Stromberg)
Reviewed by: olegb@
Approved by:
Obtained from:
new port:
gpsbabel

thanks thomas!

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.1 2004/09/26 12:37:52 olegb Exp $
2
3PortSystem 1.0
4name            gpsbabel
5version         1.2.3
6categories      textproc comms
7maintainers     thomas+darwinports@stromberg.org
8description     GPSBabel converts and or uploads GPS waypoints, tracks, and routes
9long_description        GPSBabel converts GPS waypoints, tracks, and routes from \
10                        one format to another, whether that format is a common \
11                        mapping format like Delorme, Streets and Trips, or even \
12                        a serial upload or download to a GPS unit such as those \
13                        from Garmin and Magellan.
14homepage        http://gpsbabel.sourceforge.net
15platforms       darwin
16master_sites    sourceforge
17checksums       md5 bd818aba946f3956cad4ccef154abb47
18
19depends_lib     lib:libexpat.0:expat
20use_configure   no
21build.env       EXTRA_CFLAGS="-I${prefix}/include -L${prefix}/lib"
22
23
24configure {
25    cd ${worksrcpath}
26    reinplace "s|/usr/local|${destroot}|g" ${worksrcpath}/Makefile
27}
28
29destroot {
30        xinstall -m 755 -d ${destroot}/${prefix}/bin
31        xinstall -m 755 -W ${worksrcpath} gpsbabel ${destroot}/${prefix}/bin/
32        xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name}
33        xinstall -m 644 -W ${worksrcpath} README README.contrib README.magnav \
34               README.mapconverter README.psp README.xmapwpt \
35                ${destroot}/${prefix}/share/doc/${name}
36}
Note: See TracBrowser for help on using the repository browser.