ports/184157: [patch] net/ssvnc: correct options and work with staging
Warren Block
wblock at FreeBSD.org
Fri Nov 22 02:00:00 UTC 2013
>Number: 184157
>Category: ports
>Synopsis: [patch] net/ssvnc: correct options and work with staging
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 22 02:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Warren Block
>Release: 9-STABLE
>Organization:
>Environment:
FreeBSD lightning 9.2-STABLE FreeBSD 9.2-STABLE #0 r258240: Sat Nov 16 17:55:08 MST 2013 root at lightning:/usr/obj/usr/src/sys/LIGHTNING amd64
>Description:
The DOCS option was being used to determine whether to install man pages, but did not remove the man pages from pkg-plist if they were not installed. The DOCS option is not supposed to apply to man pages anyway.
The ultraftp.jar file was not installed in the correct location, so installing with ULTRAFTP enabled would fail.
>How-To-Repeat:
Try to install the port with DOCS disabled or ULTRAFTP enabled.
>Fix:
Apply the attached patch.
Patch attached with submission follows:
Index: net/ssvnc/Makefile
===================================================================
--- net/ssvnc/Makefile (revision 334526)
+++ net/ssvnc/Makefile (working copy)
@@ -17,7 +17,7 @@
RUN_DEPENDS= stunnel:${PORTSDIR}/security/stunnel \
xterm:${PORTSDIR}/x11/xterm
-OPTIONS_DEFINE= ULTRAFTP DOCS
+OPTIONS_DEFINE= ULTRAFTP
ULTRAFTP_DESC= UltraVNC File Transfer support (Java required)
USES= imake:env gmake perl5
@@ -57,12 +57,14 @@
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} config
post-install:
-.if ${PORT_OPTIONS:MDOCS}
+.if ${PORT_OPTIONS:MULTRAFTP}
+ @${INSTALL_DATA} ${WRKSRC}/ultraftp/ultraftp.jar \
+ ${STAGEDIR}${LOCALBASE}/lib/ssvnc/
+.endif
@${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
.for man in ssvnc.1 ssvncviewer.1
${INSTALL_MAN} ${WRKSRC}/man/man1/${man} \
${STAGEDIR}${MAN1PREFIX}/man/man1
.endfor
-.endif
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list