1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/www/getleft/Makefile
2021-04-06 16:31:07 +02:00

32 lines
848 B
Makefile

# Created by: alepulver
PORTNAME= getleft
PORTVERSION= 1.2
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www ftp
MASTER_SITES= SF/${PORTNAME}down/${PORTNAME}-Stable/${PORTVERSION}
DISTNAME= Getleft-v${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Web site downloader
RUN_DEPENDS= ${LOCALBASE}/lib/Tktable2.10/libTktable2.10.so:x11-toolkits/tktable
USES= tk
PORTSCOUT= ignore:1
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} ${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} ${STAGEDIR}${DATADIR})
.endfor
.include <bsd.port.mk>