freebsd-ports/net/vncreflector/Makefile

33 lines
755 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= vncreflector
PORTVERSION= 1.2.4
PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= SF/vnc-reflector/vnc-reflector/${PORTVERSION}
DISTNAME= vnc_reflector-${PORTVERSION}
MAINTAINER= paul@it.ca
COMMENT= Multi-client VNC proxy server
2014-02-28 11:09:31 +01:00
LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg
USE_RC_SUBR= vncreflector
ALL_TARGET= default
WRKSRC= ${WRKDIR}/vnc_reflector
2014-02-28 11:09:31 +01:00
OPTIONS_DEFINE= DOCS
post-patch:
2014-08-04 20:33:14 +02:00
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|; \
s|gcc|${CC}|' ${WRKSRC}/Makefile
do-install:
2014-02-28 11:09:31 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} -m0750 ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>