2009-06-23 17:11:17 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2009/06/23 21:11:17 sthen Exp $
|
2004-12-02 16:21:23 -05:00
|
|
|
|
2009-02-15 04:47:48 -05:00
|
|
|
COMMENT = VNC server for real X displays
|
2004-12-02 16:21:23 -05:00
|
|
|
|
2009-06-23 17:11:17 -04:00
|
|
|
DISTNAME = x11vnc-0.9.7
|
2009-02-15 04:47:48 -05:00
|
|
|
CATEGORIES = x11
|
|
|
|
HOMEPAGE = http://www.karlrunge.com/x11vnc/
|
2004-12-02 16:21:23 -05:00
|
|
|
|
2009-02-15 04:47:48 -05:00
|
|
|
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
|
2004-12-02 16:21:23 -05:00
|
|
|
|
2009-01-15 21:46:22 -05:00
|
|
|
# GPLv2
|
2009-02-15 04:47:48 -05:00
|
|
|
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
|
|
|
|
|
2009-06-03 16:27:56 -04:00
|
|
|
USE_X11 = Yes
|
|
|
|
|
2009-02-15 04:47:48 -05:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=libvncserver/}
|
|
|
|
MODULES = x11/tk
|
|
|
|
RUN_DEPENDS = ::devel/desktop-file-utils \
|
|
|
|
${MODTK_RUN_DEPENDS}
|
2009-06-03 16:27:56 -04:00
|
|
|
LIB_DEPENDS = jpeg::graphics/jpeg \
|
|
|
|
avahi-client,avahi-common::net/avahi
|
2009-02-15 04:47:48 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE = gnu
|
2009-03-07 07:43:45 -05:00
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
2009-06-03 16:27:56 -04:00
|
|
|
--with-x \
|
|
|
|
--with-avahi
|
2009-02-15 04:47:48 -05:00
|
|
|
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/x11vnc/gui.c
|
2004-12-02 16:21:23 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/x11vnc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/x11vnc
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|