Skip to content
Permalink
Browse files

Fixed short description.

Port now use xinstall.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4508 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
pguyot committed Jan 7, 2004
1 parent ac71e81 commit cf8340da3490e02b240a65b4e1a408fcc7bc299a
Showing with 17 additions and 13 deletions.
  1. +17 −13 www/abyss/Portfile
@@ -1,11 +1,11 @@
# $Id: Portfile,v 1.1 2004/01/07 09:21:00 pguyot Exp $
# $Id: Portfile,v 1.2 2004/01/07 13:06:04 pguyot Exp $

PortSystem 1.0
name abyss
version 0.3
categories www
maintainers pguyot@kallisys.net
description HTTP/1.1 compliant web server for
description Light HTTP/1.1 compliant web server.
long_description \
ABYSS aims to be a fully HTTP/1.1 compliant web server. \
Its main design goals are speed, low resource usage and \
@@ -26,17 +26,21 @@ build { system "cd ${worksrcpath}/src/ && make" }
depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup

destroot {
system "install -o root -m 0755 -p ${worksrcpath}/bin/abyss ${destroot}${prefix}/sbin/"
system "install -d -o nobody -m 0755 ${destroot}${prefix}/share/abyss/"
system "install -d -o nobody -m 0755 ${destroot}${prefix}/share/abyss/log/"
xinstall -o root -m 0755 -p "${worksrcpath}/bin/abyss" "${destroot}${prefix}/sbin/"
xinstall -d -o nobody -m 0755 "${destroot}${prefix}/share/abyss/"
xinstall -d -o nobody -m 0755 "${destroot}${prefix}/share/abyss/log/"
system "touch ${destroot}${prefix}/share/abyss/log/access.log"
system "install -d -o nobody -m 0755 ${destroot}${prefix}/share/abyss/conf/"
system "install -o root -m 0644 -p ${worksrcpath}/conf/* ${destroot}${prefix}/share/abyss/conf/"
system "install -d -o root -m 0755 ${destroot}${prefix}/share/abyss/htdocs/"
system "install -o root -m 0644 ${portpath}/files/index.html ${destroot}${prefix}/share/abyss/htdocs/"
system "install -o root -m 755 -d ${destroot}${prefix}/etc/rc.d"
system "install -o root -m 755 -c \
${portpath}/files/abyss.sh ${destroot}${prefix}/etc/rc.d"
xinstall -d -o nobody -m 0755 ${destroot}${prefix}/share/abyss/conf/"
xinstall -o root -m 0644 -p "${worksrcpath}/conf/abyss.conf" \
"${destroot}${prefix}/share/abyss/conf/"
xinstall -o root -m 0644 -p "${worksrcpath}/conf/mime.types" \
"${destroot}${prefix}/share/abyss/conf/"
xinstall -d -o root -m 0755 "${destroot}${prefix}/share/abyss/htdocs/"
xinstall -o root -m 0644 "${portpath}/files/index.html" \
"${destroot}${prefix}/share/abyss/htdocs/"
xinstall -o root -m 755 -d "${destroot}${prefix}/etc/rc.d"
xinstall -o root -m 755 -c \
"${portpath}/files/abyss.sh" "${destroot}${prefix}/etc/rc.d"
reinplace "s|__PREFIX|${prefix}|g" \
${destroot}${prefix}/etc/rc.d/abyss.sh
"${destroot}${prefix}/etc/rc.d/abyss.sh"
}

0 comments on commit cf8340d

Please sign in to comment.
You can’t perform that action at this time.