summaryrefslogtreecommitdiffstats
path: root/net/libvncserver
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-12-02 12:19:07 +0000
committervs <vs@FreeBSD.org>2004-12-02 12:19:07 +0000
commitf73819b4f575a50e1339f093d26ac79dc08b1d55 (patch)
tree68b6246bc3b3fd272225402590ed58a0a445febb /net/libvncserver
parent5f354a7142bd1622da5b058948a111c3e131fd10 (diff)
downloadFreeBSD-ports-f73819b4f575a50e1339f093d26ac79dc08b1d55.zip
FreeBSD-ports-f73819b4f575a50e1339f093d26ac79dc08b1d55.tar.gz
- Add optional WITHOUT_X11-build
- Assign maintainership to submitter PR: ports/74313 Submitted by: Andrew Turner
Diffstat (limited to 'net/libvncserver')
-rw-r--r--net/libvncserver/Makefile11
-rw-r--r--net/libvncserver/pkg-plist2
2 files changed, 10 insertions, 3 deletions
diff --git a/net/libvncserver/Makefile b/net/libvncserver/Makefile
index 4151808..1eba3e5 100644
--- a/net/libvncserver/Makefile
+++ b/net/libvncserver/Makefile
@@ -13,13 +13,20 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= x11vnc-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= andrew+ports@fubar.geek.nz
COMMENT= Provide an easy API to write one's own vnc server
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
+.ifndef(WITHOUT_X11)
+USE_XLIB= yes
+PLIST_SUB+= X11=""
+.else
+CONFIGURE_ARGS+=--without-x
+PLIST_SUB+= X11="@comment "
+.endif
+
USE_REINPLACE= yes
-USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/net/libvncserver/pkg-plist b/net/libvncserver/pkg-plist
index 9568039..52f8d2d 100644
--- a/net/libvncserver/pkg-plist
+++ b/net/libvncserver/pkg-plist
@@ -1,4 +1,4 @@
-bin/x11vnc
+%%X11%%bin/x11vnc
include/rfb/rfb.h
include/rfb/rfbconfig.h
include/rfb/rfbint.h
OpenPOWER on IntegriCloud