freebsd-ports/net/vncreflector/Makefile

34 lines
764 B
Makefile

# $FreeBSD$
PORTNAME= vncreflector
PORTVERSION= 1.2.4
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= SF/vnc-reflector/vnc-reflector/${PORTVERSION}
DISTNAME= vnc_reflector-${PORTVERSION}
MAINTAINER= paul@it.ca
COMMENT= Multi-client VNC proxy server
LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg
USE_RC_SUBR= vncreflector
ALL_TARGET= default
WRKSRC= ${WRKDIR}/vnc_reflector
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${MKDIR} -m0750 ${PREFIX}/etc/${PORTNAME}
@${CHOWN} root:wheel ${PREFIX}/etc/${PORTNAME}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>