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 + +.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 +.include 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 + +.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 +.include