# $NetBSD: Makefile,v 1.16 2018/11/14 22:22:11 kleink Exp $ DISTNAME= guacamole-server-0.9.9 PKGREVISION= 15 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=guacamole/} MAINTAINER= jperkin@joyent.com HOMEPAGE= http://guacamole.incubator.apache.org/ COMMENT= Clientless remote desktop gateway LICENSE= mit GNU_CONFIGURE= yes USE_LANGUAGES= c99 USE_TOOLS= pkg-config EGDIR= ${PREFIX}/share/examples/guacamole PKG_SYSCONFSUBDIR= guacamole SMF_NAME= guacamole CONFIGURE_ARGS+= --with-guacd-conf=${PKG_SYSCONFDIR}/guacd.conf CONFIGURE_ARGS+= --with-pango CONFIGURE_ARGS+= --with-pulse CONFIGURE_ARGS+= --with-rdp CONFIGURE_ARGS+= --with-ssh CONFIGURE_ARGS+= --with-ssl CONFIGURE_ARGS+= --with-telnet CONFIGURE_ARGS+= --with-terminal CONFIGURE_ARGS+= --with-vnc CONFIGURE_ARGS+= --with-vorbis CONFIGURE_ARGS+= --with-webp CFLAGS.SunOS+= -D__EXTENSIONS__ # getopt() SUBST_CLASSES+= manpath SUBST_STAGE.manpath= pre-configure SUBST_FILES.manpath= src/guacd/man/guacd.conf.5 SUBST_SED.manpath= -e 's,/etc/guacamole,${PKG_SYSCONFDIR},g' INSTALLATION_DIRS= share/examples/guacamole CONF_FILES= ${EGDIR}/guacd.conf ${PKG_SYSCONFDIR}/guacd.conf post-install: ${INSTALL_DATA} ${FILESDIR}/guacd.conf \ ${DESTDIR}${PREFIX}/share/examples/guacamole/guacd.conf .include "../../audio/libvorbis/buildlink3.mk" .include "../../audio/pulseaudio/buildlink3.mk" .include "../../devel/ossp-uuid/buildlink3.mk" .include "../../devel/pango/buildlink3.mk" .include "../../graphics/cairo/buildlink3.mk" .include "../../graphics/libwebp/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../mk/jpeg.buildlink3.mk" .include "../../net/freerdp/buildlink3.mk" .include "../../net/libtelnet/buildlink3.mk" .include "../../net/libvncserver/buildlink3.mk" .include "../../security/libssh2/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk"