- Support USE_TK_WRAPPER

- Add WWW

PR:		161612
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Emanuel Haupt 2011-10-18 13:06:28 +00:00
parent f5f67d9d7d
commit daf2abbb57
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283797
3 changed files with 12 additions and 21 deletions

View file

@ -7,21 +7,28 @@
PORTNAME= tkinfo
PORTVERSION= 2.8
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc tk
MASTER_SITES= http://math-www.uni-paderborn.de/~axel/tkinfo/
MAINTAINER= ports@FreeBSD.org
COMMENT= A tk script to read GNU "info" files and display them
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
LICENSE= BSD
NO_BUILD= yes
USE_TK_WRAPPER= yes
MAN1= tkinfo.1
PLIST_FILES= bin/tkinfo
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/local/info|${LOCALBASE}/info|' ${WRKSRC}/tkinfo
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tkinfo ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/tkinfo.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/tkinfo.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>

View file

@ -1,18 +0,0 @@
--- tkinfo.orig Tue Mar 23 00:56:39 2004
+++ tkinfo Wed Jul 7 21:40:54 2004
@@ -1,6 +1,6 @@
#!/bin/sh
# This is a Tcl/Tk script to be interpreted by wish (Tk4.0 or better): \
-exec wish "$0" "$@"
+exec wish8.4 "$0" "$@"
##########################################################################
@@ -515,6 +515,7 @@
/usr/local/emacs/info /usr/local/lib/emacs/info \
/usr/lib/xemacs/info /usr/local/lib/xemacs/info \
/usr/gnu/info \
+ /usr/X11R6/info \
]
set defInfoSuffix [list .info -info ""]

View file

@ -15,3 +15,5 @@ a set of info files from TeX source that use the GNU texinfo style (the
one that uses "@" everywhere). Similarly, the latexinfo package (like
texinfo, but with latex commands and syntax) provides emacs scripts for
producing info files.
WWW: http://math-www.uni-paderborn.de/~axel/tkinfo/