summaryrefslogtreecommitdiff
path: root/net/citrix_ica
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-07-29 05:18:36 +0000
committerjlam <jlam@pkgsrc.org>2007-07-29 05:18:36 +0000
commit33f30156fb37245b360bbc293320402ecf1aba41 (patch)
tree45cad36d8470a568b9136017b2dd79c9efcc65bc /net/citrix_ica
parentffe106498e5f63e2e945d5b6b2ac8807a10ae78f (diff)
downloadpkgsrc-33f30156fb37245b360bbc293320402ecf1aba41.tar.gz
* Add new emulator framework in pkgsrc/mk/emulator that handles all
binary-only packages that require binary "emulation" on the native operating system. Please see pkgsrc/mk/emulator/README for more details. * Teach the plist framework to automatically use any existing PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition. * Convert all of the binary-only packages in pkgsrc to use the emulator framework. Most of them have been tested to install and deinstall correctly. This involves the following cleanup actions: * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM} more consistently. * Simplify packages by using default INSTALL and DEINSTALL scripts instead of custom INSTALL/DEINSTALL code. * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc. Packages only need to state exactly which emulations they support, and the framework handles any i386-on-x86_64 or sparc-on-sparc64 uses. * Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will automatically detect when the package is installing on Linux. Specific changes to packages include: * Bump the PKGREVISIONs for all of the suse100* and suse91* packages due to changes in the +INSTALL/+DEINSTALL scripts used in all of the packages. * Remove pkgsrc/emulators/suse_linux, which is unused by any packages. * cad/lc -- remove custom code to create the distinfo file for all supported platforms; just use "emul-fetch" and "emul-distinfo" instead. * lang/Cg-compiler -- install the shared libraries under ${EMULDIR} instead of ${PREFIX}/lib so that compiled programs will find the shared libraries. * mail/thunderbird-bin-nightly -- update to latest binary distributions for supported platforms. * multimedia/ns-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. * security/uvscan -- set LD_LIBRARY_PATH explicitly so that it's not necessary to install library symlinks into ${EMULDIR}/usr/local/lib. * www/firefox-bin-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch.
Diffstat (limited to 'net/citrix_ica')
-rw-r--r--net/citrix_ica/Makefile70
-rw-r--r--net/citrix_ica/PLIST.linux-i386 (renamed from net/citrix_ica/PLIST.i386)2
-rw-r--r--net/citrix_ica/PLIST.solaris-sparc (renamed from net/citrix_ica/PLIST.sparc)2
3 files changed, 27 insertions, 47 deletions
diff --git a/net/citrix_ica/Makefile b/net/citrix_ica/Makefile
index 1dd2485b04c..51a6af45e3d 100644
--- a/net/citrix_ica/Makefile
+++ b/net/citrix_ica/Makefile
@@ -1,66 +1,43 @@
-# $NetBSD: Makefile,v 1.35 2007/07/03 13:31:31 sborrill Exp $
-#
+# $NetBSD: Makefile,v 1.36 2007/07/29 05:19:46 jlam Exp $
-# A default so lintpkgsrc is happy, overridden below
-DISTNAME= citrix
-PKGNAME= citrix_ica-10.6.115659
+DISTNAME= citrix_ica-10.6.115659
CATEGORIES= net
-MASTER_SITES= http://download2.citrix.com/FILES/en/products/Linux10/
+MASTER_SITES= # empty
MAINTAINER= sborrill@NetBSD.org
HOMEPAGE= http://www.citrix.com/English/SS/downloads/downloads.asp?dID=2755
COMMENT= Citrix(R) ICA client for the Citrix(R) Presentation Server(TM)
-.include "../../mk/bsd.prefs.mk"
+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}
-ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386 NetBSD-*-sparc SunOS-*-sparc
-ONLY_FOR_PLATFORM+= DragonFly-*-i386
+EMUL_PLATFORMS= linux-i386
+EMUL_PLATFORMS+= solaris-sparc
+EMUL_MODULES.linux= locale motif x11
-.if ${OPSYS} == "NetBSD"
-. if ${MACHINE_ARCH} == "i386"
+.include "../../mk/bsd.prefs.mk"
+
+.if ${EMUL_PLATFORM} == "linux-i386"
DISTNAME= en.linuxx86
PKGNAME= citrix_ica-10.6.115659
-. elif ${MACHINE_ARCH} == "sparc"
-DISTNAME= en.solaris
-PKGNAME= citrix_ica-8.46.110465
-MASTER_SITES= http://www.citrix.com/site/resources/dynamic/software/
-EXTRACT_SUFX= .tar.Z
-. endif
-.elif ${OPSYS} == "SunOS"
+MASTER_SITES= http://download2.citrix.com/FILES/en/products/Linux10/
+.elif ${EMUL_PLATFORM} == "solaris-sparc"
DISTNAME= en.solaris
PKGNAME= citrix_ica-8.46.110465
MASTER_SITES= http://www.citrix.com/site/resources/dynamic/software/
EXTRACT_SUFX= .tar.Z
-.elif ${OPSYS} == "Linux" || ${OPSYS} == "DragonFly"
-DISTNAME= en.linuxx86
-PKGNAME= citrix_ica-10.0.110003
.endif
-.if (${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly") && ${MACHINE_ARCH} == "i386"
-DEPENDS+= suse_x11>=6.4:../../emulators/${SUSE_DIR_PREFIX}_x11
-DEPENDS+= suse_openmotif>=6.4:../../emulators/${SUSE_DIR_PREFIX}_openmotif
-DEPENDS+= suse_locale>=6.4:../../emulators/${SUSE_DIR_PREFIX}_locale
-.endif
-
-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}
-
WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
CDIR= ${PREFIX}/lib/ICAClient
USE_TOOLS+= patch
-.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc"
-. if !exists(/emul/svr4/usr/lib/ld.so)
-PKG_FAIL_REASON+= "${PKGNAME} requires SVR4 compability - see compat_svr4(8)"
-. endif
-.endif
-
INSTALLATION_DIRS= bin
do-patch:
@@ -78,7 +55,14 @@ do-build:
> ${WRKSRC}/wfica.x
pre-install:
- if [ -d "${CDIR}" ]; then \
+ ${RUN} if [ `${ID} -u` != 0 ]; then \
+ ${ECHO} ""; \
+ ${ECHO} "*** ${PKGNAME} must be installed with" \
+ "superuser privileges ***"; \
+ ${ECHO} ""; \
+ ${FALSE}; \
+ fi
+ ${RUN} if [ -d "${CDIR}" ]; then \
${ECHO} ""; \
${ECHO} "*** Please remove ${CDIR} and try again ***"; \
${ECHO} ""; \
@@ -93,8 +77,4 @@ do-install:
< ${CDIR}/util/icalicense.sh > ${CDIR}/util/icalicense.sh.fixed
${MV} ${CDIR}/util/icalicense.sh.fixed ${CDIR}/util/icalicense.sh
-.if (${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly") && ${MACHINE_ARCH} == "i386"
-. include "../../emulators/suse_linux/Makefile.application"
-.endif
-
.include "../../mk/bsd.pkg.mk"
diff --git a/net/citrix_ica/PLIST.i386 b/net/citrix_ica/PLIST.linux-i386
index b16762a06ef..a01e0db3ca0 100644
--- a/net/citrix_ica/PLIST.i386
+++ b/net/citrix_ica/PLIST.linux-i386
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.i386,v 1.5 2007/03/05 18:01:03 sborrill Exp $
+@comment $NetBSD: PLIST.linux-i386,v 1.1 2007/07/29 05:19:46 jlam Exp $
lib/ICAClient/CHARICONV.DLL
lib/ICAClient/pkginf/F.core.linuxx86
lib/ICAClient/pkginf/Ver.core.linuxx86
diff --git a/net/citrix_ica/PLIST.sparc b/net/citrix_ica/PLIST.solaris-sparc
index 42dca2d4097..abf94b5ad4d 100644
--- a/net/citrix_ica/PLIST.sparc
+++ b/net/citrix_ica/PLIST.solaris-sparc
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.sparc,v 1.4 2007/03/05 18:01:03 sborrill Exp $
+@comment $NetBSD: PLIST.solaris-sparc,v 1.1 2007/07/29 05:19:46 jlam Exp $
lib/ICAClient/.config/appsrv.ini
lib/ICAClient/.config/keyboard.ini
lib/ICAClient/.config/module.ini