1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Convert to USES+=tk

- STAGE-clean
This commit is contained in:
Pietro Cerutti 2013-11-06 14:57:53 +00:00
parent 9830a728e7
commit 62e8cf8c6b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333000

View File

@ -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 <bsd.port.mk>