aboutsummaryrefslogtreecommitdiffstats
path: root/net/vncreflector/Makefile
blob: 274ff325e907b75b90cf8be532e17f3352c32cf5 (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
# $FreeBSD$

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

MAINTAINER= paul@it.ca
COMMENT=    Multi-client VNC proxy server

USES=       jpeg
USE_RC_SUBR=    vncreflector

ALL_TARGET= default
WRKSRC=     ${WRKDIR}/vnc_reflector

OPTIONS_DEFINE= DOCS

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} -m0750 ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>