summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkim <kim>2013-03-14 14:15:00 +0000
committerkim <kim>2013-03-14 14:15:00 +0000
commite32cd05163e3451f6e4f2cd8c726778c03c6e64b (patch)
tree54e82abef7a6e730b76aa90e8b6fb138a3f4ef73
parentd16ec2cc3161ef7805e4441e1d97a2b81f44898d (diff)
downloadpkgsrc-e32cd05163e3451f6e4f2cd8c726778c03c6e64b.tar.gz
Fix manual installation path for platform PKGMANDIR != man.
-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"