Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 13:08:00 +0100 (CET)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35312: Update port: Boa
Message-ID:  <200202251208.g1PC80O05851@vaio.alexdupre.com>

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

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202251208.g1PC80O05851>