Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= ssvnc |
8 |
PORTNAME= ssvnc |
9 |
PORTVERSION= 1.0.28 |
9 |
PORTVERSION= 1.0.29 |
10 |
CATEGORIES= net security |
10 |
CATEGORIES= net security |
11 |
MASTER_SITES= SF |
11 |
MASTER_SITES= SF |
12 |
DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX} |
12 |
DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX} |
Lines 19-34
Link Here
|
19 |
RUN_DEPENDS= stunnel:${PORTSDIR}/security/stunnel \ |
19 |
RUN_DEPENDS= stunnel:${PORTSDIR}/security/stunnel \ |
20 |
xterm:${PORTSDIR}/x11/xterm |
20 |
xterm:${PORTSDIR}/x11/xterm |
21 |
|
21 |
|
22 |
USE_GMAKE= yes |
22 |
LICENSE= GPLv2 |
|
|
23 |
LICENSE_FILE= ${WRKSRC}/COPYING |
24 |
|
25 |
OPTIONS= ULTRAFTP "UltraVNC File Transfer support (Java required)" off |
26 |
|
23 |
USE_XORG= xi xmu xt xaw ice xpm xext sm |
27 |
USE_XORG= xi xmu xt xaw ice xpm xext sm |
24 |
USE_TCL_RUN= 84 |
28 |
USE_TK_WRAPPER= yes |
25 |
USE_TK_RUN= 84 |
|
|
26 |
USE_PERL5_RUN= yes |
29 |
USE_PERL5_RUN= yes |
|
|
30 |
USE_GMAKE= yes |
27 |
|
31 |
|
28 |
MAN1= ssvnc-gui.1 ssvncviewer.1 |
32 |
MAN1= ssvnc-gui.1 ssvncviewer.1 |
29 |
|
33 |
|
30 |
OPTIONS= ULTRAFTP "UltraVNC File Transfer support (Java required)" off |
|
|
31 |
|
32 |
.include <bsd.port.options.mk> |
34 |
.include <bsd.port.options.mk> |
33 |
|
35 |
|
34 |
.if defined(WITH_ULTRAFTP) |
36 |
.if defined(WITH_ULTRAFTP) |
Lines 37-50
Link Here
|
37 |
.else |
39 |
.else |
38 |
PLIST_SUB+= ULTRAFTP="@comment " |
40 |
PLIST_SUB+= ULTRAFTP="@comment " |
39 |
.endif |
41 |
.endif |
|
|
42 |
|
40 |
.if defined(NOPORTDOCS) |
43 |
.if defined(NOPORTDOCS) |
41 |
MAKE_ARGS+= DOCS="" |
44 |
MAKE_ARGS+= DOCS="" |
42 |
.endif |
45 |
.endif |
43 |
|
46 |
|
44 |
post-patch: |
47 |
post-patch: |
45 |
@${REINPLACE_CMD} -e 's|exec wish|exec ${WISH}|' ${WRKSRC}/scripts/util/ssvnc.tcl |
|
|
46 |
@${REINPLACE_CMD} -e 's|grep Linux|grep ${OPSYS}|' ${WRKSRC}/scripts/util/ss_vncviewer |
48 |
@${REINPLACE_CMD} -e 's|grep Linux|grep ${OPSYS}|' ${WRKSRC}/scripts/util/ss_vncviewer |
47 |
@${REINPLACE_CMD} -e 's|[[:<:]]ssvnc[[:>:]]|ssvnc-gui|' ${WRKSRC}/man/man1/ssvnc.1 |
49 |
@${REINPLACE_CMD} -e 's|[[:<:]]ssvnc[[:>:]]|ssvnc-gui|' ${WRKSRC}/man/man1/ssvnc.1 |
|
|
50 |
@${REINPLACE_CMD} -e 's|/usr/local/bin|${LOCALBASE}/bin|' \ |
51 |
-e 's|^CC =|CC ?=|' ${WRKSRC}/vncstorepw/Makefile |
48 |
.if !defined(WITH_ULTRAFTP) |
52 |
.if !defined(WITH_ULTRAFTP) |
49 |
@${REINPLACE_CMD} -e "s|sh -c 'type javac'|:|" \ |
53 |
@${REINPLACE_CMD} -e "s|sh -c 'type javac'|:|" \ |
50 |
-e "s|sh -c 'type jar'|:|" \ |
54 |
-e "s|sh -c 'type jar'|:|" \ |