freebsd-ports/net/vncreflector/Makefile
Brooks Davis 882b28e78e Given vncreflector a chance on 4.x. First, require gcc-3.3 or newer as
2.95.4 appears to generate bad code (none of the debugging tools I tried
could even come up with a decent stack trace when it died.)  Second, fix
the RC script so it can find rc.subr.
2005-04-18 22:35:16 +00:00

40 lines
939 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= 1
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_REINPLACE= YES
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>