diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2020-11-03 17:48:05 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2020-11-03 17:48:05 +0000 |
commit | 26679aac05a70844e23cd31cc65376f55b2d850f (patch) | |
tree | 16df9adf00b6f34a0649e8247aa7efee6cce5a39 /x11-drivers | |
parent | 35b7b259f486914505f8336cbbbc48349820828f (diff) | |
download | ports-26679aac05a70844e23cd31cc65376f55b2d850f.tar.gz ports-26679aac05a70844e23cd31cc65376f55b2d850f.zip |
Clean up the port
- Set LICENSE_FILE
- Switch to USES=localbase
- Simplify handling of SUB_FILES for option DRI3
- Fix a couple of typos in pkg-message
We should probably install /etc/X11/xrdp/xorg.conf as a @sample, but that's
probably something that the maintainer should take a look at.
Approved by: portmgr (blanket)
Notes
Notes:
svn path=/head/; revision=554002
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/xorgxrdp/Makefile | 14 | ||||
-rw-r--r-- | x11-drivers/xorgxrdp/files/pkg-message.in | 4 |
2 files changed, 6 insertions, 12 deletions
diff --git a/x11-drivers/xorgxrdp/Makefile b/x11-drivers/xorgxrdp/Makefile index d5a6d88b6b04..902dcf6a854b 100644 --- a/x11-drivers/xorgxrdp/Makefile +++ b/x11-drivers/xorgxrdp/Makefile @@ -12,11 +12,12 @@ MAINTAINER= meta@FreeBSD.org COMMENT= X.Org driver enabling use through an RDP session with xrdp LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= xauth:x11/xauth BUILD_DEPENDS= nasm:devel/nasm -USES= autoreconf libtool:build pkgconfig xorg +USES= autoreconf libtool:build localbase pkgconfig xorg USE_XORG= xorgproto xorg-server USE_LDCONFIG= yes USE_GITHUB= yes @@ -27,8 +28,6 @@ GH_TAGNAME= v0.9.14:xrdp GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -CFLAGS+= -I${LOCALBASE}/include -LIBS= -L${LOCALBASE}/lib CONFIGURE_ENV= XRDP_CFLAGS=-I${WRKSRC_xrdp}/common OPTIONS_DEFINE= DEBUG DRI3 @@ -37,12 +36,7 @@ OPTIONS_DEFAULT= DRI3_DESC= DRI3/Glamor OpenGL Support DRI3_CONFIGURE_ENABLE= glamor DRI3_LIB_DEPENDS= libepoxy.so:graphics/libepoxy - -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MDRI3} -SUB_FILES= pkg-message -.endif +DRI3_SUB_FILES= pkg-message post-patch-DEBUG-on: ${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's|#define LOG_LEVEL [0-9]*|#define LOG_LEVEL 20|' @@ -50,4 +44,4 @@ post-patch-DEBUG-on: pre-configure: @cd ${WRKSRC} && ./bootstrap -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-drivers/xorgxrdp/files/pkg-message.in b/x11-drivers/xorgxrdp/files/pkg-message.in index 6db8d91fc8d3..195fc39a23d6 100644 --- a/x11-drivers/xorgxrdp/files/pkg-message.in +++ b/x11-drivers/xorgxrdp/files/pkg-message.in @@ -13,7 +13,7 @@ To configure hardware acceleration, follow the following steps. # sysrc kld_list="/boot/modules/amdgpu.ko" # sysrc kld_list="/boot/modules/radeonkms.ko" -3. Ensure users who login via xrdp are member of the "video" group +3. Ensure users who login via xrdp are members of the "video" group # pw groupmod video -m username|| pw groupmod wheel -m username 4. Edit /etc/X11/xrdp/xorg.conf to fit your environment @@ -22,7 +22,7 @@ To configure hardware acceleration, follow the following steps. Find the following line and change it to the actual path. Option "DRMDevice" "/dev/dri/renderD128" - Chenge "0" to "1" of the following line. + Change "0" to "1" of the following line. Option "DRI3" "0" 5. Restart your system and login via xrdp |