aboutsummaryrefslogtreecommitdiffstats
path: root/net/repeater/Makefile
blob: 39bbba6289f568ce118c8c05790a5c8f375f76ba (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
41
42
43
44
45
46
# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD$

PORTNAME=   repeater
PORTVERSION=    0.14
CATEGORIES= net
MASTER_SITES=   http://koti.mbnet.fi/jtko/uvncrepeater/
DISTNAME=   repeater${PORTVERSION:C/\.//}

MAINTAINER= ports@FreeBSD.org
COMMENT=    UltraVNC repeater

LICENSE=    GPLv2+

BROKEN=     unfetchable
DEPRECATED= Unfetchable, unmaintained
EXPIRATION_DATE=    2019-10-16

USES=       zip
USE_RC_SUBR=    ${PORTNAME}
WRKSRC=     ${WRKDIR}/Ver${PORTVERSION:C/\.//}
ALL_TARGET= ${PORTNAME}

REP_USER?=  uvncrep
REP_GROUP?= uvncrep
USERS=      ${REP_USER}
GROUPS=     ${REP_GROUP}

SUB_FILES=  pkg-message

PORTDOCS=   changelog.txt readme.txt ultravncrepeaterlinuxport.html

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_DATA} ${WRKSRC}/uvncrepeater.ini ${STAGEDIR}${PREFIX}/etc/uvncrepeater.ini.sample

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>