2017-03-28 21:14:53 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xorgxrdp
|
2018-08-10 10:00:42 +02:00
|
|
|
PORTVERSION= 0.2.7
|
2018-09-11 20:34:27 +02:00
|
|
|
PORTREVISION= 1
|
|
|
|
CATEGORIES= x11-drivers
|
2017-03-28 21:14:53 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
|
|
|
CATEGORIES= x11-drivers
|
|
|
|
DIST_SUBDIR= xrdp
|
|
|
|
|
2018-08-10 10:00:42 +02:00
|
|
|
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
|
|
|
PATCHFILES= cad9094.patch:-p1 fa3e738.patch:-p1
|
|
|
|
|
2018-03-20 07:16:18 +01:00
|
|
|
MAINTAINER= meta@FreeBSD.org
|
2017-03-28 21:14:53 +02:00
|
|
|
COMMENT= X.Org driver enabling use through an RDP session with xrdp
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
|
2017-04-01 14:36:36 +02:00
|
|
|
RUN_DEPENDS= xauth:x11/xauth
|
2017-03-28 21:14:53 +02:00
|
|
|
BUILD_DEPENDS= nasm:devel/nasm
|
|
|
|
|
|
|
|
USES= autoreconf libtool:build pkgconfig
|
2018-07-31 20:41:30 +02:00
|
|
|
USE_XORG= xorgproto xorg-server
|
2017-03-28 21:14:53 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= neutrinolabs
|
|
|
|
GH_PROJECT= xrdp:xrdp
|
2018-08-10 10:00:42 +02:00
|
|
|
GH_TAGNAME= v0.9.7:xrdp
|
2017-03-28 21:14:53 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2017-07-08 08:30:36 +02:00
|
|
|
LIBS= -I${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV= XRDP_CFLAGS=-I${WRKSRC_xrdp}/common
|
2017-03-28 21:14:53 +02:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= DEBUG
|
|
|
|
|
2017-07-08 08:30:36 +02:00
|
|
|
post-patch-DEBUG-on:
|
2017-03-28 21:14:53 +02:00
|
|
|
${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's|#define LOG_LEVEL [0-9]*|#define LOG_LEVEL 20|'
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@cd ${WRKSRC} && ./bootstrap
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|