mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
49 lines
1.8 KiB
Tcl
49 lines
1.8 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup stephenlb nodejuice 1.5.0
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
revision 3
|
|
categories www
|
|
platforms any
|
|
maintainers nomaintainer
|
|
license MIT
|
|
|
|
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.branch 26785a38446d824818d3ff7a1e0a10e69f2686de
|
|
|
|
depends_lib path:bin/node:nodejs8
|
|
|
|
# Need to patch the nodejuice bash script to chdir to share/nodejuice
|
|
patchfiles nodejuice.patch
|
|
|
|
use_configure no
|
|
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}
|
|
}
|