[Bug 204577] [NEW MODULE] Mk/Uses/nodejs.mk Framework for NodeJS projects/ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 21 16:56:52 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204577

--- Comment #40 from Olivier Duchateau <olivierd at FreeBSD.org> ---
In the past I worked on NodeJS USES framework. (my repo [1] is outdated, I'm no
longer interested to work on it, feel free to clone, update or whatever).

You can find a Draft [2] of Porter's Handbook, and a complete list [3] of ports
available.

A NodeJS module (not extension, which are often written in C or C++) must
contains package.json and one or several JavaScript files that's all. My USES
framework tries to follow this guideline.

Not mentioned in documentation page, but it supports DEFAULT_VERSION variable 
(available in /etc/make.conf). Module are downloaded from the NPM registry, and
pkg-plist is build automatically. Users can override main targets (without to
be in conflict with targets of framework).

[1] https://app.assembla.com/spaces/cozycloud/subversion/source
[2] https://people.freebsd.org/~olivierd/porters-handbook/uses-nodejs.html
[3] https://people.freebsd.org/~olivierd/nodejs-ports.txt

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list