1388d85bfb
case we don't know the auth file. Use the '-auth guess' option to enable the x11vnc heuristic to find the correct file. While here, remove -display :0 which is the default. ok sthen@ (maintainer)
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.36 2011/09/19 21:33:42 ajacoutot Exp $
|
|
|
|
COMMENT = VNC server for real X displays
|
|
|
|
DISTNAME = x11vnc-0.9.13
|
|
REVISION = 1
|
|
|
|
CATEGORIES = x11
|
|
HOMEPAGE = http://www.karlrunge.com/x11vnc/
|
|
|
|
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB += X11 Xdamage Xext Xfixes Xinerama Xrandr Xtst c crypto
|
|
WANTLIB += pthread ssl z jpeg avahi-client avahi-common
|
|
|
|
USE_GROFF = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=libvncserver/}
|
|
MODULES = x11/tk
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
${MODTK_RUN_DEPENDS}
|
|
LIB_DEPENDS = graphics/jpeg \
|
|
net/avahi
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
|
--with-x \
|
|
--with-avahi
|
|
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/x11vnc/gui.c
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/x11vnc
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/x11vnc
|
|
|
|
.include <bsd.port.mk>
|