aboutsummaryrefslogtreecommitdiff
path: root/misc/tkinfo
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2011-10-18 13:06:28 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2011-10-18 13:06:28 +0000
commitdaf2abbb577b2bff08638e272f5681693ce1e952 (patch)
tree285095332c76c0da800c771c2451e099a5862c25 /misc/tkinfo
parentf5f67d9d7d1328a6699d4df40d40d8197a757822 (diff)
downloadports-daf2abbb577b2bff08638e272f5681693ce1e952.tar.gz
ports-daf2abbb577b2bff08638e272f5681693ce1e952.zip
- Support USE_TK_WRAPPER
- Add WWW PR: 161612 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=283797
Diffstat (limited to 'misc/tkinfo')
-rw-r--r--misc/tkinfo/Makefile13
-rw-r--r--misc/tkinfo/files/patch-aa18
-rw-r--r--misc/tkinfo/pkg-descr2
3 files changed, 12 insertions, 21 deletions
diff --git a/misc/tkinfo/Makefile b/misc/tkinfo/Makefile
index 0601524a6391..afebb0bed2ef 100644
--- a/misc/tkinfo/Makefile
+++ b/misc/tkinfo/Makefile
@@ -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>
diff --git a/misc/tkinfo/files/patch-aa b/misc/tkinfo/files/patch-aa
deleted file mode 100644
index 9e30793710c1..000000000000
--- a/misc/tkinfo/files/patch-aa
+++ /dev/null
@@ -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 ""]
diff --git a/misc/tkinfo/pkg-descr b/misc/tkinfo/pkg-descr
index 53939576f874..84cc1c8ede6c 100644
--- a/misc/tkinfo/pkg-descr
+++ b/misc/tkinfo/pkg-descr
@@ -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/