diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-01-04 16:26:59 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-01-04 16:26:59 +0000 |
commit | 519068f8e938a307fbf7b29c5a8a1e5e82bd2f48 (patch) | |
tree | c17705bec9ded24f290c1470b39a8c3984c629e6 /net | |
parent | Don't error out on ``make fetch'' if distfiles are not present. (diff) |
Change do-fetch target so automatated ``cd /usr/ports ; make fetch'' will work.
Notes
Notes:
svn path=/head/; revision=15825
Diffstat (limited to 'net')
-rw-r--r-- | net/citrix_ica/Makefile | 23 | ||||
-rw-r--r-- | net/citrix_xenapp/Makefile | 23 |
2 files changed, 14 insertions, 32 deletions
diff --git a/net/citrix_ica/Makefile b/net/citrix_ica/Makefile index 040204cafd5c..466d01f7923c 100644 --- a/net/citrix_ica/Makefile +++ b/net/citrix_ica/Makefile @@ -3,7 +3,7 @@ # Date created: 20 Sep 1998 # Whom: msmith # -# $Id: Makefile,v 1.3 1998/12/28 23:38:12 msmith Exp $ +# $Id: Makefile,v 1.4 1998/12/30 03:56:28 obrien Exp $ # DISTNAME= linux @@ -25,20 +25,11 @@ IS_INTERACTIVE= "Noisy license agreement ignores stdin" CDIR= ${PREFIX}/lib/ICAClient BINDIR= ${PREFIX}/bin -do-fetch: - @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \ - ${ECHO} "" ; \ - ${ECHO} " The source to this port may not be automatically fetched" ; \ - ${ECHO} " due to licensing restrictions. You MUST fetch the source" ; \ - ${ECHO} " manually after reading and agreeing to the license at:" ; \ - ${ECHO} "" ; \ - ${ECHO} " http://download.citrix.com/download.asp?client=LINUX" ; \ - ${ECHO} "" ; \ - ${ECHO} " Once ${DISTFILES} has been downloaded, move it to ${DISTDIR}" ; \ - ${ECHO} " and then restart this build." ; \ - ${ECHO} "" ; \ - exit 1 ; \ - fi +.include <bsd.port.pre.mk> + +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) +IGNORE='The source to this port may not be automatically fetched due to licensing restrictions. You MUST fetch the source manually after reading and agreeing to the license at: http://download.citrix.com/download.asp?client=LINUX Once ${DISTFILES} has been downloaded, move it to ${DISTDIR} and then restart this build.' +.endif do-install: ${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/response \ @@ -51,4 +42,4 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/wfcmgr.x ${PREFIX}/bin/wfcmgr ${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/citrix_xenapp/Makefile b/net/citrix_xenapp/Makefile index 040204cafd5c..466d01f7923c 100644 --- a/net/citrix_xenapp/Makefile +++ b/net/citrix_xenapp/Makefile @@ -3,7 +3,7 @@ # Date created: 20 Sep 1998 # Whom: msmith # -# $Id: Makefile,v 1.3 1998/12/28 23:38:12 msmith Exp $ +# $Id: Makefile,v 1.4 1998/12/30 03:56:28 obrien Exp $ # DISTNAME= linux @@ -25,20 +25,11 @@ IS_INTERACTIVE= "Noisy license agreement ignores stdin" CDIR= ${PREFIX}/lib/ICAClient BINDIR= ${PREFIX}/bin -do-fetch: - @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \ - ${ECHO} "" ; \ - ${ECHO} " The source to this port may not be automatically fetched" ; \ - ${ECHO} " due to licensing restrictions. You MUST fetch the source" ; \ - ${ECHO} " manually after reading and agreeing to the license at:" ; \ - ${ECHO} "" ; \ - ${ECHO} " http://download.citrix.com/download.asp?client=LINUX" ; \ - ${ECHO} "" ; \ - ${ECHO} " Once ${DISTFILES} has been downloaded, move it to ${DISTDIR}" ; \ - ${ECHO} " and then restart this build." ; \ - ${ECHO} "" ; \ - exit 1 ; \ - fi +.include <bsd.port.pre.mk> + +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) +IGNORE='The source to this port may not be automatically fetched due to licensing restrictions. You MUST fetch the source manually after reading and agreeing to the license at: http://download.citrix.com/download.asp?client=LINUX Once ${DISTFILES} has been downloaded, move it to ${DISTDIR} and then restart this build.' +.endif do-install: ${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/response \ @@ -51,4 +42,4 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/wfcmgr.x ${PREFIX}/bin/wfcmgr ${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica -.include <bsd.port.mk> +.include <bsd.port.post.mk> |