summaryrefslogtreecommitdiff
path: root/net/citrix_ica/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/citrix_ica/Makefile')
-rw-r--r--net/citrix_ica/Makefile72
1 files changed, 39 insertions, 33 deletions
diff --git a/net/citrix_ica/Makefile b/net/citrix_ica/Makefile
index 80e3b487f03..bc2da4a2708 100644
--- a/net/citrix_ica/Makefile
+++ b/net/citrix_ica/Makefile
@@ -1,76 +1,78 @@
-# $NetBSD: Makefile,v 1.10 2002/06/24 22:44:10 grant Exp $
+#$NetBSD: Makefile,v 1.11 2002/08/05 00:34:56 dmcmahill Exp $
+#
# A default so lintpkgsrc is happy
-PKGNAME= citrix_ica-6.20
-DISTNAME= citrix
+PKGNAME= citrix_ica-6.30
+DISTNAME= citrix
.if (${MACHINE_ARCH} == "i386")
DISTNAME= linuxx86
-PKGNAME= citrix_ica-6.20.973
+PKGNAME= citrix_ica-6.30.1050
.endif
.if (${MACHINE_ARCH} == "sparc")
-DISTNAME= solaris
-PKGNAME= citrix_ica-6.20.976
-EXTRACT_SUFX= .tar.Z
+DISTNAME= solaris
+PKGNAME= citrix_ica-6.20.985
+EXTRACT_SUFX= .tar.Z
.endif
CATEGORIES= net
-MASTER_SITES= http://download2.citrix.com/files/en/products/nfr/ica/ \
- http://download2.citrix.com/FILES/en/products/client/ica/current/
+MASTER_SITES= http://download2.citrix.com/files/en/products/client/ica/current/
-MAINTAINER= packages@netbsd.org
+MAINTAINER= murray@river-styx.org
HOMEPAGE= http://www.citrix.com/products/clients/ica/technology.asp
COMMENT= Citrix(R) client for the Microsoft Windows Terminal Server
.if (${MACHINE_ARCH} == "i386")
-DEPENDS= suse_x11>=6.0:../../emulators/${SUSE_DIR_PREFIX}_x11
+DEPENDS= suse_x11>=6.4:../../emulators/${SUSE_DIR_PREFIX}_x11
.endif
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc
# see http://www.citrix.com/download/unix-downloads.htm
-LICENSE= citrix_ica-license
-RESTRICTED= License prohibits redistribution
-NO_SRC_ON_FTP= ${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-NO_SRC_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_CDROM= ${RESTRICTED}
+LICENSE= citrix_ica-license
+RESTRICTED= License prohibits redistribution
+NO_SRC_ON_FTP= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
PLIST_SRC= ${PKGDIR}/PLIST.pre \
${PKGDIR}/PLIST.${MACHINE_ARCH} \
${PKGDIR}/PLIST.post
-DIST_SUBDIR= citrix
-WRKSRC= ${WRKDIR}
-NO_BUILD= Yes
+DIST_SUBDIR= ${PKGNAME}
+WRKSRC= ${WRKDIR}
-CDIR= ${PREFIX}/lib/ICAClient
-BINDIR= ${PREFIX}/bin
+CDIR= ${PREFIX}/lib/ICAClient
+BINDIR= ${PREFIX}/bin
.if (${MACHINE_ARCH} == "sparc")
.if !exists(/emul/svr4/usr/lib/ld.so)
-IGNORE= "${PKGNAME} requires SVR4 compability - see compat_svr4(8)"
+IGNORE= "${PKGNAME} requires SVR4 compability - see compat_svr4(8)"
.endif
.endif
PATCHDIR=${WRKDIR}/.patches
pre-patch:
${MKDIR} ${PATCHDIR}
- ${CP} ${.CURDIR}/patches/patch-${MACHINE_ARCH}-* ${PATCHDIR}
+ ${CP} ${PKGDIR}/patches/patch-${MACHINE_ARCH}-* ${PATCHDIR}
-pre-install:
- @if [ -d "${CDIR}" ]; then \
- ${ECHO} ""; \
- ${ECHO} "*** Please remove ${CDIR} and try again ***"; \
- ${ECHO} ""; \
- ${FALSE}; \
- fi
-do-install:
+do-build:
${SED} s%DESTINATION%${CDIR}% ${FILESDIR}/response \
> ${WRKSRC}/response
${SED} s%DESTINATION%${CDIR}% ${FILESDIR}/wfcmgr \
> ${WRKSRC}/wfcmgr.x
${SED} s%DESTINATION%${CDIR}% ${FILESDIR}/wfica \
> ${WRKSRC}/wfica.x
+
+pre-install:
+ @if [ -d "${CDIR}" ]; then \
+ ${ECHO} ""; \
+ ${ECHO} "*** Please remove ${CDIR} and try again ***"; \
+ ${ECHO} ""; \
+ ${FALSE}; \
+ fi
+
+do-install:
cd ${WRKSRC} && ./setupwfc < response
${INSTALL_SCRIPT} ${WRKSRC}/wfcmgr.x ${PREFIX}/bin/wfcmgr
${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica
@@ -78,4 +80,8 @@ do-install:
< ${CDIR}/util/icalicense.sh > ${CDIR}/util/icalicense.sh.fixed
${MV} ${CDIR}/util/icalicense.sh.fixed ${CDIR}/util/icalicense.sh
+.if (${MACHINE_ARCH} == "i386")
.include "../../emulators/suse_linux/Makefile.application"
+.else
+.include "../../mk/bsd.pkg.mk"
+.endif