2013-09-21 00:10:23 +02:00
|
|
|
# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
|
2005-12-18 03:09:32 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= repeater
|
2008-08-31 18:40:00 +02:00
|
|
|
PORTVERSION= 0.14
|
2005-12-18 03:09:32 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://koti.mbnet.fi/jtko/uvncrepeater/
|
|
|
|
DISTNAME= repeater${PORTVERSION:C/\.//}
|
|
|
|
|
2014-07-24 17:57:24 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-12-18 03:09:32 +01:00
|
|
|
COMMENT= UltraVNC repeater
|
|
|
|
|
2014-03-10 17:38:00 +01:00
|
|
|
USES= zip
|
2014-07-31 15:28:45 +02:00
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
2005-12-18 03:09:32 +01:00
|
|
|
WRKSRC= ${WRKDIR}/Ver${PORTVERSION:C/\.//}
|
2014-07-31 15:28:45 +02:00
|
|
|
ALL_TARGET= ${PORTNAME}
|
2005-12-18 03:09:32 +01:00
|
|
|
|
2008-08-31 18:40:00 +02:00
|
|
|
REP_USER?= uvncrep
|
|
|
|
REP_GROUP?= uvncrep
|
2014-07-31 15:28:45 +02:00
|
|
|
USERS= ${REP_USER}
|
|
|
|
GROUPS= ${REP_GROUP}
|
2005-12-18 03:09:32 +01:00
|
|
|
|
2014-07-31 15:28:45 +02:00
|
|
|
SUB_FILES= pkg-message
|
2005-12-18 03:09:32 +01:00
|
|
|
|
|
|
|
PORTDOCS= changelog.txt readme.txt ultravncrepeaterlinuxport.html
|
|
|
|
|
2014-07-31 15:28:45 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/Makefile
|
|
|
|
|
2008-08-31 18:40:00 +02:00
|
|
|
do-install:
|
2014-07-31 15:28:45 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/uvncrepeater.ini ${STAGEDIR}${PREFIX}/etc/uvncrepeater.ini.sample
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
2008-08-31 18:40:00 +02:00
|
|
|
|
2006-09-30 05:10:46 +02:00
|
|
|
.include <bsd.port.mk>
|