aboutsummaryrefslogtreecommitdiff
path: root/misc/tkinfo/Makefile
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/Makefile
parentf5f67d9d7d1328a6699d4df40d40d8197a757822 (diff)
Notes
Diffstat (limited to 'misc/tkinfo/Makefile')
-rw-r--r--misc/tkinfo/Makefile13
1 files changed, 10 insertions, 3 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>