[117065] trunk/dports/textproc/normalizeNumexp/Portfile
hum at macports.org
hum at macports.org
Fri Feb 14 07:50:11 PST 2014
Revision: 117065
https://trac.macports.org/changeset/117065
Author: hum at macports.org
Date: 2014-02-14 07:50:11 -0800 (Fri, 14 Feb 2014)
Log Message:
-----------
normalizeNumexp: use waf port group (#42303); fix expressions.
Modified Paths:
--------------
trunk/dports/textproc/normalizeNumexp/Portfile
Modified: trunk/dports/textproc/normalizeNumexp/Portfile
===================================================================
--- trunk/dports/textproc/normalizeNumexp/Portfile 2014-02-14 15:46:16 UTC (rev 117064)
+++ trunk/dports/textproc/normalizeNumexp/Portfile 2014-02-14 15:50:11 UTC (rev 117065)
@@ -3,6 +3,7 @@
PortSystem 1.0
PortGroup github 1.0
+PortGroup waf 1.0
github.setup nullnull normalizeNumexp f3202c292cf05d6084c7aaa131bc150516a5e7fa
version 3.0.20121221
@@ -20,34 +21,24 @@
checksums rmd160 663b1c582b27f345f80a42ea21aa9fa7d9d8b4ab \
sha256 7ee8270bcd0802b4de0c459332e50e95351a016da308268506934b89aed2f723
-depends_build port:pkgconfig
+depends_build-append port:pkgconfig
depends_lib port:ux-trie port:pficommon
-configure.cmd ./waf configure
-configure.universal_args
-
-build.cmd ./waf build
-build.target
-
-destroot.cmd ./waf install
-destroot.args --destdir=${destroot}
-destroot.destdir
-
post-destroot {
# install additional documents.
- set docdir ${destroot}${prefix}/share/doc/${name}
- xinstall -d ${docdir}
+ set docdir ${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} \
LICENSE README.rst history.txt \
- ${docdir}
+ ${destroot}${docdir}
# fix install_name.
set libpath ${prefix}/lib/libnormalize_numexp.dylib
set builddir ${worksrcpath}/build/src
- set bin ${destroot}${prefix}/bin/normalizeNumexp
- regexp {(\S+\/libnormalize_numexp\S+dylib)} [exec otool -L ${bin}] path
+ set exepath ${prefix}/bin/normalizeNumexp
+ regexp {(\S+\/libnormalize_numexp\S+dylib)} [exec otool -L ${destroot}${exepath}] path
system "install_name_tool -id ${libpath} ${destroot}${libpath}"
- system "install_name_tool -change ${path} ${libpath} ${bin}"
+ system "install_name_tool -change ${path} ${libpath} ${destroot}${exepath}"
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140214/fcc5851d/attachment.html>
More information about the macports-changes
mailing list