aboutsummaryrefslogtreecommitdiffstats
path: root/misc/tkman
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-10-01 20:19:48 +0800
committergahr <gahr@FreeBSD.org>2013-10-01 20:19:48 +0800
commit28a9360c3713c715ffe364c036de63f9bfc8ce35 (patch)
tree6a9ddc19a57020ec33a2bd03fd0fefb5e11e2a6c /misc/tkman
parentd51b34f341c1a0fbc542c57bdaa3f5fdfde09ba3 (diff)
downloadfreebsd-ports-gnome-28a9360c3713c715ffe364c036de63f9bfc8ce35.tar.gz
freebsd-ports-gnome-28a9360c3713c715ffe364c036de63f9bfc8ce35.tar.zst
freebsd-ports-gnome-28a9360c3713c715ffe364c036de63f9bfc8ce35.zip
- Convert to USES+=tk
- STAGE-clean
Diffstat (limited to 'misc/tkman')
-rw-r--r--misc/tkman/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/misc/tkman/Makefile b/misc/tkman/Makefile
index 18211bebd24e..4a81bff847b9 100644
--- a/misc/tkman/Makefile
+++ b/misc/tkman/Makefile
@@ -13,8 +13,7 @@ COMMENT= Tcl/Tk based manual browser
RUN_DEPENDS= glimpse:${PORTSDIR}/textproc/glimpse \
rman:${PORTSDIR}/textproc/rman
-USE_TK= yes
-USE_GMAKE= yes
+USES+= gmake tk
USE_DOS2UNIX= yes
MAKE_ARGS= WISH="${WISH}" \
texinfodir="${PREFIX}/${INFO_PATH}" \
@@ -24,7 +23,6 @@ MAKE_ARGS= WISH="${WISH}" \
manformat="{groff -Tlatin1 -te -mandoc}" \
manprint="{groff -mandoc -Tps -te -l}"
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -32,16 +30,16 @@ post-patch:
${WRKSRC}/contrib/tkmanclient
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/tkman ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/retkman ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/tkman ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/retkman ${STAGEDIR}${PREFIX}/bin
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/manual.html ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/manual.html ${STAGEDIR}${DOCSDIR}
.endif
- ${INSTALL_SCRIPT} ${WRKSRC}/contrib/tkmanclient ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/etc/periodic/weekly
- ${INSTALL_SCRIPT} ${FILESDIR}/310.index_manpages ${PREFIX}/etc/periodic/weekly
+ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/tkmanclient ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/weekly
+ ${INSTALL_SCRIPT} ${FILESDIR}/310.index_manpages ${STAGEDIR}${PREFIX}/etc/periodic/weekly
.include <bsd.port.mk>