diff options
author | martti <martti> | 2002-01-21 13:19:08 +0000 |
---|---|---|
committer | martti <martti> | 2002-01-21 13:19:08 +0000 |
commit | 967bf4acf430e9974a5267597a81841b2be68572 (patch) | |
tree | 7901f4b9be34064ba33a71a82b3bd8520c2d589a /net | |
parent | a404e0e6ab7a45349837ad0cc1a86203d176b523 (diff) | |
download | pkgsrc-967bf4acf430e9974a5267597a81841b2be68572.tar.gz |
* Refuse to install if ${PREFIX}/lib/ICAClient already exists (otherwise
the installation program goes crazy)
* Fix path in the license generation script
Diffstat (limited to 'net')
-rw-r--r-- | net/citrix_ica/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/net/citrix_ica/Makefile b/net/citrix_ica/Makefile index 1bb824ef8f0..f8e7b08867f 100644 --- a/net/citrix_ica/Makefile +++ b/net/citrix_ica/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2002/01/18 11:50:40 martti Exp $ +# $NetBSD: Makefile,v 1.7 2002/01/21 13:19:08 martti Exp $ # DISTNAME= citrix_ica-client @@ -55,6 +55,14 @@ pre-patch: ${MKDIR} ${PATCHDIR} ${CP} ${.CURDIR}/patches/patch-${MACHINE_ARCH}-* ${PATCHDIR} +pre-install: + @if [ -d "${CDIR}" ]; then \ + ${ECHO} ""; \ + ${ECHO} "*** Please remove ${CDIR} and try again ***"; \ + ${ECHO} ""; \ + ${FALSE}; \ + fi + do-install: ${SED} s%DESTINATION%${CDIR}% ${FILESDIR}/response \ > ${WRKSRC}/response @@ -65,5 +73,8 @@ do-install: cd ${WRKSRC} && ./setupwfc < response ${INSTALL_SCRIPT} ${WRKSRC}/wfcmgr.x ${PREFIX}/bin/wfcmgr ${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica + ${SED} "s#/usr/lib/ICAClient#${CDIR}#g" \ + < ${CDIR}/util/icalicense.sh > ${CDIR}/util/icalicense.sh.fixed + ${MV} ${CDIR}/util/icalicense.sh.fixed ${CDIR}/util/icalicense.sh .include "../../mk/bsd.pkg.mk" |