1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/net/x11vnc/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00

45 lines
1.2 KiB
Makefile

# Created by: Loren M. Lang
# $FreeBSD$
PORTNAME= x11vnc
PORTVERSION= 0.9.13
PORTREVISION= 6
CATEGORIES= net
MASTER_SITES= SF/libvncserver/${PORTNAME}/${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= VNC server for use with real X displays
LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
LIB_DEPENDS= libdbus-1.so:devel/dbus
USE_XORG= x11 xcb xdamage xfixes xrandr xinerama xext xtst xau xrender \
xdmcp xorgproto
# Sets LDFLAGS and adds to CONFIGURE_ENV, therefore we set LDFLAGS
LDFLAGS+= -L${LOCALBASE}/lib
USES= iconv pkgconfig jpeg ssl
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README README.LibVNCServer TODO
OPTIONS_DEFINE= NLS AVAHI DOCS
OPTIONS_DEFAULT=AVAHI
NO_OPTIONS_SORT=yes
NLS_USES= gettext
AVAHI_LIB_DEPENDS= libavahi-common.so:net/avahi-app
AVAHI_CONFIGURE_OFF= --without-avahi
post-patch:
${REINPLACE_CMD} -e 's|include_HEADERS = |noinst_HEADERS = |' \
-e 's|am__include_HEADERS_DIST|am__noinst_HEADERS_DIST|' \
-e 's|/include/rfb|/include|' ${WRKSRC}/Makefile.in
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>