freebsd-ports/net/x11vnc/Makefile

46 lines
1.2 KiB
Makefile
Raw Normal View History

2013-01-26 17:34:39 +01:00
# Created by: Loren M. Lang
# $FreeBSD$
PORTNAME= x11vnc
2011-09-19 20:08:40 +02:00
PORTVERSION= 0.9.13
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= SF/libvncserver/${PORTNAME}/${PORTVERSION}
2009-09-06 11:03:29 +02:00
MAINTAINER= dinoex@FreeBSD.org
COMMENT= VNC server for use with real X displays
LICENSE= GPLv2
2015-06-22 20:33:20 +02:00
LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus \
2013-11-29 08:08:42 +01:00
libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs
USE_XORG= x11 xcb xdamage xfixes xrandr xinerama xext xtst xau xrender \
xdmcp recordproto
# Sets LDFLAGS and adds to CONFIGURE_ENV, therefore we set LDFLAGS
LDFLAGS+= -L${LOCALBASE}/lib
USE_OPENSSL= yes
2015-06-22 20:33:20 +02:00
USES= iconv jpeg pkgconfig
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README README.LibVNCServer TODO
OPTIONS_DEFINE= NLS AVAHI DOCS
2012-09-16 17:08:09 +02:00
OPTIONS_DEFAULT=NLS AVAHI
NO_OPTIONS_SORT=yes
2013-11-29 08:08:42 +01:00
NLS_USES= gettext
AVAHI_LIB_DEPENDS= libavahi-common.so:${PORTSDIR}/net/avahi-app
AVAHI_CONFIGURE_OFF= --without-avahi
post-patch:
2013-11-29 08:08:42 +01:00
${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:
2013-11-29 08:08:42 +01:00
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
2012-09-16 17:08:09 +02:00
.include <bsd.port.mk>