source: trunk/dports/www/nodejuice/Portfile

Last change on this file was 149599, checked in by ciserlohn@…, 15 months ago

nodejs, nodejs-devel, nodejs4, nodejs5, nodejs6: new naming scheme

  • Rename nodejs to nodejs4.
  • Rename nodejs-devel to nodejs6.
  • New port nodejs5.
  • Update to the latest versions (4.4.6, 5.12.0, 6.2.2).
  • Remove ssl variant. Always build with ssl support enabled.
  • Remove python2.6 and python2.7 variants. Always use python2.7 as python2.6 is EOL.
  • Remove dtrace variant. It does nothing and was only for legacy compatibility.
  • Update all dependent ports.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 149599 2016-06-27 20:48:58Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        stephenlb nodejuice 1.5.0
8revision            1
9categories          www
10platforms           darwin
11maintainers         nomaintainer
12license             MIT
13
14description         A web development tool to autorefesh the browser on changes.
15long_description    NodeJuice is a tool which allows you to develop with a \
16                    push connection to your web browser. Automatic browser \
17                    refresh on file change or update is what you can call  \
18                    it. Develop on one to many browsers simultaneously     \
19                    without needing to reload manually.
20homepage            http://nodejuice.com/
21
22fetch.type          git
23git.branch          26785a38446d824818d3ff7a1e0a10e69f2686de
24
25depends_lib         path:bin/node:nodejs4
26
27# Need to patch the nodejuice bash script to chdir to share/nodejuice
28patchfiles          nodejuice.patch
29
30use_configure       no
31supported_archs     noarch
32
33build   {
34    file delete ${worksrcpath}/symlinks/node
35    ln -s ${prefix}/bin/node ${worksrcpath}/symlinks/node
36}
37
38destroot {
39    xinstall -m 755 -W ${worksrcpath} nodejuice ${destroot}${prefix}/bin
40    xinstall -m 755 -d ${destroot}${prefix}/share/${name}
41    foreach d {library provision symlinks demos servers website} {
42        copy ${worksrcpath}/${d} ${destroot}${prefix}/share/${name}
43    }
44    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
45    xinstall -m 644 -W ${worksrcpath} LICENSE README \
46        ${destroot}${prefix}/share/doc/${name}
47}
Note: See TracBrowser for help on using the repository browser.