summaryrefslogtreecommitdiff
path: root/x11/tkinfo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/tkinfo/Makefile')
-rw-r--r--x11/tkinfo/Makefile23
1 files changed, 14 insertions, 9 deletions
diff --git a/x11/tkinfo/Makefile b/x11/tkinfo/Makefile
index 06fce983e83..8a032276988 100644
--- a/x11/tkinfo/Makefile
+++ b/x11/tkinfo/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.11 1999/04/26 19:30:28 garbled Exp $
+# $NetBSD: Makefile,v 1.12 1999/10/08 01:45:37 fredb Exp $
# FreeBSD Id: Makefile,v 1.15 1997/12/16 09:26:12 tg Exp
#
-DISTNAME= tkinfo-1.5
-CATEGORIES= x11 tk80
-MASTER_SITES= http://www.math.ucsb.edu/~boldt/tkinfo/ \
+DISTNAME= tkinfo-2.5
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SUNSITE:=apps/doctools/info/} \
http://math-www.uni-paderborn.de/~axel/tkinfo/
MAINTAINER= packages@netbsd.org
@@ -15,11 +15,16 @@ DEPENDS= tk-8.0.5:../../x11/tk80
USE_X11= yes
NO_BUILD= yes
-do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/tkinfo ${PREFIX}/bin
-
post-patch:
- ( cd ${WRKSRC} ; ${SED} 's|@PREFIX@|${PREFIX}|g' \
- <tkinfo >tkinfo.BAK ; ${MV} tkinfo.BAK tkinfo )
+ cd ${WRKSRC}; \
+ ${MV} tkinfo tkinfo.src; \
+ ${SED} \
+ -e 's|@LOCALBASE@|${LOCALBASE}|g' \
+ -e 's|@X11BASE@|${X11BASE}|g' \
+ < tkinfo.src > tkinfo
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/tkinfo ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/tkinfo.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"