Ticket #11333: zip-2.32.diff

File zip-2.32.diff, 2.6 KB (added by pipping@…, 17 years ago)
  • dports/archivers/zip/Portfile

     
    33PortSystem 1.0
    44
    55name              zip
    6 version           2.31
    7 categories        archivers sysutils
     6version           2.32
     7categories        archivers
    88description       compression utility
    99maintainers       michaelm@opendarwin.org
    10 long_description  Zip is different from gzip in that it allows packing multiple \
    11                   files into a single archive (without the assistance of tar). It is compatible with \
    12                   pkzip, pkunzip, and other Windows zip utilities.  This utility is necessary to \
    13                   install several packages in a pure Darwin installation, as Darwin does not come with zip/unzip.
     10long_description  Zip is different from gzip in that it allows packing \
     11                        multiple files into a single archive (without the \
     12                        assistance of tar). It is compatible with pkzip, \
     13                        pkunzip, and other Windows zip utilities.  This \
     14                        utility is necessary to install several packages in a \
     15                        pure Darwin installation, as Darwin does not come \
     16                        with zip/unzip.
    1417homepage          http://www.info-zip.org/pub/infozip/Zip.html
    15 master_sites      http://ftp.info-zip.org/pub/infozip/src/ \
    16                     http://sunsite.cnlab-switch.ch/ftp/mirror/infozip/src/ \
    17                     http://www.mirrorservice.org/sites/ftp.info-zip.org/pub/infozip/src/ \
    18                     sourceforge:zip
    19 distname          ${name}231
     18master_sites      ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/
     19distname          ${name}232
    2020patchfiles        patch-Makefile.diff
    21 checksums         md5 6bfc076664416251d7624ab3538d1cb9
     21checksums         md5 8a4da4460386e324debe97f3b7fe4d96 \
     22                  sha1 5bc562bf95d9aee0cb6625e6038898e1f191a4aa \
     23                  rmd160 6b9326c8a60bc6bf08825e416140fd0ca8a6a7f1
    2224worksrcdir        ${name}-${version}
    23 configure         {}
     25use_configure     no
    2426build.target     
    2527build.args        -f unix/Makefile generic
    26 destroot.args      -f unix/Makefile BINDIR=${destroot}${prefix}/bin MANDIR=${destroot}${prefix}/share/man/man1
    27 
    28 variant puredarwin      { configure {   cd ${worksrcpath}
    29                                         reinplace "s|LFLAGS1=\"-s\"|LFLAGS1=|g" unix/configure }
    30                           post-build {  cd ${worksrcpath}
    31                                         system "strip zip zipcloak zipnote zipsplit" } }
     28destroot.args     -f unix/Makefile BINDIR=${destroot}${prefix}/bin \
     29                        MANDIR=${destroot}${prefix}/share/man/man1