aboutsummaryrefslogtreecommitdiff
path: root/misc/colorls/Makefile
blob: 61c0cec91f4db778cab3ddbca55dc2be06807ba1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# New ports collection makefile for:	colorls
# Version required:	FreeBSD-current (around March '95)
# Date created:		8 March 1995
# Whom:			Satoshi Asami
#
# $Id: Makefile,v 1.1.1.1 1995/03/09 00:49:22 asami Exp $
#
DISTNAME=	colorls
DISTFILES=	ls.tar.gz
FTP_SITE=	ftp.freebsd.org
FTP_DIR=	/pub/FreeBSD/FreeBSD-current/src/bin/
MASTER_SITES=	ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/bin/
MAINTAINER=	asami@FreeBSD.ORG
WRKSRC=		${WRKDIR}/ls

.if !defined(MASTER_SITE_OVERRIDE)
fetch: pre-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

.include <bsd.port.mk>