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.
This commit is contained in:
parent
d795bdaf74
commit
da82262bec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2179
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user