summaryrefslogtreecommitdiff
path: root/net/netname
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2013-03-14 14:15:00 +0000
committerkim <kim@pkgsrc.org>2013-03-14 14:15:00 +0000
commit45783516b538a52ef4f435cfe732330ca0ec4c43 (patch)
tree54e82abef7a6e730b76aa90e8b6fb138a3f4ef73 /net/netname
parente0425a559e962f2afbcc609a883e4a6981b6a522 (diff)
downloadpkgsrc-45783516b538a52ef4f435cfe732330ca0ec4c43.tar.gz
Fix manual installation path for platform PKGMANDIR != man.
Diffstat (limited to 'net/netname')
-rw-r--r--net/netname/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/netname/Makefile b/net/netname/Makefile
index 1e50accb6d0..b255a5b2f5b 100644
--- a/net/netname/Makefile
+++ b/net/netname/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2013/03/14 12:45:52 kim Exp $
+# $NetBSD: Makefile,v 1.14 2013/03/14 14:15:00 kim Exp $
#
DISTNAME= netname-2.2
@@ -21,4 +21,9 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
MAKE_ENV+= INSTALL=${TOOLS_PATH.install:Q}
+SUBST_CLASSES+= manpath
+SUBST_STAGE.manpath= post-extract
+SUBST_FILES.manpath= Makefile
+SUBST_SED.manpath= -e 's,/man/,/${PKGMANDIR}/,'
+
.include "../../mk/bsd.pkg.mk"