From da82262bec91ebb34313ff80054a1de08a2469b8 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Sat, 23 Sep 1995 10:15:46 +0000 Subject: [PATCH] Remove hack to get around ncftp's inability to grab tarfiles generated on-the-fly. Use ncftp2 instead, and depend on it via FETCH_DEPENDS. --- misc/colorls/Makefile | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/misc/colorls/Makefile b/misc/colorls/Makefile index f0ecb53a9b01..0b32cd76c867 100644 --- a/misc/colorls/Makefile +++ b/misc/colorls/Makefile @@ -3,30 +3,21 @@ # Date created: 8 March 1995 # Whom: Satoshi Asami # -# $Id: Makefile,v 1.4 1995/04/15 01:28:36 asami Exp $ +# $Id: Makefile,v 1.5 1995/04/23 13:02:01 asami Exp $ # DISTNAME= colorls PKGNAME= colorls-2.0.5 CATEGORIES+= utilities -# MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/bin/ +MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/bin/ DISTFILES= ls.tar.gz MAINTAINER= asami@FreeBSD.ORG -WRKSRC= ${WRKDIR}/ls +FETCH_DEPENDS= ncftp2:${PORTSDIR}/net/ncftp2 -FTP_SITE= ftp.freebsd.org -FTP_DIR= /pub/FreeBSD/FreeBSD-current/src/bin/ - -.if !defined(MASTER_SITE_OVERRIDE) -do-fetch: - @if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi - @(cd ${DISTDIR}; \ - if [ ! -f ${DISTFILES} ]; then \ - (sleep 5; echo "cd ${FTP_DIR}"; echo "get ${DISTFILES}") | ${NCFTP} ${NCFTPFLAGS} ${FTP_SITE}; \ - fi \ - ) -.endif +WRKSRC= ${WRKDIR}/pub/FreeBSD/FreeBSD-current/src/bin/ls +NCFTP= ncftp2 +NCFTPFLAGS= .include