openbsd-ports/x11/x11vnc/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

2011-03-17 12:48:47 -04:00
# $OpenBSD: Makefile,v 1.33 2011/03/17 16:48:47 ajacoutot Exp $
COMMENT = VNC server for real X displays
DISTNAME = x11vnc-0.9.12
2011-03-17 12:48:47 -04:00
REVISION = 9
2010-11-09 05:52:22 -05:00
CATEGORIES = x11
HOMEPAGE = http://www.karlrunge.com/x11vnc/
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
2009-01-15 21:46:22 -05:00
# 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
2010-07-30 04:02:59 -04:00
WANTLIB += pthread ssl z jpeg avahi-client avahi-common
2010-10-19 04:13:56 -04:00
USE_GROFF = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=libvncserver/}
MODULES = x11/tk
2010-11-22 03:36:47 -05:00
RUN_DEPENDS = devel/desktop-file-utils \
${MODTK_RUN_DEPENDS}
2010-11-22 03:36:47 -05:00
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>