summaryrefslogtreecommitdiff
path: root/x11/tkinfo/Makefile
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>1999-10-08 01:45:37 +0000
committerfredb <fredb@pkgsrc.org>1999-10-08 01:45:37 +0000
commit73940191de3e18d7baee40f0daf131af53d01d4a (patch)
tree44481e99d6a52eb2e56d9b6e5174d5610315a5b7 /x11/tkinfo/Makefile
parent7691ce8b26a5da9918abce1790e147c96523bae2 (diff)
downloadpkgsrc-73940191de3e18d7baee40f0daf131af53d01d4a.tar.gz
Update tkinfo to 2.5. Minor ease of use features, cosmetic changes,
bug fixes. Now has a man page. - - Fix search paths to include both LOCALBASE and X11BASE. - - Add Sunsite mirror to MASTER_SITES.
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"