[24600] trunk/dports/www/yaws
source_changes at macosforge.org
source_changes at macosforge.org
Sat Apr 28 17:22:12 PDT 2007
Revision: 24600
http://trac.macosforge.org/projects/macports/changeset/24600
Author: pguyot at kallisys.net
Date: 2007-04-28 17:22:11 -0700 (Sat, 28 Apr 2007)
Log Message:
-----------
Fix yaws
Modified Paths:
--------------
trunk/dports/www/yaws/Portfile
trunk/dports/www/yaws/files/patch-man-yaws.conf.5
trunk/dports/www/yaws/files/patch-scripts-Install
Modified: trunk/dports/www/yaws/Portfile
===================================================================
--- trunk/dports/www/yaws/Portfile 2007-04-28 22:52:36 UTC (rev 24599)
+++ trunk/dports/www/yaws/Portfile 2007-04-29 00:22:11 UTC (rev 24600)
@@ -16,7 +16,7 @@
sha1 699de1f0ead3dcb6d68ad87d66a4b36a8e180170 \
rmd160 d1ef0eb66bc376f09c39c1513cba9f3ab8cf4f6a
-depends_build bin:erlc:erlang
+depends_build port:erlang
extract.post_args | tar -xf - --exclude \
"${name}-${version}/www/testdir/xx*xx.jpg"
Modified: trunk/dports/www/yaws/files/patch-man-yaws.conf.5
===================================================================
--- trunk/dports/www/yaws/files/patch-man-yaws.conf.5 2007-04-28 22:52:36 UTC (rev 24599)
+++ trunk/dports/www/yaws/files/patch-man-yaws.conf.5 2007-04-29 00:22:11 UTC (rev 24600)
@@ -1,5 +1,5 @@
---- man/yaws.conf.5.orig Thu Apr 15 23:41:15 2004
-+++ man/yaws.conf.5 Wed Sep 29 11:59:53 2004
+--- man/yaws.conf.5.orig 2007-01-03 07:58:41.000000000 +0900
++++ man/yaws.conf.5 2007-04-15 16:13:03.000000000 +0900
@@ -1,6 +1,6 @@
.TH YAWS.CONF "5" "" "" "User Commands"
.SH NAME
@@ -8,7 +8,7 @@
.SH DESCRIPTION
.\" Add any additional description here
.PP
-@@ -467,11 +467,11 @@
+@@ -505,11 +505,11 @@
The following example defines a single server on port 80.
.nf
@@ -22,7 +22,7 @@
</server>
.fi
-@@ -480,17 +480,17 @@
+@@ -518,17 +518,17 @@
.nf
@@ -43,7 +43,7 @@
</server>
-@@ -504,7 +504,7 @@
+@@ -542,7 +542,7 @@
<server www.mydomain.org>
port = 80
listen = 192.168.128.31
@@ -52,7 +52,7 @@
access_log = false
<auth>
dir = secret/dir1
-@@ -529,7 +529,7 @@
+@@ -567,7 +567,7 @@
<server www.funky.org>
port = 80
listen = 192.168.128.31
@@ -61,7 +61,7 @@
start_mod = btt
<opaque>
mydbdir = /tmp
-@@ -553,14 +553,14 @@
+@@ -591,14 +591,14 @@
.nf
@@ -78,7 +78,7 @@
</server>
-@@ -568,16 +568,16 @@
+@@ -606,16 +606,16 @@
<server www.funky.org>
port = 80
listen = 192.168.128.31
Modified: trunk/dports/www/yaws/files/patch-scripts-Install
===================================================================
--- trunk/dports/www/yaws/files/patch-scripts-Install 2007-04-28 22:52:36 UTC (rev 24599)
+++ trunk/dports/www/yaws/files/patch-scripts-Install 2007-04-29 00:22:11 UTC (rev 24600)
@@ -1,6 +1,6 @@
---- scripts/Install.orig 2006-07-03 18:17:32.000000000 +0900
-+++ scripts/Install 2006-07-22 17:22:26.000000000 +0900
-@@ -33,53 +33,53 @@
+--- scripts/Install.orig 2006-12-11 04:55:08.000000000 +0900
++++ scripts/Install 2007-04-15 16:21:03.000000000 +0900
+@@ -34,55 +34,55 @@
install -d ${destdir}/${prefix}/lib/yaws/examples/ebin
install -d ${destdir}/${prefix}/lib/yaws/examples/include
@@ -33,7 +33,7 @@
-
-elif [ "`uname -s`" = "Darwin" -a `id -u` = 0 ]; then
- startupdir="/Library/StartupItems/Yaws"
-- if [ ! -e ${startupdir} && ]; then
+- if [ ! -e ${startupdir} ]; then
- mkdir ${startupdir};
- elif [ ! -d ${startupdir} ]; then
- echo "${startupdir} exists but is not a directory, bailing out ..."
@@ -46,7 +46,9 @@
- chown -R root:wheel ${startupdir}
-elif [ "`uname -s`" = "FreeBSD" ]; then
- sed -e "s;%prefix%;$p;g" -e "s;%etcdir%;$e;g" freebsd/yaws.sh > ${destdir}/${etcdir}/rc.d/yaws.sh
--else
+-elif [ "`uname -s`" = "NetBSD" ]; then
+- sed -e "s;%prefix%;$p;g" -e "s;%etcdir%;$e;g" netbsd/yaws.sh > /etc/rc.d/yaws
+-else
- install -d ${destdir}/${etcdir}
- echo "Don't know how to make /etc/init scrips for this system"
- echo "possibly add ${prefix}/bin/yaws --daemon --heart to your /etc/rc.local manually"
@@ -80,7 +82,7 @@
+#
+# elif [ "`uname -s`" = "Darwin" -a `id -u` = 0 ]; then
+# startupdir="/Library/StartupItems/Yaws"
-+# if [ ! -e ${startupdir} && ]; then
++# if [ ! -e ${startupdir} ]; then
+# mkdir ${startupdir};
+# elif [ ! -d ${startupdir} ]; then
+# echo "${startupdir} exists but is not a directory, bailing out ..."
@@ -93,7 +95,9 @@
+# chown -R root:wheel ${startupdir}
+# elif [ "`uname -s`" = "FreeBSD" ]; then
+# sed -e "s;%prefix%;$p;g" -e "s;%etcdir%;$e;g" freebsd/yaws.sh > ${destdir}/${etcdir}/rc.d/yaws.sh
-+# else
++# elif [ "`uname -s`" = "NetBSD" ]; then
++# sed -e "s;%prefix%;$p;g" -e "s;%etcdir%;$e;g" netbsd/yaws.sh > /etc/rc.d/yaws
++# else
+# install -d ${destdir}/${etcdir}
+# echo "Don't know how to make /etc/init scrips for this system"
+# echo "possibly add ${prefix}/bin/yaws --daemon --heart to your /etc/rc.local manually"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070428/61483537/attachment.html
More information about the macports-changes
mailing list