1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net/ssvnc/Makefile
2007-09-05 02:49:13 +00:00

56 lines
1.5 KiB
Makefile

# New ports collection makefile for: ssvnc
# Date created: 2007-04-22
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= ssvnc
PORTVERSION= 1.0.19
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>