mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
fd552b84d0
PR: 127002 Submitted by: Rick Richard <rick@sloservers.com>
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: repeater
|
|
# Date created: 14 December 2005
|
|
# Whom: 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= rick@sloservers.com
|
|
COMMENT= UltraVNC repeater
|
|
|
|
USE_ZIP= yes
|
|
USE_RC_SUBR= repeater
|
|
WRKSRC= ${WRKDIR}/Ver${PORTVERSION:C/\.//}
|
|
ALL_TARGET= repeater
|
|
|
|
REP_USER?= uvncrep
|
|
REP_GROUP?= uvncrep
|
|
|
|
SUB_FILES= pkg-install pkg-message
|
|
SUB_LIST= REP_USER=${REP_USER} REP_GROUP=${REP_GROUP}
|
|
|
|
PLIST_FILES= sbin/repeater etc/uvncrepeater.ini.sample
|
|
PORTDOCS= changelog.txt readme.txt ultravncrepeaterlinuxport.html
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/repeater ${PREFIX}/sbin/repeater
|
|
${INSTALL_DATA} ${WRKSRC}/uvncrepeater.ini ${PREFIX}/etc/uvncrepeater.ini.sample
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
@${SETENV} @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|