aboutsummaryrefslogtreecommitdiff
path: root/german/citrix_xenapp/Makefile
diff options
context:
space:
mode:
authorThomas Abthorpe <tabthorpe@FreeBSD.org>2009-06-14 05:27:22 +0000
committerThomas Abthorpe <tabthorpe@FreeBSD.org>2009-06-14 05:27:22 +0000
commit6bf975f73f967b0e2fbbe70fec6e560168ac85e2 (patch)
treef575e2a6ca55d1ef2a7e3a9959cdf1ebeea64956 /german/citrix_xenapp/Makefile
parent8645ec2f5550fd18209852a406c2a8d76e1ed23b (diff)
- Update to 11.0.140395
- Link to build
Notes
Notes: svn path=/head/; revision=235808
Diffstat (limited to 'german/citrix_xenapp/Makefile')
-rw-r--r--german/citrix_xenapp/Makefile57
1 files changed, 38 insertions, 19 deletions
diff --git a/german/citrix_xenapp/Makefile b/german/citrix_xenapp/Makefile
index 78b7182d4dff..ae13de36d4ca 100644
--- a/german/citrix_xenapp/Makefile
+++ b/german/citrix_xenapp/Makefile
@@ -1,40 +1,38 @@
-# New ports collection makefile for: Citrix(R) ICA(R) Client
+# New ports collection makefile for: Citrix(R) ICA(R) Client
# Date created: 12 Dez 2000
# Whom: mblapp
#
# $FreeBSD$
#
-PORTNAME= citrix_ica
-PORTVERSION= 10.6
+PORTNAME= citrix_xenapp
+PORTVERSION= 11.0.140395
CATEGORIES= german net comms linux
MASTER_SITES=
-DISTNAME= ${PORTNAME}-linuxx86-de-${PORTVERSION}
+DISTNAME= ${PORTNAME}-linuxx86-${PORTVERSION}
MAINTAINER= tabthorpe@FreeBSD.org
-COMMENT= Citrix(R) Presentation Server(TM) client
+COMMENT= Access virtual applications and desktops
ONLY_FOR_ARCHS= i386 amd64
-USE_LINUX= yes
-USE_LINUX_APPS= openmotif
+USE_LINUX= f8
+USE_LINUX_APPS= openmotif jpeg png
RESTRICTED= License prohibits redistribution
IS_INTERACTIVE= "Noisy license agreement ignores stdin"
-NO_WRKSUBDIR= Yes
-NO_BUILD= Yes
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
CDIR= ${PREFIX}/ICAClient
BINDIR= ${PREFIX}/bin
-
-NSCP= ${LOCALBASE}/libexec/netscape \
- ${LOCALBASE}/libexec/netscape-linux \
- ${LOCALBASE}/netscape \
- ${LOCALBASE}/netscape-linux \
- ${LOCALBASE}/lib/netscape \
- ${LOCALBASE}/lib/netscape-linux \
- ${MOZILLA_HOME}
+CERTDIR= ${CDIR}/keystore/cacerts
PLIST_SUB= MOZILLA_HOME=${MOZILLA_HOME}
+.if defined(ICA_CERTS)
+PLIST_SUB+= HAVE_ICA_CERTS="" ICA_CERTS="${ICA_CERTS}" CERTDIR="${CERTDIR}"
+.else
+PLIST_SUB+= HAVE_ICA_CERTS="@comment "
+.endif
.include <bsd.port.pre.mk>
@@ -47,14 +45,28 @@ do-fetch:
@${ECHO} ""
@${ECHO} "You have to fetch the file manually from"
@${ECHO} ""
- @${ECHO} "http://www.citrix.com/site/SS/downloads/details.asp?dID=2755&downloadID=3323"
+ @${ECHO} "http://www.citrix.com/English/SS/downloads/details.asp?downloadID=3323"
@${ECHO} ""
- @${ECHO} "Once de.linuxx86.tar.gz has been downloaded move it to"
+ @${ECHO} "Once en.linuxx86.tar.gz has been downloaded move it to"
@${ECHO} "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} and restart the build."
@${ECHO} ""
@${FALSE}
.endif
+.if defined(ICA_CERTS)
+pre-fetch:
+.for f in ${ICA_CERTS}
+ @echo "Checking ${f}"
+.if !exists(${DISTDIR}/${f})
+ @echo "Cert ${f} not found."
+ @exit 1
+.endif
+.endfor
+.endif
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|DefaultInstallDir=/usr/lib/ICAClient|DefaultInstallDir=${PREFIX}/ICAClient|' ${WRKSRC}/linuxx86/hinst
+
do-install:
@if (test -d "${CDIR}") ; \
then \
@@ -73,6 +85,13 @@ do-install:
cd ${WRKSRC} && ${SH} -c './setupwfc'
${INSTALL_SCRIPT} ${WRKSRC}/wfcmgr.x ${PREFIX}/bin/wfcmgr
${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica
+ ${MKDIR} ${LINUXBASE}/dev
# XXX: This is missing a "${BRANDELF} -t Linux <executables>".
+.if defined(ICA_CERTS)
+.for f in ${ICA_CERTS}
+ ${INSTALL_DATA} ${DISTDIR}/${f} ${CERTDIR}
+.endfor
+.endif
+
.include <bsd.port.post.mk>