mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
65ab34a667
Prompted by PR: 13476, 13477 Submitted by: KATO Tsuguru
48 lines
1.5 KiB
Makefile
48 lines
1.5 KiB
Makefile
# New ports collection makefile for: Citrix(R) ICA(R) Client
|
|
# Version required: 2.80.76
|
|
# Date created: 20 Sep 1998
|
|
# Whom: msmith
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= linux
|
|
PKGNAME= citrix_ica-3.0.15
|
|
CATEGORIES= comms
|
|
MASTER_SITES=
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= msmith@FreeBSD.org
|
|
|
|
RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
RESTRICTED= "License prohibits redistribution"
|
|
IS_INTERACTIVE= "Noisy license agreement ignores stdin"
|
|
|
|
DIST_SUBDIR= citrix_ica
|
|
NO_WRKSUBDIR= Yes
|
|
NO_BUILD= Yes
|
|
|
|
CDIR= ${PREFIX}/lib/ICAClient
|
|
BINDIR= ${PREFIX}/bin
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX})
|
|
IGNORE='The distribution file for this port may not be automatically fetched due to licensing restrictions. You MUST fetch the file manually after reading and agreeing to the license at: http://download.citrix.com/download.asp?client=LINUX Once ${DISTFILES} has been downloaded, move it to ${DISTDIR}/${DIST_SUBDIR} and then restart this build.'
|
|
.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 <bsd.port.post.mk>
|