summaryrefslogtreecommitdiff
path: root/x11-toolkits/iv/Makefile
blob: 41888929dd5e3edd5ff3b3a26ef2363622aee62f (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
27
28
29
30
# New ports collection makefile for:	iv
# Version required:	3.1
# Date created:		23.sept.1994
# Whom:			adam
#
# $Id: Makefile,v 1.3 1994/11/15 03:19:35 adam Exp $
#

EXTRACT_SUFFIX=	.tar.Z
VERSION=	3.1
DISTNAME=	iv-${VERSION}
DISTFILES=	${DISTNAME}${EXTRACT_SUFFIX}
WRKSRC=		${WRKDIR}/iv
MAKEFILE=	makefile
NCFTPFLAGS=	-NP

.if ${DISTNAME} != ${VERSION}
pre-fetch:
	@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
	    mkdir -p ${DISTDIR}/${DISTNAME} ; \
	    ${MAKE} MASTER_SITES=ftp://interviews.stanford.edu/pub/ \
CATEGORIES+=	x11
		DISTDIR=${DISTDIR}/${DISTNAME} DISTNAME=${VERSION} fetch ; \
	    mv ${DISTDIR}/${DISTNAME}/${VERSION}${EXTRACT_SUFFIX} \
		${DISTDIR}/${DISTFILES} ; \
	    rmdir ${DISTDIR}/${DISTNAME} ; \
	fi
.endif

.include <bsd.port.mk>