Ticket #47790: Portfile.diff
File Portfile.diff, 1.8 KB (added by janstary (Jan Starý), 9 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name pstree 6 version 2.3 66 version 2.39 7 7 categories sysutils 8 8 maintainers mww 9 9 license GPL-2 … … long_description ${description} 14 14 homepage http://freecode.com/projects/pstree/ 15 15 master_sites ftp://ftp.thp.uni-duisburg.de/pub/source/ \ 16 16 http://fresh.t-systems-sfr.com/unix/src/misc/ 17 checksums rmd160 b98c5ce530cd4193a883a0c09e080da595595cd5 \ 18 sha256 9d05d28432a12fe8744b895e10b4a39008bba4fc3787b3595da3cf599b75a4ef 19 20 installs_libs no 21 22 # http://llvm.org/pr10514 23 # <rdar://problem/10015171> 24 if {${configure.compiler} == "clang"} { 25 configure.cflags-delete -O2 26 configure.cflags-append -O1 27 } 17 checksums rmd160 74bd6cd2fa22e0bde2f3e4936c1b6ed4d767b6df \ 18 sha256 7c9bc3b43ee6f93a9bc054eeff1e79d30a01cac13df810e2953e3fc24ad8479f 28 19 29 20 variant universal {} 30 21 31 22 pre-extract { 32 file mkdir ${worksrcpath} 33 xinstall -m 755 ${filespath}/configure ${worksrcpath} 23 xinstall -m 755 ${filespath}/Makefile ${worksrcpath} 34 24 } 35 extract.dir ${worksrcpath} 25 extract.mkdir yes 26 use_configure no 36 27 37 destroot { 38 xinstall -s ${worksrcpath}/pstree ${destroot}${prefix}/bin 39 set docdir ${prefix}/share/doc/${name}-${version} 40 xinstall -d ${destroot}${docdir} 41 xinstall -m 0644 ${worksrcpath}/README \ 42 ${destroot}${docdir} 43 } 28 destroot.args BINDIR=${destroot}${prefix}/bin \ 29 MANDIR=${destroot}${prefix}/share/man/man1 44 30 45 31 livecheck.type regex 46 32 livecheck.url ftp://ftp.thp.uni-duisburg.de/pub/source/