Ticket #50297: gpsbabel-1.5.3.diff
File gpsbabel-1.5.3.diff, 1.9 KB (added by mp@…, 9 years ago) |
---|
-
textproc/gpsbabel/Portfile
3 3 4 4 PortSystem 1.0 5 5 PortGroup qmake5 1.0 6 PortGroup github 1.0 6 7 7 8 name gpsbabel 8 version 1.5.2 9 revision 1 9 set ver 1.5.3 10 11 # some tricks because version at github is x_y_z 12 set fileversion [join [lrange [split ${ver} .] 0 2] _] 13 14 github.setup gpsbabel gpsbabel ${fileversion} gpsbabel_ 15 version $ver 16 distname ${name}_$version 17 10 18 categories textproc comms 11 19 license GPL 12 20 maintainers nomaintainer … … 21 29 22 30 depends_lib-append port:expat port:libusb-compat port:zlib 23 31 24 master_sites http://www.linklevel.net/distfiles/ 32 checksums rmd160 b64e1bbd6906a027d232e097fb182e1ed770aff7 \ 33 sha256 d8606e18a4d27a25739c443f0ced506e992fe0631c8365e3e0109f74224c6e59 25 34 26 checksums rmd160 86a54f6e6647ed8eaa340641e9240565acf5ca99 \ 27 sha256 c1a2f07d014d69dcce80e2ef8f23fe2fe3154324957b04d488da1b32458fad7b 35 patchfiles patch.delbin.cc.diff 28 36 29 37 post-destroot { 38 if {[variant_isset universal]} { 39 system -W ${worksrcpath} "lipo -create ${worksrcpath}-x86_64/GPSbabel ${worksrcpath}-i386/GPSbabel -output ${worksrcpath}/gpsbabel" 40 } 41 xinstall -W ${worksrcpath} gpsbabel ${destroot}${prefix}/bin 30 42 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 31 43 xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING README.contrib README.igc \ 32 44 README.mapconverter README.xmapwpt ${destroot}${prefix}/share/doc/${name} 33 45 } 34 35 livecheck.type regex36 livecheck.url ${homepage}/download.html37 livecheck.regex ${name}-(\\d+(\\.\\d+)+)${extract.suffix}