freebsd-ports/net/libvncserver/Makefile

38 lines
834 B
Makefile
Raw Normal View History

# ex:ts=8
# Ports collection makefile for: libvncserver
# Date created: Feb 9, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libvncserver
2009-02-01 08:36:43 +01:00
PORTVERSION= 0.9.7
2010-02-05 12:46:55 +01:00
PORTREVISION= 2
CATEGORIES= net devel
2009-02-01 08:36:43 +01:00
MASTER_SITES= SF
DISTNAME= LibVNCServer-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Provide an easy API to write one's own vnc server
2010-02-05 12:46:55 +01:00
LIB_DEPENDS= jpeg.11:${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>