aboutsummaryrefslogtreecommitdiffstats
path: root/net/x11vnc/Makefile
blob: 6fffa8969248430d8831e5936dae15d576880aad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    x11vnc
# Date created:             7 June 2005
# Whom:                 Loren M. Lang
#
# $FreeBSD$
#

PORTNAME=   x11vnc
PORTVERSION=    0.7.2
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=libvncserver

MAINTAINER= lorenl@alzatex.com
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
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN1=       x11vnc.1
DOCS=       AUTHORS COPYING ChangeLog NEWS README README.LibVNCServer TODO

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
        ${WRKSRC}/configure

.ifndef (NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
    @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>