Ticket #11333: zip-2.32.diff
File zip-2.32.diff, 2.6 KB (added by pipping@…, 18 years ago) |
---|
-
dports/archivers/zip/Portfile
3 3 PortSystem 1.0 4 4 5 5 name zip 6 version 2.3 17 categories archivers sysutils6 version 2.32 7 categories archivers 8 8 description compression utility 9 9 maintainers 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. 10 long_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. 14 17 homepage 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 18 master_sites ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/ 19 distname ${name}232 20 20 patchfiles patch-Makefile.diff 21 checksums md5 6bfc076664416251d7624ab3538d1cb9 21 checksums md5 8a4da4460386e324debe97f3b7fe4d96 \ 22 sha1 5bc562bf95d9aee0cb6625e6038898e1f191a4aa \ 23 rmd160 6b9326c8a60bc6bf08825e416140fd0ca8a6a7f1 22 24 worksrcdir ${name}-${version} 23 configure {} 25 use_configure no 24 26 build.target 25 27 build.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" } } 28 destroot.args -f unix/Makefile BINDIR=${destroot}${prefix}/bin \ 29 MANDIR=${destroot}${prefix}/share/man/man1