freebsd-ports/net/libvncserver/Makefile
Pav Lucistnik f2710475b3 - Update to 0.7.1
PR:		ports/82258
Submitted by:	Andrew Turner <andrew+ports@fubar.geek.nz> (maitnainer)
2005-06-15 20:26:35 +00:00

34 lines
796 B
Makefile

# ex:ts=8
# Ports collection makefile for: libvncserver
# Date created: Feb 9, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libvncserver
PORTVERSION= 0.7.1
CATEGORIES= net devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= LibVNCServer-${PORTVERSION}
MAINTAINER= andrew+ports@fubar.geek.nz
COMMENT= Provide an easy API to write one's own vnc server
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
CONFIGURE_ARGS+=--without-x
USE_REINPLACE= 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:
${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${PREFIX}/include/rfb
.include <bsd.port.mk>