1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Fix staging with pkg_install by not using absolute paths in plist

Reported by:	swills/Jenkins
This commit is contained in:
Bryan Drewery 2014-04-10 12:37:05 +00:00
parent d2a59c57ef
commit fa390b2f25
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350801

View File

@ -3,6 +3,7 @@
PORTNAME= npm
PORTVERSION= 1.3.11
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= LOCAL/sunpoet
@ -20,7 +21,7 @@ USES= tar:xz
MAKE_ARGS+= npm_config_prefix=${STAGEDIR}${PREFIX}
MANPREFIX= ${PREFIX}/lib/node_modules/npm
PLIST_SUB+= MANPREFIX="${MANPREFIX}"
PLIST_SUB+= MANPREFIX="${MANPREFIX:S,${PREFIX}/,,}"
.include <bsd.port.options.mk>