1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/net/ssvnc/Makefile
Jason E. Hale 3d8ce639bb Remove nonexistent -t option from call to netstat(1) [1]
Convert to options helpers
Install everything with BSD_INSTALL_* instead of cp to set
correct permissions and strip binaries
Pet portlint and stage-qa

PR:		213490 [1]
Submitted by:	G. Paul Ziemba <p-fbsd-bugs@ziemba.us> [1]
2016-12-09 15:41:00 +00:00

48 lines
1.1 KiB
Makefile

# Created by: Alejandro Pulver <alepulver@FreeBSD.org>
# $FreeBSD$
PORTNAME= ssvnc
PORTVERSION= 1.0.29
PORTREVISION= 3
CATEGORIES= net security
MASTER_SITES= SF
EXTRACT_SUFX= .src.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Enhanced TightVNC Viewer (SSVNC: SSL/SSH VNC viewer)
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= stunnel:security/stunnel \
xterm:x11/xterm
USES= gmake imake:env jpeg perl5 ssl tk:wrapper
USE_PERL5= run
USE_XORG= ice sm x11 xaw xext xi xmu xpm xt
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
MAKE_ENV+= ROOT=${STAGEDIR}
OPTIONS_DEFINE= DOCS ULTRAFTP
OPTIONS_SUB= yes
DOCS_MAKE_ARGS_OFF= DOCS=""
ULTRAFTP_DESC= UltraVNC File Transfer support (Java required)
ULTRAFTP_USE= JAVA=yes
ULTRAFTP_MAKE_ARGS_OFF= JSRC=""
post-patch:
@${REINPLACE_CMD} -e 's|netstat -ant|netstat -an|' \
${WRKSRC}/scripts/util/ss_vncviewer
@${REINPLACE_CMD} -e 's|[[:<:]]ssvnc[[:>:]]|ssvnc-gui|' \
${WRKSRC}/man/man1/ssvnc.1
do-configure:
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${MAKE_CMD} ${MAKE_ARGS} config)
.include <bsd.port.mk>