2005-06-14 20:04:35 +02:00
|
|
|
# New ports collection makefile for: x11vnc
|
|
|
|
# Date created: 7 June 2005
|
|
|
|
# Whom: Loren M. Lang
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= x11vnc
|
2009-01-25 11:26:06 +01:00
|
|
|
PORTVERSION= 0.9.6
|
2009-07-18 13:11:29 +02:00
|
|
|
PORTREVISION= 2
|
2005-06-14 20:04:35 +02:00
|
|
|
CATEGORIES= net
|
2008-09-03 06:24:20 +02:00
|
|
|
MASTER_SITES= SF
|
2005-06-14 20:04:35 +02:00
|
|
|
MASTER_SITE_SUBDIR=libvncserver
|
|
|
|
|
2008-09-03 06:24:20 +02:00
|
|
|
MAINTAINER= beech@FreeBSD.org
|
2005-06-14 20:04:35 +02:00
|
|
|
COMMENT= VNC server for use with real X displays
|
|
|
|
|
2009-07-18 13:11:29 +02:00
|
|
|
LIB_DEPENDS= jpeg.10:${PORTSDIR}/graphics/jpeg \
|
2008-12-20 19:40:07 +01:00
|
|
|
dbus:${PORTSDIR}/devel/dbus \
|
|
|
|
avahi-common.3:${PORTSDIR}/net/avahi-app
|
2005-06-14 20:04:35 +02:00
|
|
|
|
|
|
|
USE_GNOME= gnometarget
|
2008-09-15 19:57:57 +02:00
|
|
|
USE_XORG= x11 xdamage xfixes xrandr xinerama xext xtst xau xrender xdmcp recordproto
|
2009-03-09 01:05:05 +01:00
|
|
|
# Sets LDFLAGS and adds to CONFIGURE_ENV, therefore we set LDFLAGS
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2008-09-06 20:45:05 +02:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_ICONV= yes
|
2008-12-20 19:40:07 +01:00
|
|
|
USE_GETTEXT= yes
|
2005-06-14 20:04:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2009-03-09 01:05:05 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
2005-06-14 20:04:35 +02:00
|
|
|
|
|
|
|
MAN1= x11vnc.1
|
2007-10-10 03:16:52 +02:00
|
|
|
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README README.LibVNCServer TODO
|
2005-06-14 20:04:35 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2007-10-10 03:16:52 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2005-06-14 20:04:35 +02:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2007-10-10 03:16:52 +02:00
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
2005-06-14 20:04:35 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|