summaryrefslogtreecommitdiff
path: root/graphics/urt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/urt/Makefile')
-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 && \