aboutsummaryrefslogblamecommitdiff
path: root/net/repeater/Makefile
blob: fc2f6dfa0ce6d4cf160153b5bf515ea55f9c664c (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                        
                    



                                                       
                                   


                                 
                        


                                                  

                       
 

                                                           
 
                                                         

                                                                       



                                                                                        



                                                              



                                                                                    
                      
# 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>