blob: f1463b6f9dfbfd75ee052c9dc8e5d0aff89f31fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# $NetBSD: Makefile,v 1.4 2001/05/05 17:27:17 dmcmahill Exp $
#
DISTNAME= citrix_ica-client
.if (${MACHINE_ARCH} == "i386")
DISTNAME= linuxx86
PKGNAME= citrix_ica-6.0.908
.endif
.if (${MACHINE_ARCH} == "sparc")
DISTNAME= solaris
PKGNAME= citrix_ica-6.0.915
EXTRACT_SUFX= .tar.Z
.endif
CATEGORIES= net
MASTER_SITES= http://download2.citrix.com/FILES/en/products/client/ica/current/
MAINTAINER= packages@netbsd.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.4:../../emulators/suse_base
.endif
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}
DISTINFO_FILE=${.CURDIR}/distinfo.${MACHINE_ARCH}
PATCHDIR=${.CURDIR}/patches.${MACHINE_ARCH}
PLIST_SRC= ${PKGDIR}/PLIST.pre \
${PKGDIR}/PLIST.${MACHINE_ARCH} \
${PKGDIR}/PLIST.post
DIST_SUBDIR= citrix
WRKSRC= ${WRKDIR}
NO_BUILD= Yes
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)"
.endif
.endif
do-install:
${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
cd ${WRKSRC} && ./setupwfc < response
${INSTALL_SCRIPT} ${WRKSRC}/wfcmgr.x ${PREFIX}/bin/wfcmgr
${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica
.include "../../mk/bsd.pkg.mk"
|