Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2000 16:12:31 -0700 (PDT)
From:      bmah@cisco.com (Bruce A. Mah)
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19316: [patch] Make net/vnc port respect NOPORTDOCS
Message-ID:  <200006152312.e5FNCVp26050@bmah-freebsd-0.cisco.com>

next in thread | raw e-mail | index | archive | help

>Number:         19316
>Category:       ports
>Synopsis:       [patch] Make net/vnc port respect NOPORTDOCS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 15 16:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Bruce A. Mah
>Release:        FreeBSD 4.0-RELEASE i386
>Organization:
Cisco Systems, Inc.
>Environment:

	

>Description:

The net/vnc port doesn't respect NOPORTDOCS...this patch makes it
do this (I think).

I'm the port maintainer, but if a committer could do a quick sanity
check on this for me, I'd appreciate it.  Thanks.

>How-To-Repeat:

	

>Fix:


diff -rcN /usr/ports/net/vnc/Makefile ./vnc/Makefile
*** /usr/ports/net/vnc/Makefile	Sun Jun 11 08:35:35 2000
--- ./vnc/Makefile	Thu Jun 15 16:10:21 2000
***************
*** 33,38 ****
--- 33,42 ----
  		< ${WRKSRC}/vncserver \
  		> ${WRKSRC}/vncserver.local
  	${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${PREFIX}/bin/vncserver
+ # Go install Java classes
+ 	${MKDIR} ${PREFIX}/share/vnc
+ 	${CP} -R ${WRKSRC}/classes ${PREFIX}/share/vnc
+ .if !defined(NOPORTDOCS)
  # The documentation comes with bogus ownerships; this is a little leaky
  # security-wise
  	${TAR} -C ${PREFIX}/share/doc -xzf ${DISTDIR}/vnc-latest_doc.tgz
***************
*** 42,48 ****
  # distfile.
  	(cd ${PREFIX}; ls share/doc/vnc/* >> ${TMPPLIST})
  	${ECHO} '@dirrm share/doc/vnc' >> ${TMPPLIST}
! # Go install Java classes
! 	${MKDIR} ${PREFIX}/share/vnc
! 	${CP} -R ${WRKSRC}/classes ${PREFIX}/share/vnc
  .include <bsd.port.mk>
--- 46,50 ----
  # distfile.
  	(cd ${PREFIX}; ls share/doc/vnc/* >> ${TMPPLIST})
  	${ECHO} '@dirrm share/doc/vnc' >> ${TMPPLIST}
! .endif
  .include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006152312.e5FNCVp26050>