From 995e9c427a6c3897cad285b444a681fe3f9dd60a Mon Sep 17 00:00:00 2001 From: asami Date: Sat, 23 Sep 1995 10:15:46 +0000 Subject: 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(-) (limited to 'misc/colorls') diff --git a/misc/colorls/Makefile b/misc/colorls/Makefile index f0ecb53..0b32cd7 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 -- cgit v1.1