aboutsummaryrefslogtreecommitdiffstats
path: root/www/netscape4-communicator.us
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-02-01 06:23:03 +0800
committerobrien <obrien@FreeBSD.org>1999-02-01 06:23:03 +0800
commit79557591bea7c4f062e6aed3c51cc51926221ea1 (patch)
tree7a45b85c22342d841cccf92073f7c5a38400fa70 /www/netscape4-communicator.us
parent252b6f46fb8b1c1e137e7b02d03717a20d4dd704 (diff)
downloadfreebsd-ports-gnome-79557591bea7c4f062e6aed3c51cc51926221ea1.tar.gz
freebsd-ports-gnome-79557591bea7c4f062e6aed3c51cc51926221ea1.tar.zst
freebsd-ports-gnome-79557591bea7c4f062e6aed3c51cc51926221ea1.zip
Don't error out if required manually-fetched distfile doesn't exist locally.
Diffstat (limited to 'www/netscape4-communicator.us')
-rw-r--r--www/netscape4-communicator.us/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/www/netscape4-communicator.us/Makefile b/www/netscape4-communicator.us/Makefile
index 0272597454a3..2e89d6ac4776 100644
--- a/www/netscape4-communicator.us/Makefile
+++ b/www/netscape4-communicator.us/Makefile
@@ -4,7 +4,7 @@
# Date created: 14 Feb 1998
# Whom: obrien@cs.ucdavis.edu
#
-# $Id: Makefile,v 1.7 1999/01/06 04:18:12 simokawa Exp $
+# $Id: Makefile,v 1.8 1999/01/13 04:00:08 scrappy Exp $
#
DISTNAME= communicator-v407-us.x86-unknown-linux2.0_libc5
@@ -27,6 +27,8 @@ WRKSRC= ${WRKDIR}/communicator-v407.x86-unknown-linux2.0
NDIR= ${PREFIX}/lib/netscape.us
BINDIR= ${PREFIX}/bin
+.include <bsd.port.pre.mk>
+
# Need to define USA_RESIDENT to YES or NO
.if !defined(USA_RESIDENT) || (${USA_RESIDENT} != YES && ${USA_RESIDENT} != yes && ${USA_RESIDENT} != NO && ${USA_RESIDENT} != no)
pre-fetch:
@@ -39,13 +41,11 @@ pre-fetch:
#
.elif defined(USA_RESIDENT)
.if ${USA_RESIDENT} == YES || ${USA_RESIDENT} == yes
-#
-pre-fetch:
- @(if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
- ${ECHO} You must manually obtain ${DISTNAME}${EXTRACT_SUFX} ; \
- ${ECHO} distribution and place it in ${DISTDIR}. ; \
- false ; \
- fi )
+
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE='You must manually obtain ${DISTNAME}${EXTRACT_SUFX} distribution and place it in ${DISTDIR}.'
+.endif
+
.else
pre-fetch:
@${ECHO}
@@ -73,4 +73,4 @@ do-install:
post-install:
@${CAT} ${PKGDIR}/DESCR
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>