-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
39 lines (27 loc) · 1.1 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# -*- 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 tj n 9.2.3 v
revision 0
categories devel
maintainers {@akierig fastmail.de:akierig} \
openmaintainer
license MIT
platforms any
supported_archs noarch
description A simple tool to interactively manage Node.js versions
long_description {*}${description}
checksums rmd160 32258d542297726f0fb97320ce99914119439fa4 \
sha256 4c60304a8660ecf495a8bb9a45c440a846482619a03edb6cf786cd78191113e9 \
size 35377
use_configure no
build {}
destroot.args PREFIX=${destroot}${prefix}
post-destroot {
xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} LICENSE README.md ${destroot}${prefix}/share/doc/${name}
}
notes {
Set the environment variable N_PREFIX to install to a user-writable area:
export N_PREFIX=$HOME/local/n
}