Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/x11/x11vnc/Makefile 2011/01/13 13:53:30 1.31 +++ pkgsrc/x11/x11vnc/Makefile 2020/05/22 10:56:49 1.85 @@ -1,36 +1,35 @@ -# $NetBSD: Makefile,v 1.31 2011/01/13 13:53:30 wiz Exp $ +# $NetBSD: Makefile,v 1.85 2020/05/22 10:56:49 adam Exp $ # -DISTNAME= x11vnc-0.9.12 -PKGREVISION= 3 +DISTNAME= x11vnc-0.9.16 +PKGREVISION= 7 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" .include "options.mk" -BUILD_DIRS= x11vnc -INSTALL_DIRS= x11vnc classes +pre-configure: + cd ${WRKSRC} && autoreconf -vif .include "../../security/openssl/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"