aboutsummaryrefslogtreecommitdiffstats
path: root/www/getleft
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-01-11 00:40:01 +0800
committergahr <gahr@FreeBSD.org>2014-01-11 00:40:01 +0800
commita7a11fc09846cea64803e8dbf9470ed0bc8f994e (patch)
tree9fd0b6a6064ae2a115858cc38be395da60ed7a84 /www/getleft
parenta1ace84f7fba82e8c66291b9fa9a94fdf39421cd (diff)
downloadfreebsd-ports-gnome-a7a11fc09846cea64803e8dbf9470ed0bc8f994e.tar.gz
freebsd-ports-gnome-a7a11fc09846cea64803e8dbf9470ed0bc8f994e.tar.zst
freebsd-ports-gnome-a7a11fc09846cea64803e8dbf9470ed0bc8f994e.zip
- Convert to USES=tk
- STAGE-clean
Diffstat (limited to 'www/getleft')
-rw-r--r--www/getleft/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/www/getleft/Makefile b/www/getleft/Makefile
index 3e0ece1daad6..30fa0bc653a9 100644
--- a/www/getleft/Makefile
+++ b/www/getleft/Makefile
@@ -14,20 +14,19 @@ COMMENT= Web site downloader
RUN_DEPENDS= ${LOCALBASE}/lib/Tktable2.10/libTktable2.10.so:${PORTSDIR}/x11-toolkits/tktable \
${LOCALBASE}/lib/libttkstub.a:${PORTSDIR}/x11-toolkits/tile
-USE_TK= 84+
+USES= tk
PORTSCOUT= ignore:1
-NO_STAGE= yes
do-build:
@(${ECHO_CMD} "#!${SH}"; ${ECHO_CMD} "cd ${DATADIR} || exit 1"; \
${ECHO_CMD} 'exec ${WISH} Getleft.tcl "$$@"') > ${WRKDIR}/${PORTNAME}
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
- @${MKDIR} ${DATADIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/Getleft.tcl ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/Getleft.tcl ${STAGEDIR}${DATADIR}
.for dir in Languages doc scripts images
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${DATADIR})
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR})
.endfor
.include <bsd.port.mk>