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
commit04bbc46ea0b1eed032339dc0a25a348cdeecd7ba (patch)
tree54e82abef7a6e730b76aa90e8b6fb138a3f4ef73 /net/netname
parentee0695f39e19b1b5fbd21024cb937644f2df00e1 (diff)
downloadpkgsrc-04bbc46ea0b1eed032339dc0a25a348cdeecd7ba.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"