Ticket #16759: file.diff
File file.diff, 2.2 KB (added by jay-macports@…, 16 years ago) |
---|
-
Portfile
old new 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id: Portfile 38089 2008-07-06 07:27:23Z jmr@macports.org $ 2 3 3 4 PortSystem 1.0 4 5 5 6 name file 6 version 4.2 57 version 4.26 7 8 categories sysutils 8 maintainers nomaintainer 9 maintainers jay.fm:jay-macports \ 10 openmaintainer 9 11 description File - determine file type 10 12 long_description \ 11 13 File tests each argument in an attempt to classify it. There are three \ … … 18 20 master_sites ftp://ftp.fu-berlin.de/unix/tools/${name}/ \ 19 21 ftp://ftp.astron.com/pub/${name}/ \ 20 22 ftp://ftp.gw.com/mirrors/pub/unix/${name}/ 21 checksums md5 cdf1f90d2704e71118353c16c19898ba\22 sha1 0d4a0b678a4c13fbc38cd0ea633ef4df60d74f22\23 rmd160 c877a223a1dbdfd38c6f5ac385b533e8c5223fe123 checksums md5 74cd5466416136da30a4e69f74dbc7a0 \ 24 sha1 412cdac5cd778d867e2d91a01b09858be1998ec3 \ 25 rmd160 e8b84e01d1f43faedfe676afc92c2cba4a01ecdf 24 26 25 patchfiles patch-lzma.diff 27 patchfiles patch-lzma.diff \ 28 patch-src-file.h.diff 26 29 27 30 configure.args --mandir=${prefix}/share/man \ 28 31 --enable-fsect-man5 \ … … 30 33 depends_lib port:zlib 31 34 32 35 variant with_default_names description {don't prefix names with a 'g'} { 33 post-destroot { 34 foreach d {bin share/man/man1 share/man/man3 share/man/man5} { 35 foreach a [glob -directory ${destroot}${prefix}/$d g*] { 36 regexp /g(.+)\$ $a dummy b 37 file link -hard ${destroot}${prefix}/$d/$b $a 38 } 39 } 40 } 36 configure.args-delete --program-prefix=g 41 37 } 42 38 43 39 livecheck.check md5 44 40 livecheck.url ftp://ftp.fu-berlin.de/unix/tools/${name}/ 45 livecheck.md5 600d214efae30987572951c14fa3186341 livecheck.md5 a2918bbcee8b1ca0225c5358f1801fdb