freebsd-ports/net/libvncserver/Makefile

35 lines
796 B
Makefile
Raw Normal View History

# 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>