different port, so, LOCALBASE), _and_ x11vnc (installed by the current port, so PREFIX). fixit accordingly, for correctness and to cater for whoever might like the pain of installing different ports with different prefixes. discussed with/ok ajacoutot
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.8 2009/02/15 12:02:14 sthen Exp $
|
|
|
|
COMMENT = VNC server for real X displays
|
|
|
|
DISTNAME = x11vnc-0.9.6
|
|
PKGNAME = ${DISTNAME}p3
|
|
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
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=libvncserver/}
|
|
MODULES = x11/tk
|
|
RUN_DEPENDS = ::devel/desktop-file-utils \
|
|
${MODTK_RUN_DEPENDS}
|
|
LIB_DEPENDS = jpeg::graphics/jpeg
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS += ${CONFIURE_SHARED} \
|
|
--with-x --without-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>
|