freebsd-ports/net/vncreflector/Makefile
Maxim Sobolev fe39c2ed78 Our v*printf() family of functions don't return va_list to its original
state upon return, therefore if we want to call such functions several
times on different streams we need to wrap each call to va_start/va_end
otherwise it either prints garbage on second and subsequent invocation
or simply crashes the program.
2007-04-24 05:56:39 +00:00

40 lines
920 B
Makefile

# Ports collection makefile for: vncreflector
# Date created: Wed, Jan 19 2005
# Whom: Brooks Davis <brooks@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= vncreflector
PORTVERSION= 1.2.4
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=vnc-reflector
DISTNAME= vnc_reflector-${PORTVERSION}
MAINTAINER= brooks@FreeBSD.org
COMMENT= Multi-client VNC proxy server
LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg
USE_RC_SUBR= vncreflector.sh
USE_GCC= 3.3+
ALL_TARGET= default
WRKSRC= ${WRKDIR}/vnc_reflector
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>