Re: [proof-of-concept] Generate packages from NodeJS's npm modules

2014-05-13 Thread Vadim Zhukov
2014-05-13 0:46 GMT+04:00 Fabian Raetz : > arch=$(arch -s) > nodever=$(node -v | sed -e "s/v//") > > prefix=/usr/local prefix=${PREFIX:-/usr/local} > nodepkg_name=$1 > obsdpkg=node-$nodepkg_name > > # XXX adjust fakedirbase to your setup > fakedirbase=/home/mischi/code/npm-openbsdports-repackager

Re: [proof-of-concept] Generate packages from NodeJS's npm modules

2014-05-13 Thread Vadim Zhukov
13.05.2014 1:46 пользователь "Marc Espie" написал: > > On Mon, May 12, 2014 at 10:46:23PM +0200, Fabian Raetz wrote: > > Hi ports@, > > > > a few weeks ago i tried to integrate node packages > > into the OpenBSD ports tree but i finaly gave up after a while. > > Basically i tried to mimic the beha

Re: [proof-of-concept] Generate packages from NodeJS's npm modules

2014-05-12 Thread Marc Espie
On Mon, May 12, 2014 at 11:46:11PM +0200, Marc Espie wrote: > For instance, it means you can integrate this within sqlports, or have > dpb build your port along with the rest. And also, zhuk's script will tell you if the style is okay, or if small pieces are missing.

Re: [proof-of-concept] Generate packages from NodeJS's npm modules

2014-05-12 Thread Marc Espie
On Mon, May 12, 2014 at 10:46:23PM +0200, Fabian Raetz wrote: > Hi ports@, > > a few weeks ago i tried to integrate node packages > into the OpenBSD ports tree but i finaly gave up after a while. > Basically i tried to mimic the behavior of ruby/python/perl > ports where each NPM package would g

[proof-of-concept] Generate packages from NodeJS's npm modules

2014-05-12 Thread Fabian Raetz
Hi ports@, a few weeks ago i tried to integrate node packages into the OpenBSD ports tree but i finaly gave up after a while. Basically i tried to mimic the behavior of ruby/python/perl ports where each NPM package would get its own Makefile Wrapper in the portstree. I remebered that there wa