diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-01-31 22:23:03 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-01-31 22:23:03 +0000 |
commit | 2ca50288cc9148fbe8ca16818529f83b41c9fe3c (patch) | |
tree | 6d91e8c20c456bd96927522d7967d8758eb9a395 /www/netscape4-communicator.us | |
parent | Activate gnomemc. (diff) |
Don't error out if required manually-fetched distfile doesn't exist locally.
Notes
Notes:
svn path=/head/; revision=16457
Diffstat (limited to 'www/netscape4-communicator.us')
-rw-r--r-- | www/netscape4-communicator.us/Makefile | 18 |
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> |