1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/japanese/citrix_xenapp/Makefile
Alejandro Pulver a07fd96d36 Citrix(R) Presentation Server(TM) runs on Microsoft(R) Windows
Server(TM) and UNIX(R) operating systems, and extends the base
Windows Terminal Services platform by enhancing the end-user
experience as well as increasing manageability, compatibility,
security and scalability to address business-critical environments.
Presentation Server expands the range of supported applications to
include legacy software and Web-based, UNIX and Java solutions. It
also enables any device or operating system including Macintosh and
Linux to access virtualized applications. Other important capabilities
are powerful management and configuration tools and faster, more
flexible printing.

WWW: http://www.citrix.com/English/ps2/products/product.asp?contentID=186

PR:		ports/98299
Submitted by:	Thomas Abthorpe <thomas at goodking.ca>
2006-10-03 18:49:55 +00:00

86 lines
2.4 KiB
Makefile

# New ports collection makefile for: Citrix(R) ICA(R) Client
# Date created: 2006-05-31
# Whom: Thomas Abthorpe <thomas@goodking.ca>
#
# $FreeBSD$
#
PORTNAME= citrix_ica
PORTVERSION= 9.15
CATEGORIES= japanese net comms linux
MASTER_SITES=
DISTNAME= ${PORTNAME}-linuxx86-ja-${PORTVERSION}
MAINTAINER= thomas@goodking.ca
COMMENT= Citrix(R) Presentation Server(TM) client
RUN_DEPENDS= ${LINUXBASE}${X11BASE}/lib/libXm.so.3:${PORTSDIR}/x11-toolkits/linux-openmotif
ONLY_FOR_ARCHS= i386
USE_LINUX= yes
#USE_X_PREFIX= Yes
RESTRICTED= License prohibits redistribution
IS_INTERACTIVE= "Noisy license agreement ignores stdin"
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}
PLIST_SUB= MOZILLA_HOME=${MOZILLA_HOME}
.include <bsd.port.pre.mk>
.if exists(${PREFIX}/bin/kde-config)
HAVE_KDE= "\\ny"
.endif
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE='The distribution file for this port may not be automatically fetched due to licensing restrictions.'
.endif
do-fetch:
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
@${ECHO} ""
@${ECHO} "You have to fetch the file manually after reading and"
@${ECHO} "agreeing to the license at:"
@${ECHO} ""
@${ECHO} "http://www.citrix.com/download/bin/license.asp?client=linux"
@${ECHO} ""
@${ECHO} "Once linuxx86.tar.gz has been downloaded move it to"
@${ECHO} "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} and restart the build."
@${ECHO} ""
@${FALSE}
.endif
do-install:
@if (test -d "${CDIR}") ; \
then \
${ECHO} "-----------------------------------------------------------" ; \
${ECHO} "" ; \
${ECHO} "A ${CDIR} installation does already exist." ; \
${ECHO} "Please move it away or delete the old port" ; \
${ECHO} "" ; \
${ECHO} "-----------------------------------------------------------" ; \
${FALSE} ; \
fi
${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/wfcmgr \
> ${WRKSRC}/wfcmgr.x
${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/wfica \
> ${WRKSRC}/wfica.x
cd ${WRKSRC} && ${SH} -c './setupwfc'
${INSTALL_SCRIPT} ${WRKSRC}/wfcmgr.x ${PREFIX}/bin/wfcmgr
${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica
# XXX: This is missing a "${BRANDELF} -t Linux <executables>".
.include <bsd.port.post.mk>