From owner-freebsd-ports Mon Feb 25 4: 0:16 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8C39F37B404 for ; Mon, 25 Feb 2002 04:00:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1PC05796786; Mon, 25 Feb 2002 04:00:05 -0800 (PST) (envelope-from gnats) Received: from vaio.alexdupre.com (212-41-211-209.adsl.galactica.it [212.41.211.209]) by hub.freebsd.org (Postfix) with ESMTP id 4EEED37B402 for ; Mon, 25 Feb 2002 03:54:17 -0800 (PST) Received: (from alex@localhost) by vaio.alexdupre.com (8.11.6/8.11.6) id g1PC80O05851; Mon, 25 Feb 2002 13:08:00 +0100 (CET) (envelope-from alex) Message-Id: <200202251208.g1PC80O05851@vaio.alexdupre.com> Date: Mon, 25 Feb 2002 13:08:00 +0100 (CET) From: Alex Dupre Reply-To: Alex Dupre To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35312: Update port: Boa Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35312 >Category: ports >Synopsis: Update port: Boa >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Feb 25 04:00:04 PST 2002 >Closed-Date: >Last-Modified: >Originator: Alex Dupre >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD vaio.alexdupre.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Feb 3 15:53:42 CET 2002 alex@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO2002 i386 >Description: Now the port builds and installs html and info versions of the docs. >How-To-Repeat: >Fix: --- boa.diff begins here --- diff -ruN boa.orig/Makefile boa/Makefile --- boa.orig/Makefile Mon Feb 25 12:14:06 2002 +++ boa/Makefile Mon Feb 25 13:00:34 2002 @@ -23,6 +23,9 @@ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/defines.h \ ${WRKSRC}/../boa.conf +post-build: + @cd ${WRKSRC}/../docs && ${MAKE} boa.info boa.html + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/boa ${PREFIX}/sbin @${INSTALL_PROGRAM} ${WRKSRC}/boa_indexer ${PREFIX}/sbin @@ -30,13 +33,15 @@ @${INSTALL_DATA} ${WRKSRC}/../boa.conf ${PREFIX}/etc/boa.conf.sample @${MKDIR} ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/../examples/* ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/../docs/boa.info ${PREFIX}/info .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/../docs/boa.texi ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/../docs/boa.html ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/../docs/boa_banner.png ${DOCSDIR} .endif post-install: + @install-info ${PREFIX}/info/boa.info ${PREFIX}/info/dir @if [ ! -f ${PREFIX}/etc/rc.d/boa.sh ]; then \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/boa.sh.sample \ startup file."; \ diff -ruN boa.orig/files/patch-docs::boa.texi boa/files/patch-docs::boa.texi --- boa.orig/files/patch-docs::boa.texi Thu Jan 1 01:00:00 1970 +++ boa/files/patch-docs::boa.texi Mon Feb 25 12:44:40 2002 @@ -0,0 +1,11 @@ +--- ../docs/boa.texi.orig Mon Feb 25 12:39:56 2002 ++++ ../docs/boa.texi Mon Feb 25 12:40:28 2002 +@@ -31,7 +31,7 @@ + @ifinfo + @dircategory Networking + @direntry +-* Boa: (boa). The Boa Webserver ++* Boa: (boa). The Boa Webserver + @end direntry + @end ifinfo + diff -ruN boa.orig/pkg-plist boa/pkg-plist --- boa.orig/pkg-plist Mon Feb 25 12:14:06 2002 +++ boa/pkg-plist Mon Feb 25 12:58:36 2002 @@ -1,8 +1,11 @@ etc/boa.conf.sample etc/rc.d/boa.sh.sample +@unexec install-info --delete %D/info/boa.info %D/info/dir +info/boa.info +@exec install-info %D/info/boa.info %D/info/dir sbin/boa sbin/boa_indexer -%%PORTDOCS%%share/doc/boa/boa.texi +%%PORTDOCS%%share/doc/boa/boa.html %%PORTDOCS%%share/doc/boa/boa_banner.png share/examples/boa/cgi-test.cgi share/examples/boa/nph-test.cgi --- boa.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message