freebsd-ports/net/x11vnc/Makefile

40 lines
838 B
Makefile
Raw Normal View History

# New ports collection makefile for: x11vnc
# Date created: 7 June 2005
# Whom: Loren M. Lang
#
# $FreeBSD$
#
PORTNAME= x11vnc
PORTVERSION= 0.9.3
PORTREVISION= 1
CATEGORIES= net
2008-09-03 06:24:20 +02:00
MASTER_SITES= SF
MASTER_SITE_SUBDIR=libvncserver
2008-09-03 06:24:20 +02:00
MAINTAINER= beech@FreeBSD.org
COMMENT= VNC server for use with real X displays
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
USE_GNOME= gnometarget
USE_XORG= x11 xext
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= x11vnc.1
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README README.LibVNCServer TODO
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
.include <bsd.port.mk>