summaryrefslogtreecommitdiff
path: root/x11/tkman/Makefile
diff options
context:
space:
mode:
authorfredb <fredb>2000-09-11 21:08:49 +0000
committerfredb <fredb>2000-09-11 21:08:49 +0000
commitc1f5498a26592899c5a8e0e1e25fdebe6dcbeaa3 (patch)
tree0407291ec57345e320426ec4af508532f7fe6905 /x11/tkman/Makefile
parent660bcf6d113a545860eb487c084e39941f3bad0a (diff)
downloadpkgsrc-c1f5498a26592899c5a8e0e1e25fdebe6dcbeaa3.tar.gz
Install a script to maintain the apropos and glimpse databases, and
instructions for using it.
Diffstat (limited to 'x11/tkman/Makefile')
-rw-r--r--x11/tkman/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/x11/tkman/Makefile b/x11/tkman/Makefile
index e23901ece5b..0125c9bf159 100644
--- a/x11/tkman/Makefile
+++ b/x11/tkman/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2000/08/31 03:58:14 fredb Exp $
+# $NetBSD: Makefile,v 1.24 2000/09/11 21:08:49 fredb Exp $
# FreeBSD Id: Makefile,v 1.28 1997/12/08 15:51:20 tg Exp
#
@@ -17,6 +17,16 @@ DEPENDS+= tk-8.3.2:../../x11/tk
USE_X11= yes
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
WRKSRC= ${WRKDIR}/${PKGNAME}
+post-install:
+ ${SED} -e 's|@@LOCALBASE@@|${LOCALBASE}|' \
+ -e 's|@@PREFIX@@|${PREFIX}|' \
+ -e 's|@@X11BASE@@|${X11BASE}|' \
+ < ${FILESDIR}/mkindex > ${WRKDIR}/mkindex
+ ${SED} -e 's|@@PREFIX@@|${PREFIX}|' \
+ < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
+ ${INSTALL_SCRIPT} ${WRKDIR}/mkindex ${PREFIX}/libexec
+
.include "../../mk/bsd.pkg.mk"