From owner-freebsd-ports Fri Sep 1 17:59:14 2000 Delivered-To: freebsd-ports@freebsd.org Received: from maynard.mail.mindspring.net (maynard.mail.mindspring.net [207.69.200.243]) by hub.freebsd.org (Postfix) with ESMTP id EA87E37B423 for ; Fri, 1 Sep 2000 17:59:11 -0700 (PDT) Received: from silvia.hip.berkeley.edu (sji-ca2-63.ix.netcom.com [205.186.212.63]) by maynard.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id UAA29340 for ; Fri, 1 Sep 2000 20:59:09 -0400 (EDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.11.0/8.11.0) id e820tsA09134; Fri, 1 Sep 2000 17:55:54 -0700 (PDT) (envelope-from asami@cs.berkeley.edu) Date: Fri, 1 Sep 2000 17:55:54 -0700 (PDT) Message-Id: <200009020055.e820tsA09134@silvia.hip.berkeley.edu> X-Authentication-Warning: silvia.hip.berkeley.edu: asami set sender to asami@cs.berkeley.edu using -f To: ports@freebsd.org Subject: XFREE86_HTML_MAN From: asami@freebsd.org (Satoshi Asami) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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