aboutsummaryrefslogtreecommitdiffstats
path: root/www/npm
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-04-10 20:37:05 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-04-10 20:37:05 +0800
commit4abed0e622664ac37395bce0081f859c265f240b (patch)
treea37fb963d3ace48a541506f379f06a9ad4b079ba /www/npm
parente4f4a15c0775e3ec3b309a0758c68c7e257d2e98 (diff)
downloadfreebsd-ports-gnome-4abed0e622664ac37395bce0081f859c265f240b.tar.gz
freebsd-ports-gnome-4abed0e622664ac37395bce0081f859c265f240b.tar.zst
freebsd-ports-gnome-4abed0e622664ac37395bce0081f859c265f240b.zip
- Fix staging with pkg_install by not using absolute paths in plist
Reported by: swills/Jenkins
Diffstat (limited to 'www/npm')
-rw-r--r--www/npm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/npm/Makefile b/www/npm/Makefile
index cce2afecdeb6..40773c2ca39f 100644
--- a/www/npm/Makefile
+++ b/www/npm/Makefile
@@ -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>