1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/net/libvncserver/Makefile
Pav Lucistnik 4efd187cf4 - Update to 0.6.2
PR:		ports/73540
Submitted by:	Craig Rodrigues <rodrigc@crodrigues.org>
2004-11-04 22:28:58 +00:00

36 lines
846 B
Makefile

# ex:ts=8
# Ports collection makefile for: libvncserver
# Date created: Feb 9, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libvncserver
PORTVERSION= 0.6.2
CATEGORIES= net devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= x11vnc-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Provide an easy API to write one's own vnc server
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
USE_REINPLACE= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|" ${WRKSRC}/configure
post-install:
${MKDIR} ${PREFIX}/include/rfb
${INSTALL_DATA} ${WRKSRC}/rfb/*.h ${PREFIX}/include/rfb
${INSTALL_DATA} ${WRKSRC}/libvncserver/*.a ${PREFIX}/lib
.include <bsd.port.mk>