[84480] trunk/dports/devel/bmake/Portfile
mfeiri at macports.org
mfeiri at macports.org
Mon Sep 26 09:51:28 PDT 2011
Revision: 84480
http://trac.macports.org/changeset/84480
Author: mfeiri at macports.org
Date: 2011-09-26 09:51:27 -0700 (Mon, 26 Sep 2011)
Log Message:
-----------
bmake: resurrect port
Modified Paths:
--------------
trunk/dports/devel/bmake/Portfile
Modified: trunk/dports/devel/bmake/Portfile
===================================================================
--- trunk/dports/devel/bmake/Portfile 2011-09-26 15:57:15 UTC (rev 84479)
+++ trunk/dports/devel/bmake/Portfile 2011-09-26 16:51:27 UTC (rev 84480)
@@ -3,45 +3,40 @@
PortSystem 1.0
name bmake
-version 20060728
-set mkversion 20070430
+version 20110909
+set mkversion 20110808
categories devel
platforms darwin
-maintainers gmail.com:tdflavius
+license BSD
+maintainers gmail.com:tdflavius mfeiri openmaintainer
homepage http://www.crufty.net/help/sjg/bmake.html
master_sites http://www.crufty.net/ftp/pub/sjg/
description Portable NetBSD make
+long_description bmake is the portable version of NetBSD make.
-long_description \
- bmake is the portable version of NetBSD make.
+distfiles ${distname}${extract.suffix} \
+ mk-${mkversion}${extract.suffix}
+checksums ${distname}${extract.suffix} \
+ rmd160 4d188f7e92fe4259cd5d56c9d68bd5292c0ca4a3 \
+ sha256 7b6ffc4c307ba010c301ec5a54fde79c822252dde0bfbedf986c695894e71f16 \
+ mk-${mkversion}${extract.suffix} \
+ rmd160 4a4d952c40c485f3eff890077eeb5938813d327a \
+ sha256 b2cc3ba726bdb1be602ce0fdaf1f1bd4ae45e46bbc221410c2508b42887c3b8d
-distfiles \
- ${name}-${version}.tar.gz \
- mk-${mkversion}.tar.gz
-
-checksums \
- ${name}-${version}.tar.gz \
- md5 cb7655efcdd7b297e29fdc431756353d \
- sha1 14776ce4b57415dc5d8b009c31171ef433632b7f \
- rmd160 6eadbf320093a77c8bfaf4d9d8c1930d56c0d255 \
- mk-${mkversion}.tar.gz \
- md5 b8759ef075d7e2cba60e30fa56654af4 \
- sha1 41bd4229056995aeae3095d6e53eeaba0a3e802e \
- rmd160 4aff97677ce0912dfa3fcfbce5383b0435ece2ab
-
+use_configure no
worksrcdir ${name}
+build.cmd ./boot-strap
+build.args --with-default-sys-path="${prefix}/share/mk"
+build.target
-post-extract {
- reinplace "s%\${prefix}/man%\${prefix}/share/man%g" ${worksrcpath}/makefile.boot.in
+destroot {
+ file copy ${worksrcpath}/Darwin/bmake ${destroot}${prefix}/bin
+ file copy ${worksrcpath}/bmake.cat1 ${destroot}${prefix}/share/man/cat1/bmake.1
+ file mkdir ${destroot}${prefix}/share/mk
+ system "${workpath}/mk/install-mk ${destroot}${prefix}/share/mk"
}
-build.target bootstrap
-build.args -f makefile.boot
-
-destroot.destdir prefix=${destroot}${prefix}
-destroot.args -f makefile.boot
-
-post-destroot {
- ln -s Darwin.sys.mk ${destroot}${prefix}/share/mk/sys.mk
-}
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex "${name}-(\[\\d\]+)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110926/f4e4d3e6/attachment.html>
More information about the macports-changes
mailing list