[67865] trunk/dports/www
ryandesign at macports.org
ryandesign at macports.org
Thu May 20 01:00:31 PDT 2010
Revision: 67865
http://trac.macports.org/changeset/67865
Author: ryandesign at macports.org
Date: 2010-05-20 01:00:25 -0700 (Thu, 20 May 2010)
Log Message:
-----------
nodejuice: new port, version 1.5.0; see #24697
Added Paths:
-----------
trunk/dports/www/nodejuice/
trunk/dports/www/nodejuice/Portfile
trunk/dports/www/nodejuice/files/
trunk/dports/www/nodejuice/files/nodejuice.patch
Added: trunk/dports/www/nodejuice/Portfile
===================================================================
--- trunk/dports/www/nodejuice/Portfile (rev 0)
+++ trunk/dports/www/nodejuice/Portfile 2010-05-20 08:00:25 UTC (rev 67865)
@@ -0,0 +1,48 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+
+name nodejuice
+
+version 1.5.0
+categories www
+platforms darwin
+maintainers mgrimes
+description A web development tool to autorefesh the browser on changes.
+long_description NodeJuice is a tool which allows you to develop with a \
+ push connection to your web browser. Automatic browser \
+ refresh on file change or update is what you can call \
+ it. Develop on one to many browsers simultaneously \
+ without needing to reload manually.
+homepage http://nodejuice.com/
+
+fetch.type git
+git.url http://github.com/stephenlb/nodejuice.git
+git.branch 26785a38446d824818d3ff7a1e0a10e69f2686de
+
+depends_lib port:nodejs
+
+# Need to patch the nodejuice bash script to chdir to share/nodejuice
+patchfiles nodejuice.patch
+
+use_configure no
+if {[info exists supported_archs]} {
+ supported_archs noarch
+}
+
+build {
+ file delete ${worksrcpath}/symlinks/node
+ ln -s ${prefix}/bin/node ${worksrcpath}/symlinks/node
+}
+
+destroot {
+ xinstall -m 755 -W ${worksrcpath} nodejuice ${destroot}${prefix}/bin
+ xinstall -m 755 -d ${destroot}${prefix}/share/${name}
+ foreach d {library provision symlinks demos servers website} {
+ copy ${worksrcpath}/${d} ${destroot}${prefix}/share/${name}
+ }
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} LICENSE README \
+ ${destroot}${prefix}/share/doc/${name}
+}
Property changes on: trunk/dports/www/nodejuice/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/www/nodejuice/files/nodejuice.patch
===================================================================
--- trunk/dports/www/nodejuice/files/nodejuice.patch (rev 0)
+++ trunk/dports/www/nodejuice/files/nodejuice.patch 2010-05-20 08:00:25 UTC (rev 67865)
@@ -0,0 +1,13 @@
+--- nodejuice.orig 2010-04-23 18:04:51.000000000 -0400
++++ nodejuice 2010-04-23 20:38:32.000000000 -0400
+@@ -74,7 +74,9 @@
+
+ nodejuice=`dirname $0`
+
+-if [ nodejuice='.' ]; then nodejuice="`pwd`"; fi
++# if [ nodejuice='.' ]; then nodejuice="`pwd`"; fi
++nodejuice="$nodejuice/../share/nodejuice"
++cd $nodejuice
+
+ seeker="$nodejuice/servers/seeker.js"
+ wsgi="$nodejuice/servers/wsgi.js"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100520/37ef566f/attachment.html>
More information about the macports-changes
mailing list