mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
b2f6cc5296
be removed when rdesktop will release 1.4.1). PR: ports/78710 Submitted by: Alex Miller <asm@asm.kiev.ua> Obtained from: rdesktop project
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: rdesktop
|
|
# Date created: 13 December 2000
|
|
# Whom: mwest@uct.ac.za
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rdesktop
|
|
PORTVERSION= 1.4.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= net comms
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@freebsd.org
|
|
COMMENT= RDP client for Windows NT/2000/2003 Terminal Server
|
|
|
|
USE_XLIB= yes
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_ICONV= yes
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -liconv
|
|
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
|
|
--with-x=${X11BASE}
|
|
DOCS= doc/AUTHORS doc/TODO doc/*.txt
|
|
MAN1= rdesktop.1
|
|
|
|
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 <bsd.port.mk>
|