aboutsummaryrefslogtreecommitdiffstats
path: root/net/vncreflector/Makefile
blob: 02c0e5598dbe16a0375d8653cfceda6567d82403 (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
# Ports collection makefile for:    vncreflector
# Date created:             Wed, Jan 19 2005
# Whom:                 Brooks Davis <brooks@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   vncreflector
PORTVERSION=    1.2.4
PORTREVISION=   4
CATEGORIES= net
MASTER_SITES=   SF/vnc-reflector/vnc-reflector/${PORTVERSION}
DISTNAME=   vnc_reflector-${PORTVERSION}

MAINTAINER= brooks@FreeBSD.org
COMMENT=    Multi-client VNC proxy server

LIB_DEPENDS+=   jpeg.11:${PORTSDIR}/graphics/jpeg

USE_RC_SUBR=    vncreflector.sh

ALL_TARGET= default
WRKSRC=     ${WRKDIR}/vnc_reflector

post-patch:
    ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    @${MKDIR} -m0750 ${PREFIX}/etc/${PORTNAME}
    @${CHOWN} root:wheel ${PREFIX}/etc/${PORTNAME}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>