Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/x11/x11vnc/Makefile 2007/02/22 19:27:28 1.8 +++ pkgsrc/x11/x11vnc/Makefile 2021/09/29 19:01:31 1.88 @@ -1,28 +1,35 @@ -# $NetBSD: Makefile,v 1.8 2007/02/22 19:27:28 wiz Exp $ +# $NetBSD: Makefile,v 1.88 2021/09/29 19:01:31 adam Exp $ # -DISTNAME= x11vnc-0.8.4 +DISTNAME= x11vnc-0.9.16 +PKGREVISION= 10 CATEGORIES= x11 net -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libvncserver/} +MASTER_SITES= ${MASTER_SITE_GITHUB:=LibVNC/} +GITHUB_PROJECT= x11vnc -MAINTAINER= obata@lins.jp +MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.karlrunge.com/x11vnc/ COMMENT= VNC server for real X displays +LICENSE= gnu-gpl-v2 +USE_TOOLS+= autoconf automake autoreconf gmake pkg-config GNU_CONFIGURE= yes -BUILDLINK_DEPMETHOD.libXt?= build +PTHREAD_AUTO_VARS= yes +SUBST_CLASSES+= pthread +SUBST_STAGE.pthread= pre-configure +SUBST_FILES.pthread= configure +SUBST_SED.pthread= -e 's|-lpthread||g' +SUBST_NOOP_OK.pthread= yes # configure does not contain "pthread" + +.include "options.mk" + +pre-configure: + cd ${WRKSRC} && autoreconf -vif -.include "../../devel/zlib/buildlink3.mk" -.include "../../graphics/jpeg/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" -.include "../../x11/libX11/buildlink3.mk" -.include "../../x11/libXdamage/buildlink3.mk" -.include "../../x11/libXext/buildlink3.mk" -.include "../../x11/libXinerama/buildlink3.mk" -.include "../../x11/libXrandr/buildlink3.mk" -.include "../../x11/libXt/buildlink3.mk" -.include "../../x11/libXtst/buildlink3.mk" -.include "../../x11/xextproto/buildlink3.mk" +.include "../../net/libvncserver/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"