Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2001 23:43:53 +0100 (CET)
From:      olgeni@uli.it
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24078: ftp/lftp pkg-plist NOPORTDOCS handling
Message-ID:  <200101042243.f04Mhrp08897@olgeni.localdomain.net>
Resent-Message-ID: <200101042250.f04Mo1S21776@freefall.freebsd.org>

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

>Number:         24078
>Category:       ports
>Synopsis:       ftp/lftp pkg-plist NOPORTDOCS handling
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 04 14:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Colby
>Environment:
>Description:

The current ftp/lftp pkg-plist does not handle NOPORTDOCS.

>How-To-Repeat:
>Fix:

diff -ruN lftp.orig/Makefile lftp/Makefile
--- lftp.orig/Makefile	Thu Jan  4 23:36:25 2001
+++ lftp/Makefile	Thu Jan  4 23:37:35 2001
@@ -24,6 +24,12 @@
 
 MAN1=		lftp.1
 
+.if defined(NOPORTDOCS)
+NODOCS=	"@comment "
+.endif
+
+PLIST_SUB=	NOPORTDOCS=${NODOCS}
+
 pre-patch:
 	@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
 		s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
diff -ruN lftp.orig/pkg-plist lftp/pkg-plist
--- lftp.orig/pkg-plist	Tue Nov 28 22:34:07 2000
+++ lftp/pkg-plist	Wed Jan  3 17:16:37 2001
@@ -1,12 +1,12 @@
 bin/lftp
 bin/lftpget
 etc/lftp.conf.sample
-share/doc/lftp/COPYING
-share/doc/lftp/FAQ
-share/doc/lftp/NEWS
-share/doc/lftp/README
-share/doc/lftp/THANKS
-share/doc/lftp/TODO
+%%NOPORTDOCS%%share/doc/lftp/COPYING
+%%NOPORTDOCS%%share/doc/lftp/FAQ
+%%NOPORTDOCS%%share/doc/lftp/NEWS
+%%NOPORTDOCS%%share/doc/lftp/README
+%%NOPORTDOCS%%share/doc/lftp/THANKS
+%%NOPORTDOCS%%share/doc/lftp/TODO
 share/lftp/import-ncftp
 share/lftp/import-netscape
 share/locale/de/LC_MESSAGES/lftp.mo
@@ -19,5 +19,5 @@
 share/locale/pt_BR/LC_MESSAGES/lftp.mo
 share/locale/ru/LC_MESSAGES/lftp.mo
 share/locale/zh_CN/LC_MESSAGES/lftp.mo
+%%NOPORTDOCS%%@dirrm share/doc/lftp
 @dirrm share/lftp
-@dirrm share/doc/lftp

>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?200101042243.f04Mhrp08897>