summaryrefslogtreecommitdiff
path: root/www/npm
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-04-10 12:37:05 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-04-10 12:37:05 +0000
commitfa390b2f258d55406ec92b1c70f1d3623892f018 (patch)
treea37fb963d3ace48a541506f379f06a9ad4b079ba /www/npm
parentd2a59c57efe032ee5b9f137b0f48c577a2da0e60 (diff)
downloadfreebsd-ports-fa390b2f258d55406ec92b1c70f1d3623892f018.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>