# Created by: Koichiro IWAO
# $FreeBSD$
PORTNAME= xorgxrdp
PORTVERSION= 0.2.3
DISTVERSIONPREFIX= v
CATEGORIES= x11-drivers
DIST_SUBDIR= xrdp
MAINTAINER= meta+ports@vmeta.jp
COMMENT= X.Org driver enabling use through an RDP session with xrdp
LICENSE= MIT
RUN_DEPENDS= xauth:x11/xauth
BUILD_DEPENDS= nasm:devel/nasm
USES= autoreconf libtool:build pkgconfig
USE_XORG= dri2proto dri3proto glproto inputproto presentproto randrproto \
renderproto resourceproto scrnsaverproto xf86driproto xineramaproto \
xorg-server
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= neutrinolabs
GH_PROJECT= xrdp:xrdp
GH_TAGNAME= v0.9.3:xrdp
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
CFLAGS+= -I${LOCALBASE}/include
LIBS= -I${LOCALBASE}/lib
CONFIGURE_ENV= XRDP_CFLAGS=-I${WRKSRC_xrdp}/common
OPTIONS_DEFINE= DEBUG
post-patch-DEBUG-on:
${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's|#define LOG_LEVEL [0-9]*|#define LOG_LEVEL 20|'
pre-configure:
@cd ${WRKSRC} && ./bootstrap
.include