mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
0f737b6421
- Use PORTDOCS. PR: ports/116647 Submitted by: Alexander Logvinov <ports@logvinov.com> Approved by: stas (mentor), maintainer timeout (2 weeks)
40 lines
873 B
Makefile
40 lines
873 B
Makefile
# New ports collection makefile for: x11vnc
|
|
# Date created: 7 June 2005
|
|
# Whom: Loren M. Lang
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= x11vnc
|
|
PORTVERSION= 0.9.3
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
|
MASTER_SITE_SUBDIR=libvncserver
|
|
|
|
MAINTAINER= lorenl@north-winds.org
|
|
COMMENT= VNC server for use with real X displays
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
USE_GNOME= gnometarget
|
|
USE_X_PREFIX= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GCC= 3.4+
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
MAN1= x11vnc.1
|
|
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README README.LibVNCServer TODO
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
|
|
${WRKSRC}/configure
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|