freebsd-ports/net/repeater/Makefile
Stefan Eßer df7d9f032d net/repeater: Add CPE information
Approved by:	portmgr (blanket)
2021-10-21 16:26:58 +02:00

42 lines
1,000 B
Makefile

# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
PORTNAME= repeater
PORTVERSION= 0.17
CATEGORIES= net
MASTER_SITES= https://freebsd.newestvision.com/ports/distfiles/
DISTNAME= repeater${PORTVERSION:C/\.//}
MAINTAINER= oleg@newestvision.com
COMMENT= UltraVNC repeater
LICENSE= GPLv2+
USES= cpe zip
CPE_VENDOR= ultravnc
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>