From 62e8cf8c6b94074cadbe97b4600810a713161d1f Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Wed, 6 Nov 2013 14:57:53 +0000 Subject: [PATCH] - Convert to USES+=tk - STAGE-clean --- misc/tkinfo/Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/misc/tkinfo/Makefile b/misc/tkinfo/Makefile index 5a25c8c1751f..a089d8a806d3 100644 --- a/misc/tkinfo/Makefile +++ b/misc/tkinfo/Makefile @@ -13,19 +13,18 @@ COMMENT= Tk script to read GNU "info" files and display them LICENSE= BSD NO_BUILD= yes +USES+= tk -USE_TK_WRAPPER= yes +PLIST_FILES= bin/tkinfo \ + man/man1/tkinfo.1.gz -MAN1= tkinfo.1 -PLIST_FILES= bin/tkinfo - -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e \ - 's|/usr/local/info|${LOCALBASE}/info|' ${WRKSRC}/tkinfo + 's|/usr/local/info|${LOCALBASE}/info|; \ + s|exec wish|exec ${WISH}|' ${WRKSRC}/tkinfo do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/tkinfo ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/tkinfo.1 ${MANPREFIX}/man/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/tkinfo ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/tkinfo.1 ${STAGEDIR}${PREFIX}/man/man1 .include