2005-06-14 18:04:35 +00:00
|
|
|
# New ports collection makefile for: x11vnc
|
|
|
|
# Date created: 7 June 2005
|
|
|
|
# Whom: Loren M. Lang
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= x11vnc
|
2007-10-10 01:16:52 +00:00
|
|
|
PORTVERSION= 0.9.3
|
2005-06-14 18:04:35 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
|
|
|
MASTER_SITE_SUBDIR=libvncserver
|
|
|
|
|
2006-07-04 03:59:42 +00:00
|
|
|
MAINTAINER= lorenl@north-winds.org
|
2005-06-14 18:04:35 +00:00
|
|
|
COMMENT= VNC server for use with real X displays
|
|
|
|
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
|
|
|
|
USE_GNOME= gnometarget
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2007-01-18 09:12:07 +00:00
|
|
|
USE_GCC= 3.4+
|
2005-06-14 18:04:35 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
MAN1= x11vnc.1
|
2007-10-10 01:16:52 +00:00
|
|
|
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README README.LibVNCServer TODO
|
2005-06-14 18:04:35 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2007-10-10 01:16:52 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2005-06-14 18:04:35 +00:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2007-10-10 01:16:52 +00:00
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
2005-06-14 18:04:35 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|