Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/x11/x11vnc/Makefile 2008/09/18 00:11:30 1.16 +++ pkgsrc/x11/x11vnc/Makefile 2023/11/08 13:21:42 1.93 @@ -1,43 +1,35 @@ -# $NetBSD: Makefile,v 1.16 2008/09/18 00:11:30 obache Exp $ +# $NetBSD: Makefile,v 1.93 2023/11/08 13:21:42 wiz Exp $ # -DISTNAME= x11vnc-0.9.4 +DISTNAME= x11vnc-0.9.16 +PKGREVISION= 15 CATEGORIES= x11 net -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libvncserver/} +MASTER_SITES= ${MASTER_SITE_GITHUB:=LibVNC/} +GITHUB_PROJECT= x11vnc -MAINTAINER= obache@NetBSD.org +MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.karlrunge.com/x11vnc/ COMMENT= VNC server for real X displays +LICENSE= gnu-gpl-v2 -PKG_DESTDIR_SUPPORT= user-destdir - +USE_TOOLS+= autoconf automake autoreconf gmake pkg-config GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-system-libvncserver - 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" -SUBST_CLASSES+= libvnc -SUBST_STAGE.libvnc= post-configure -SUBST_FILES.libvnc= Makefile -SUBST_SED.libvnc= -e 's|libvncserver||g' -SUBST_SED.libvnc+= -e 's|libvncclient||g' +.include "options.mk" -BUILDLINK_DEPMETHOD.libXt?= build +pre-configure: + cd ${WRKSRC} && autoreconf -vif .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"