summaryrefslogtreecommitdiff
path: root/graphics/urt
diff options
context:
space:
mode:
authorrillig <rillig>2007-03-11 22:25:55 +0000
committerrillig <rillig>2007-03-11 22:25:55 +0000
commit5bbd073d832f303e19f9e96dd5755a55cf1e866f (patch)
tree8469de26ef2377ff0b18297ba903fbe66e865547 /graphics/urt
parent85a574ebe92de5168988e811f6e60ea2746a25a2 (diff)
downloadpkgsrc-5bbd073d832f303e19f9e96dd5755a55cf1e866f.tar.gz
Fixed PKGMANDIR.
Diffstat (limited to 'graphics/urt')
-rw-r--r--graphics/urt/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile
index 38a529a85ad..06be6592ea6 100644
--- a/graphics/urt/Makefile
+++ b/graphics/urt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2006/11/10 17:32:24 tv Exp $
+# $NetBSD: Makefile,v 1.46 2007/03/11 22:25:55 rillig Exp $
DISTNAME= urt
PKGNAME= urt-3.1b1
@@ -27,6 +27,11 @@ BUILD_TARGET=
post-extract:
${CHMOD} 644 ${WRKSRC}/man/man1/rletotarga.1
+SUBST_CLASSES+= man
+SUBST_STAGE.man= pre-configure
+SUBST_FILES.man= config/urt
+SUBST_SED.man= 's,^\(\#defpath MAN_DEST\).*,\1 ${PREFIX}/${PKGMANDIR},'
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/urt ${PREFIX}/share/examples/urt
cd ${PREFIX}/share/doc/urt && \