[Midnightbsd-cvs] mports [21595] trunk/www/npm/Makefile: use vars so its possible to run on magus
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Aug 13 12:22:03 EDT 2016
Revision: 21595
http://svnweb.midnightbsd.org/mports/?rev=21595
Author: laffer1
Date: 2016-08-13 12:22:03 -0400 (Sat, 13 Aug 2016)
Log Message:
-----------
use vars so its possible to run on magus
Modified Paths:
--------------
trunk/www/npm/Makefile
Modified: trunk/www/npm/Makefile
===================================================================
--- trunk/www/npm/Makefile 2016-08-13 16:12:39 UTC (rev 21594)
+++ trunk/www/npm/Makefile 2016-08-13 16:22:03 UTC (rev 21595)
@@ -46,7 +46,7 @@
do-install:
mkdir ${WRKDIR}/home
- cd ${WRKSRC} && HOME=${WRKDIR}/home node cli.js --cache /usr/mports/www/npm/work/.cache install -g -f --prefix=/usr/mports/www/npm/work/fake-inst-amd64/usr/local
+ cd ${WRKSRC} && HOME=${WRKDIR}/home node cli.js --cache ${WRKDIR}/.cache install -g -f --prefix=${FAKE_DESTDIR}/usr/local
post-install:
@${INSTALL_DATA} ${WRKDIR}/npm.conf ${PREFIX}/etc/man.d/npm.conf
More information about the Midnightbsd-cvs
mailing list