Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2000 20:23:40 +0100 (CET)
From:      olgeni@uli.it
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23652: mail/pine4 pkg-plist support for NOPORTDOCS
Message-ID:  <200012191923.eBJJNeH17532@olgeni.localdomain.net>
Resent-Message-ID: <200012191930.eBJJU3053905@freefall.freebsd.org>

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

>Number:         23652
>Category:       ports
>Synopsis:       mail/pine4 pkg-plist support for 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:   Tue Dec 19 11:30:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Colby
>Environment:

FreeBSD olgeni.localdomain.net 4.2-STABLE FreeBSD 4.2-STABLE #0: Tue Dec 19 03:31:59 CET 2000     olgeni@olgeni.localdomain.net:/usr/local/storage/obj/usr/src/sys/BSDBOX  i386

>Description:

Pine's pkg-plist should support the NOPORTDOCS option.

Makefile:

  * add support for NOPORTDOCS (PLIST_SUB variable)

pkg-plist:

  * add %%NOPORTDOCS%% prefix to documentation files

>How-To-Repeat:
>Fix:

diff -ruN pine4.orig/Makefile pine4/Makefile
--- pine4.orig/Makefile	Tue Dec 19 20:15:07 2000
+++ pine4/Makefile	Tue Dec 19 20:18:45 2000
@@ -22,6 +22,12 @@
 
 LIB_DEPENDS=	c-client4.8:${PORTSDIR}/mail/cclient
 
+.if defined(NOPORTDOCS)
+NODOCS=	"@comment "
+.endif
+
+PLIST_SUB=	NOPORTDOCS=${NODOCS}
+
 # Define "WITH_LDAP" to include ldap support.
 # If the ldap port is installed somewhere other than /usr/local, define
 # LDAP_PREFIX as well.
diff -ruN pine4.orig/pkg-plist pine4/pkg-plist
--- pine4.orig/pkg-plist	Tue Dec 19 20:15:56 2000
+++ pine4/pkg-plist	Tue Dec 19 20:18:03 2000
@@ -10,16 +10,16 @@
 etc/dot.pinerc.pgp.sample
 @exec %D/bin/pine -P %D/etc/pine.conf -conf >%D/etc/pine.conf.tmp
 @exec /bin/mv %D/etc/pine.conf.tmp %D/etc/pine.conf
-share/doc/pine/brochure.txt
-share/doc/pine/tech-notes.txt
-share/doc/pine/tech-notes/background.html
-share/doc/pine/tech-notes/cmd-line.html
-share/doc/pine/tech-notes/config-notes.html
-share/doc/pine/tech-notes/config.html
-share/doc/pine/tech-notes/index.html
-share/doc/pine/tech-notes/installation.html
-share/doc/pine/tech-notes/introduction.html
-share/doc/pine/tech-notes/low-level.html
-share/doc/pine/tech-notes/porting.html
-@dirrm share/doc/pine/tech-notes
-@dirrm share/doc/pine
+%%NOPORTDOCS%%share/doc/pine/brochure.txt
+%%NOPORTDOCS%%share/doc/pine/tech-notes.txt
+%%NOPORTDOCS%%share/doc/pine/tech-notes/background.html
+%%NOPORTDOCS%%share/doc/pine/tech-notes/cmd-line.html
+%%NOPORTDOCS%%share/doc/pine/tech-notes/config-notes.html
+%%NOPORTDOCS%%share/doc/pine/tech-notes/config.html
+%%NOPORTDOCS%%share/doc/pine/tech-notes/index.html
+%%NOPORTDOCS%%share/doc/pine/tech-notes/installation.html
+%%NOPORTDOCS%%share/doc/pine/tech-notes/introduction.html
+%%NOPORTDOCS%%share/doc/pine/tech-notes/low-level.html
+%%NOPORTDOCS%%share/doc/pine/tech-notes/porting.html
+%%NOPORTDOCS%%@dirrm share/doc/pine/tech-notes
+%%NOPORTDOCS%%@dirrm share/doc/pine


>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?200012191923.eBJJNeH17532>