diff options
author | vs <vs@FreeBSD.org> | 2004-12-02 12:19:07 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-12-02 12:19:07 +0000 |
commit | f73819b4f575a50e1339f093d26ac79dc08b1d55 (patch) | |
tree | 68b6246bc3b3fd272225402590ed58a0a445febb /net/libvncserver | |
parent | 5f354a7142bd1622da5b058948a111c3e131fd10 (diff) | |
download | FreeBSD-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/Makefile | 11 | ||||
-rw-r--r-- | net/libvncserver/pkg-plist | 2 |
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 |