Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 2000 17:55:54 -0700 (PDT)
From:      asami@freebsd.org (Satoshi Asami)
To:        ports@freebsd.org
Subject:   XFREE86_HTML_MAN
Message-ID:  <200009020055.e820tsA09134@silvia.hip.berkeley.edu>

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

What do you guys think of this one?  It will add the html'ified
manpages to the PLIST automatically when XFREE86_VERSION=4 and
USE_IMAKE is set.

You can turn it on or off by setting it explicitly to "yes" or "no".
(It is sometimes necessary for ports that match the above criteria but
does not install html manpages for whatever reason.)

I've verified it works for xv and open-motif (for the latter, you need
to set it explicitly to "no").

Satoshi
-------
Index: bsd.port.mk
===================================================================
RCS file: /usr/cvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.348
diff -u -r1.348 bsd.port.mk
--- bsd.port.mk	2000/08/25 19:50:45	1.348
+++ bsd.port.mk	2000/09/01 08:41:49
@@ -1308,6 +1330,16 @@
 _MANPAGES:=	${_MANPAGES:S/$/.gz/}
 .endif
 
+.if ${XFREE86_VERSION} == 3
+XFREE86_HTML_MAN=	no
+.else
+.if defined(USE_IMAKE)
+XFREE86_HTML_MAN?=	yes
+.else
+XFREE86_HTML_MAN?=	no
+.endif
+.endif
+
 # Put this for down as possible so it will catch all PLIST_SUB definitions.
 
 .if defined(INSTALLS_SHLIB)
@@ -2737,6 +2784,13 @@
 		${ECHO} "$$i" >> ${TMPPLIST}; \
 	done
 	@${ECHO} '@cwd ${PREFIX}' >> ${TMPPLIST}
+.endif
+.if ${XFREE86_HTML_MAN} == "yes"
+.for mansect in MAN1 MAN2 MAN3 MAN4 MAN5 MAN6 MAN7 MAN8 MAN9 MANL MANN
+.for man in ${${mansect}}
+	@echo lib/X11/doc/html/${man}.html >> ${TMPPLIST}
+.endfor
+.endfor
 .endif
 .endfor
 	@${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PLIST} >> ${TMPPLIST}


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?200009020055.e820tsA09134>