Ignore:
Timestamp:
Apr 9, 2005, 10:29:12 PM (15 years ago)
Author:
jmpp
Message:

Bug: 2859, 2852
Submitted by: yves@…
Reviewed by: jmpp@
Approved by: jmpp@

Update the port to version 10.26.7, assign mantainership to Yves, add "patch-lib-Makefile" patchfile.
Also, fix broken symlink reported in bug #2852.
Portfile committed with minor change:

"cat Makefile.config.in ${filespath}/Makefile.config.darwin" replaced by:
"cat Makefile.config.in ../../files/Makefile.config.darwin"

Relative paths should never be used in Portfiles.

File:
1 edited

Legend:

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

    r11612 r11723  
    1 # $Id: Portfile,v 1.4 2005/04/05 02:44:20 jmpp Exp $
     1# $Id: Portfile,v 1.5 2005/04/09 22:29:11 jmpp Exp $
    22PortSystem 1.0
    33name            netpbm
    4 version         10.11.10
    5 revision                1
     4version         10.26.7
    65categories      graphics
    7 maintainers     darwinports@opendarwin.org
     6maintainers     yves@gnu-darwin.org
    87description     Image manipulation
    9 long_description    A whole bunch of utilities for primitive manipulation \
     8long_description \
     9        A whole bunch of utilities for primitive manipulation   \
    1010                    of graphic images.  Wide array of converters from one \
    1111                    graphics format to another.  E.g. from g3 fax format to \
     
    1515master_sites    sourceforge:netpbm
    1616platforms       darwin
    17 depends_lib     lib:libzlib.1:zlib lib:libjpeg.6:jpeg lib:libtiff.3:tiff \
    18                 lib:libpng.1:libpng
    19 extract.suffix    .tgz
    20 checksums       md5 4c057801d3c5bd116fda88a57cedb057
     17depends_lib     lib:libz.1:zlib lib:libjpeg.6:jpeg lib:libtiff.3:tiff \
     18                lib:libpng.1:libpng lib:libjasper:jasper
     19extract.suffix  .tgz
     20checksums       md5 ad584702b0f8893ee2b3a9a054f69188
     21
     22patchfiles      patch-lib-Makefile
     23
    2124configure {
    2225        system "cd ${worksrcpath} &&
    23                 cat Makefile.config.in ../../files/Makefile.config.darwin |
     26                cat Makefile.config.in ${filespath}/Makefile.config.darwin |
    2427                    sed -e '/@PREFIX@/s@@${prefix}@' >Makefile.config";
    2528}
     29
     30build.target    ""
     31
    2632destroot {
    2733        # netpbm has its own destroot-ish procedure.
    28         # unfortunately, it doesn't want the darwinports destroot
    29         # since it doesn't want anything to exist, including
    30         # directories.  So, we let netpbm build its destroot-like
    31         # area and then copy that into the port's destroot.
    32         system "rm -rf ${worksrcpath}/insttmp &&
     34        system "rm -rf ${destroot}${prefix} &&
    3335                cd ${worksrcpath} &&
    34                 make package pkgdir=${worksrcpath}/insttmp &&
    35                 ( cd ${worksrcpath}/insttmp/lib ;
    36                           ln -s libnetpbm.${version}.dylib libnetpbm.dylib ) &&
    37                 ( cd ${worksrcpath}/insttmp ;
    38                   tar cf - bin lib include man ) | ( cd ${destroot}${prefix} ;
    39                                                      tar xf - )";
    40         file delete -force ${destroot}${prefix}/share/man \
    41                 ${destroot}${prefix}/man/web
    42         file rename ${destroot}${prefix}/man ${destroot}${prefix}/share/man
     36                make package pkgdir=${destroot}${prefix}"
     37        system  "cd ${destroot}${prefix} &&
     38                mkdir -p share/netpbm &&
     39                mv misc/* share/netpbm &&
     40                mv man share &&
     41                rm -rf README VERSION link misc pkginfo share/man/web"
    4342}
Note: See TracChangeset for help on using the changeset viewer.