Ignore:
Timestamp:
Aug 15, 2007, 9:56:21 PM (13 years ago)
Author:
afb@…
Message:

freebsd/linux support, livecheck

Location:
trunk/dports/graphics/netpbm
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/netpbm/Portfile

    r27289 r27904  
    11# $Id$
     2
    23PortSystem 1.0
     4
    35name            netpbm
    46version         10.26.44
     
    1517homepage        http://netpbm.sourceforge.net/
    1618master_sites    sourceforge:netpbm
    17 platforms       darwin
     19platforms       darwin freebsd linux
    1820
    1921depends_lib     port:zlib port:jpeg port:tiff \
     
    2729configure {
    2830    system "cd ${worksrcpath} &&
    29         cat Makefile.config.in ${filespath}/Makefile.config.darwin |
     31        cat Makefile.config.in ${filespath}/Makefile.config.${os.platform} |
    3032        sed -e '/@PREFIX@/s@@${prefix}@' -e '/@GCC_SUFFIX@/s@@${gcc-suffix}@' \
    3133            > Makefile.config";
     
    3436build.args    "messages=yes"
    3537build.target  ""
     38build.type    gnu
    3639
    3740destroot {
    3841    file delete -force ${destroot}${prefix}
    39     system "cd ${worksrcpath} && make package pkgdir=${destroot}${prefix}"
     42    system "cd ${worksrcpath} && ${build.cmd} package pkgdir=${destroot}${prefix}"
    4043    xinstall -m 755 -d ${destroot}${prefix}/share/netpbm
    4144    system "cd ${destroot}${prefix} &&
     
    4447        rm -rf README VERSION config_template link misc pkginfo share/man/web"
    4548}
     49
     50# "Netpbm has a sophisticated, rather novel system of releasing source code"
     51livecheck.distname super stable
    4652
    4753# work around bug in Apple's gcc build 4061
     
    5662    }
    5763}
     64
     65platform freebsd {
     66    patchfiles-append patch-libopt.c
     67    depends_build port:libtool
     68}
Note: See TracChangeset for help on using the changeset viewer.