2c80031a83
- Update WWW PR: 159492 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
36 lines
937 B
Makefile
36 lines
937 B
Makefile
# New ports collection makefile for: getleft
|
|
# Date created: 2006-11-07
|
|
# Whom: alepulver
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= getleft
|
|
PORTVERSION= 1.2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= www ftp
|
|
MASTER_SITES= SF/${PORTNAME}down/${PORTNAME}-Stable/${PORTVERSION}
|
|
DISTNAME= Getleft-v${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
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+
|
|
|
|
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}
|
|
.for dir in Languages doc scripts images
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${DATADIR})
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|