[94658] trunk/dports/devel/nodejs/Portfile
ciserlohn at macports.org
ciserlohn at macports.org
Tue Jun 26 02:21:54 PDT 2012
Revision: 94658
https://trac.macports.org/changeset/94658
Author: ciserlohn at macports.org
Date: 2012-06-26 02:21:54 -0700 (Tue, 26 Jun 2012)
Log Message:
-----------
nodejs: install missing manpage, header files and dtrace script; move wafadmin files to the correct directory
Modified Paths:
--------------
trunk/dports/devel/nodejs/Portfile
Modified: trunk/dports/devel/nodejs/Portfile
===================================================================
--- trunk/dports/devel/nodejs/Portfile 2012-06-26 08:13:58 UTC (rev 94657)
+++ trunk/dports/devel/nodejs/Portfile 2012-06-26 09:21:54 UTC (rev 94658)
@@ -5,6 +5,7 @@
name nodejs
version 0.8.0
+revision 1
categories devel net
platforms darwin
license {MIT BSD}
@@ -52,7 +53,7 @@
[rec_glob ${worksrcpath} *.py]] {
reinplace "s|/usr/bin/env python|${configure.python}|" ${f}
}
- reinplace "s|/usr/bin/env node|${prefix}/bin/node|" ${worksrcpath}/tools/doc/node_modules/marked/bin/marked
+ reinplace "s|/usr/bin/env node|${prefix}/bin/node|" ${worksrcpath}/tools/doc/node_modules/marked/bin/marked
}
configure.args --without-ssl
@@ -118,13 +119,19 @@
destroot {
set bindir ${destroot}${prefix}/bin
- set libdir ${destroot}${prefix}/lib/node
+ set libdir ${destroot}${prefix}/lib
+ set libndir ${libdir}/node
+ set libddir ${libdir}/dtrace
+ set libwdir ${libndir}/wafadmin
set incdir ${destroot}${prefix}/include/node
set incpdir ${destroot}${prefix}/include/node/uv-private
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${bindir}
xinstall -d ${libdir}
+ xinstall -d ${libndir}
+ xinstall -d ${libddir}
+ xinstall -d ${libwdir}
xinstall -d ${incdir}
xinstall -d ${incpdir}
xinstall -d ${docdir}
@@ -141,6 +148,8 @@
src/node_buffer.h \
src/node_object_wrap.h \
src/node_version.h \
+ src/ev-emul.h \
+ src/eio-emul.h \
deps/v8/include/v8-debug.h \
deps/v8/include/v8-preparser.h \
deps/v8/include/v8-profiler.h \
@@ -163,8 +172,18 @@
${incpdir}
# install the wafadmin tool
- eval xinstall -m 644 [rec_glob ${worksrcpath}/tools/wafadmin *.py] ${libdir}
+ eval xinstall -m 644 [rec_glob ${worksrcpath}/tools/wafadmin *.py] ${libwdir}
+# install dtrace script
+ xinstall -m 644 -W ${worksrcpath} \
+ src/node.d \
+ ${libddir}
+
+# install manpage
+ xinstall -m 644 -W ${worksrcpath} \
+ doc/node.1 \
+ ${destroot}${prefix}/share/man/man1
+
# install docs
xinstall -m 644 -W ${worksrcpath} \
AUTHORS \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120626/e78906fa/attachment.html>
More information about the macports-changes
mailing list