aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-09-23 10:15:46 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-09-23 10:15:46 +0000
commitda82262bec91ebb34313ff80054a1de08a2469b8 (patch)
tree405c25b96330233359e3706e482a222dbb306901 /misc
parentd795bdaf74e422f9d8c3355f01bafd39dd5c6030 (diff)
downloadports-da82262bec91ebb34313ff80054a1de08a2469b8.tar.gz
ports-da82262bec91ebb34313ff80054a1de08a2469b8.zip
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.
Notes
Notes: svn path=/head/; revision=2179
Diffstat (limited to 'misc')
-rw-r--r--misc/colorls/Makefile21
1 files 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 <bsd.port.mk>