diff options
Diffstat (limited to 'net/ssvnc/Makefile')
-rw-r--r-- | net/ssvnc/Makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/net/ssvnc/Makefile b/net/ssvnc/Makefile new file mode 100644 index 000000000000..d723af91913b --- /dev/null +++ b/net/ssvnc/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: ssvnc +# Date created: 2007-04-22 +# Whom: alepulver +# +# $FreeBSD$ +# + +PORTNAME= ssvnc +PORTVERSION= 1.0.15 +CATEGORIES= net security +MASTER_SITES= http://www.karlrunge.com/x11vnc/etv/ + +MAINTAINER= alepulver@FreeBSD.org +COMMENT= Enhanced TightVNC Viewer (SSVNC: SSL/SSH VNC viewer) + +BUILD_DEPENDS= xmkmf:${X_IMAKE_PORT} +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg +RUN_DEPENDS= stunnel:${PORTSDIR}/security/stunnel + +USE_XLIB= yes +USE_TCL_RUN= 84 +USE_TK_RUN= 84 +WRKSRC= ${WRKDIR}/${PORTNAME} + +post-patch: + @${REINPLACE_CMD} -e \ + 's|/usr/local|${LOCALBASE}|g; s|/usr/X11R6|${X11BASE}|g' \ + ${WRKSRC}/build.unix + @${REINPLACE_CMD} -e \ + 's|exec wish|exec ${WISH}|; \ + 303,$$s|ss_vncviewer|ssvnc-stunnel|; \ + s|ssvnc_cmd|ssvnc-stunnel|' \ + ${WRKSRC}/bin/util/ssvnc.tcl + @${REINPLACE_CMD} -e \ + 's|ss_vncviewer|ssvnc-stunnel|; \ + s|-vncviewer|-ssvnc|; \ + s|grep Linux|grep ${OPSYS}|' \ + ${WRKSRC}/bin/util/ss_vncviewer + +do-build: + @cd ${WRKSRC} && ${SETENV} UNAME="${OPSYS}" ${SH} build.unix + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${OPSYS}/vncviewer ${PREFIX}/bin/ssvnc + ${INSTALL_SCRIPT} ${WRKSRC}/bin/util/ss_vncviewer \ + ${PREFIX}/bin/ssvnc-stunnel + ${INSTALL_SCRIPT} ${WRKSRC}/bin/util/ssvnc.tcl ${PREFIX}/bin/ssvnc-gui +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} README bin/util/stunnel-server.conf \ + ${DOCSDIR} +.endif + @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} + +.include <bsd.port.mk> |