summaryrefslogtreecommitdiff
path: root/www/bozohttpd
diff options
context:
space:
mode:
authoritojun <itojun>2000-08-31 12:12:58 +0000
committeritojun <itojun>2000-08-31 12:12:58 +0000
commit2da9b0314154f1df56d9f25b9bfe6d0d78bc06a6 (patch)
tree069a3a57c84a266d0c5e4ec001eea7f396268eee /www/bozohttpd
parent278562e60af74c9cf3c4e1f5a4da8242e36a8b05 (diff)
downloadpkgsrc-2da9b0314154f1df56d9f25b9bfe6d0d78bc06a6.tar.gz
in bozohttpd.8, honor PREFIX. also, use "bozohttpd" instead of "httpd"
to sync with reality.
Diffstat (limited to 'www/bozohttpd')
-rw-r--r--www/bozohttpd/Makefile9
-rw-r--r--www/bozohttpd/files/patch-sum4
-rw-r--r--www/bozohttpd/patches/patch-ab14
3 files changed, 18 insertions, 9 deletions
diff --git a/www/bozohttpd/Makefile b/www/bozohttpd/Makefile
index 7114d8ddcf8..478f3e6627f 100644
--- a/www/bozohttpd/Makefile
+++ b/www/bozohttpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/08/27 09:04:31 itojun Exp $
+# $NetBSD: Makefile,v 1.6 2000/08/31 12:12:58 itojun Exp $
#
DISTNAME= bozohttpd-5.06
@@ -19,4 +19,11 @@ CPPFLAGS+= -DINET6
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}"
.endif
+pre-patch:
+ ${MV} ${WRKSRC}/bozohttpd.8 ${WRKSRC}/bozohttpd.8.in
+
+post-patch:
+ ${SED} -e "s,@PREFIX@,${PREFIX},g" <${WRKSRC}/bozohttpd.8.in \
+ >${WRKSRC}/bozohttpd.8
+
.include "../../mk/bsd.pkg.mk"
diff --git a/www/bozohttpd/files/patch-sum b/www/bozohttpd/files/patch-sum
index 34036da36c3..2d02778efba 100644
--- a/www/bozohttpd/files/patch-sum
+++ b/www/bozohttpd/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.5 2000/08/27 09:04:31 itojun Exp $
+$NetBSD: patch-sum,v 1.6 2000/08/31 12:12:58 itojun Exp $
MD5 (patch-aa) = c02c925955768359ff9fdcb5be35582d
-MD5 (patch-ab) = 3da41d9dc8351deebc89203830e2f903
+MD5 (patch-ab) = e3bca9cdb796bc4d052f08995a0bb745
diff --git a/www/bozohttpd/patches/patch-ab b/www/bozohttpd/patches/patch-ab
index 035a6ad319e..a2198ba79cd 100644
--- a/www/bozohttpd/patches/patch-ab
+++ b/www/bozohttpd/patches/patch-ab
@@ -1,9 +1,11 @@
-$NetBSD: patch-ab,v 1.5 2000/08/27 09:04:31 itojun Exp $
---- bozohttpd.8.orig Fri Aug 25 03:17:05 2000
-+++ bozohttpd.8 Sun Aug 27 02:02:10 2000
-@@ -112,3 +112,4 @@
+$NetBSD: patch-ab,v 1.6 2000/08/31 12:12:59 itojun Exp $
+--- bozohttpd.8.in.orig Fri Aug 25 03:17:05 2000
++++ bozohttpd.8.in Thu Aug 31 05:08:12 2000
+@@ -112,3 +112,6 @@
entry would be:
-.Dl www stream tcp nowait httpd /usr/pkg/libexec/httpd httpd /var/www
-+.Dl www stream tcp nowait httpd /usr/pkg/libexec/httpd httpd /var/www
-+.Dl www stream tcp6 nowait httpd /usr/pkg/libexec/httpd httpd /var/www
++.Bd -literal
++www stream tcp nowait httpd @PREFIX@/libexec/bozohttpd bozohttpd /var/www
++www stream tcp6 nowait httpd @PREFIX@/libexec/bozohttpd bozohttpd /var/www
++.Ed
.Pp