Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 11:25:40 -0400 (EDT)
From:      jim@thehousleys.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19868: modify ports/Mk/bsd.port.mk to remove ALL the install manpages
Message-ID:  <200007121525.LAA40866@baby.int.thehousleys.net>

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

>Number:         19868
>Category:       ports
>Synopsis:       modify ports/Mk/bsd.port.mk to remove ALL the install manpages
>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:   Wed Jul 12 08:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     James Housley
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
The Housleys dot Net
>Environment:

	

>Description:

	Currently when ports/packages are deinstall the manpages
	are removed from ${PREFIX}/man/man*, but any manpages that
	were viewed are left in ${PREFIX}/man/cat*.  This will
	allow removal of any manpages that are copied to cat*.

	A question still remains about compressed versus nocompressed.

>How-To-Repeat:

	

>Fix:

--- bsd.port.mk.orig	Fri Jul  7 12:03:21 2000
+++ bsd.port.mk	Wed Jul 12 11:19:04 2000
@@ -2650,6 +2650,9 @@
 	@for man in ${__MANPAGES}; do \
 		${ECHO} $${man} >> ${TMPPLIST}; \
 	done
+	@for man in ${__MANPAGES:S^man/man^man/cat^}; do \
+		${ECHO} @unexec if [ -f %D/$${man} ]\; then rm -f %D/$${man}\; fi >> ${TMPPLIST}; \
+	done
 .for _PREFIX in ${PREFIX}
 .if ${_TMLINKS:M${_PREFIX}*}x != x
 	@for i in ${_TMLINKS:M${_PREFIX}*:S,^${_PREFIX}/,,}; do \



>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?200007121525.LAA40866>