aboutsummaryrefslogtreecommitdiff
path: root/www/getleft
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-01-10 16:40:01 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-01-10 16:40:01 +0000
commit3dc84c7ac7905fff7409262649faccc7e1623b01 (patch)
tree9fd0b6a6064ae2a115858cc38be395da60ed7a84 /www/getleft
parentf09c534b486d583a44019f1b338e601ab3a19581 (diff)
downloadports-3dc84c7ac7905fff7409262649faccc7e1623b01.tar.gz
ports-3dc84c7ac7905fff7409262649faccc7e1623b01.zip
Notes
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>