mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
63baaad84b
size of the desktop. However, the clipping rectangle is not reset when the size of the desktop changes. This means that when the size of the desktop increases, the area outside the original size will not be drawn. Submitted by: des
68 lines
1.6 KiB
Makefile
68 lines
1.6 KiB
Makefile
# New ports collection makefile for: rdesktop
|
|
# Date created: 13 December 2000
|
|
# Whom: mwest@uct.ac.za
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rdesktop
|
|
PORTVERSION= 1.7.1
|
|
PORTREVISION?= 1
|
|
CATEGORIES= net comms ipv6
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
COMMENT= RDP client for Windows NT/2000/2003 Terminal Server
|
|
|
|
LICENSE= GPLv3
|
|
USE_XORG= x11
|
|
USE_GMAKE= yes
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
DOCS= doc/AUTHORS doc/TODO doc/*.txt
|
|
MAN1= rdesktop.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if exists(${LOCALBASE}/lib/libao.so) || defined(WITH_LIBAO)
|
|
LIB_DEPENDS+= ao.4:${PORTSDIR}/audio/libao
|
|
.endif
|
|
|
|
.if exists(${LOCALBASE}/lib/libsamplerate.so) || defined(WITH_LIBSAMPLERATE)
|
|
LIB_DEPENDS+= samplerate.1:${PORTSDIR}/audio/libsamplerate
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_RDESKTOP_IPV6) && !defined(WITHOUT_IPV6)
|
|
CONFIGURE_ARGS+= --with-ipv6
|
|
.endif
|
|
|
|
.if defined(WITH_ICONV)
|
|
USE_ICONV= yes
|
|
CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE}
|
|
.endif
|
|
|
|
.if defined(WITH_RDESKTOP_DEBUG)
|
|
CONFIGURE_ARGS+= --with-debug\
|
|
--with-debug-kbd\
|
|
--with-debug-rdp5\
|
|
--with-debug-clipboard\
|
|
--with-debug-sound\
|
|
--with-debug-channel\
|
|
--with-debug-seamless
|
|
|
|
post-configure:
|
|
${ECHO} "#define WITH_DEBUG_SERIAL 1" >> ${WRKSRC}/rdesktop.h
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rdesktop ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/rdesktop.1 ${MAN1PREFIX}/man/man1
|
|
@${MKDIR} ${DATADIR}/keymaps
|
|
${INSTALL_DATA} ${WRKSRC}/keymaps/* ${DATADIR}/keymaps
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|