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
|
2009-02-01 08:36:43 +01:00
|
|
|
PORTVERSION= 0.9.7
|
2010-02-05 12:46:55 +01:00
|
|
|
PORTREVISION= 2
|
2004-02-09 03:55:41 +01:00
|
|
|
CATEGORIES= net devel
|
2009-02-01 08:36:43 +01:00
|
|
|
MASTER_SITES= SF
|
2005-06-15 22:26:35 +02:00
|
|
|
DISTNAME= LibVNCServer-${PORTVERSION}
|
2004-02-09 03:55:41 +01:00
|
|
|
|
2009-08-28 19:37:26 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-02-09 03:55:41 +01:00
|
|
|
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
|
2004-02-09 03:55:41 +01:00
|
|
|
|
2006-09-11 23:56:58 +02:00
|
|
|
USE_GNOME= gnometarget
|
2008-05-18 21:21:51 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-02-09 03:55:41 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-09-11 23:56:58 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2004-02-09 03:55:41 +01:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2006-09-11 23:56:58 +02:00
|
|
|
CONFIGURE_ARGS= --without-x
|
2006-05-24 03:19:31 +02:00
|
|
|
|
2004-02-09 03:55:41 +01:00
|
|
|
post-patch:
|
2006-09-11 23:56:58 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^SUBDIRS/s|x11vnc||g' ${WRKSRC}/Makefile.in
|
2004-02-09 03:55:41 +01:00
|
|
|
|
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>
|