2004-02-09 03:55:41 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: libvncserver
|
|
|
|
# Date created: Feb 9, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libvncserver
|
2005-06-15 22:26:35 +02:00
|
|
|
PORTVERSION= 0.7.1
|
2004-02-09 03:55:41 +01:00
|
|
|
CATEGORIES= net devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2005-06-15 22:26:35 +02:00
|
|
|
DISTNAME= LibVNCServer-${PORTVERSION}
|
2004-02-09 03:55:41 +01:00
|
|
|
|
2004-12-02 13:19:07 +01:00
|
|
|
MAINTAINER= andrew+ports@fubar.geek.nz
|
2004-02-09 03:55:41 +01:00
|
|
|
COMMENT= Provide an easy API to write one's own vnc server
|
|
|
|
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
|
2004-12-02 13:19:07 +01:00
|
|
|
CONFIGURE_ARGS+=--without-x
|
|
|
|
|
2004-02-09 03:55:41 +01:00
|
|
|
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
|
|
|
|
|
2004-11-04 23:28:58 +01:00
|
|
|
post-install:
|
2005-06-15 22:26:35 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${PREFIX}/include/rfb
|
2004-11-04 23:28:58 +01:00
|
|
|
|
2004-02-09 03:55:41 +01:00
|
|
|
.include <bsd.port.mk>
|