1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/x11-drivers/xorgxrdp/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00

45 lines
1007 B
Makefile

# $FreeBSD$
PORTNAME= xorgxrdp
PORTVERSION= 0.2.7
PORTREVISION= 1
CATEGORIES= x11-drivers
DISTVERSIONPREFIX= v
CATEGORIES= x11-drivers
DIST_SUBDIR= xrdp
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= cad9094.patch:-p1 fa3e738.patch:-p1
MAINTAINER= meta@FreeBSD.org
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= xorgproto xorg-server
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= neutrinolabs
GH_PROJECT= xrdp:xrdp
GH_TAGNAME= v0.9.7: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 <bsd.port.mk>