# New ports collection makefile for: rdesktop # Date created: 13 December 2000 # Whom: mwest@uct.ac.za # # $FreeBSD$ # PORTNAME= rdesktop PORTVERSION= 1.3.1 PORTREVISION= 3 CATEGORIES= net comms MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} EXTRA_PATCHES= ${WRKDIR}/extra-patch-localIP MAINTAINER= matt@fruitsalad.org COMMENT= RDP client for Windows NT/2000/2003 Terminal Server USE_XLIB= yes USE_GMAKE= yes USE_REINPLACE= yes USE_OPENSSL= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} DOCS= doc/AUTHORS doc/TODO doc/*.txt MAN1= rdesktop.1 pre-patch: ${SED} -e 's,rdesktop-1.3.1_localip/,,g' \ ${FILESDIR}/extra-patch-localIP \ > ${WRKDIR}/extra-patch-localIP post-patch: @${REINPLACE_CMD} -e 's|$$cc|${CC}|' \ ${WRKSRC}/configure 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