freebsd-ports/net/libvncserver/Makefile
Dirk Meyer 3bbc108312 - update to jpeg7
Tested by:	pav on pointyhat
2009-07-18 11:11:29 +00:00

37 lines
836 B
Makefile

# ex:ts=8
# Ports collection makefile for: libvncserver
# Date created: Feb 9, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libvncserver
PORTVERSION= 0.9.7
PORTREVISION= 1
CATEGORIES= net devel
MASTER_SITES= SF
DISTNAME= LibVNCServer-${PORTVERSION}
MAINTAINER= chinsan@FreeBSD.org
COMMENT= Provide an easy API to write one's own vnc server
LIB_DEPENDS= jpeg.10:${PORTSDIR}/graphics/jpeg
USE_GNOME= gnometarget
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --without-x
post-patch:
@${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
'/^SUBDIRS/s|x11vnc||g' ${WRKSRC}/Makefile.in
post-install:
${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${PREFIX}/include/rfb
.include <bsd.port.mk>