[74353] trunk/dports/www
ryandesign at macports.org
ryandesign at macports.org
Mon Dec 13 17:25:18 PST 2010
Revision: 74353
http://trac.macports.org/changeset/74353
Author: ryandesign at macports.org
Date: 2010-12-13 17:25:11 -0800 (Mon, 13 Dec 2010)
Log Message:
-----------
nostromo: new port, version 1.9.3; see #27658
Added Paths:
-----------
trunk/dports/www/nostromo/
trunk/dports/www/nostromo/Portfile
trunk/dports/www/nostromo/files/
trunk/dports/www/nostromo/files/patch-src-nhttpd-GNUmakefile.diff
trunk/dports/www/nostromo/files/patch-src-tools-GNUmakefile.diff
Added: trunk/dports/www/nostromo/Portfile
===================================================================
--- trunk/dports/www/nostromo/Portfile (rev 0)
+++ trunk/dports/www/nostromo/Portfile 2010-12-14 01:25:11 UTC (rev 74353)
@@ -0,0 +1,47 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name nostromo
+version 1.9.3
+categories www
+platforms darwin
+maintainers nomaintainer
+
+description nhttpd is a simple, fast and secure HTTP server
+
+long_description ${name} provides nhttpd, a simple, fast and secure HTTP server.
+
+homepage http://www.nazgul.ch/dev_nostromo.html
+master_sites http://www.nazgul.ch/dev
+
+checksums sha1 962085f807c7b42e615fbea13d4cc347660f8454 \
+ rmd160 2099287e18c7703e63d225f7e37c1cb23db2ffc2
+
+use_configure no
+
+platform darwin {
+ patchfiles-append patch-src-nhttpd-GNUmakefile.diff \
+ patch-src-tools-GNUmakefile.diff
+}
+
+destroot {
+ xinstall -W ${worksrcpath}/src nhttpd/nhttpd tools/crypt ${destroot}${prefix}/sbin/
+
+ xinstall -W ${worksrcpath} -m 644 src/nhttpd/nhttpd.cat8 ${destroot}${prefix}/share/man/man6/nhttpd.6
+
+ xinstall -d ${destroot}${prefix}/share/examples/${name} ${destroot}${prefix}/share/doc/${name}
+
+ xinstall -W ${worksrcpath} -m 644 ChangeLog README ${destroot}${prefix}/share/doc/${name}
+
+ xinstall -W ${worksrcpath} htdocs/cgi-bin/printenv ${destroot}${prefix}/share/examples/${name}/
+ xinstall -W ${worksrcpath} -m 444 conf/mimes ${destroot}${prefix}/share/examples/${name}/
+ xinstall -W ${worksrcpath} -m 644 \
+ conf/nhttpd.conf-dist \
+ htdocs/index.html \
+ htdocs/nostromo.gif \
+ icons/dir.gif \
+ icons/file.gif \
+ ${destroot}${prefix}/share/examples/${name}/
+}
Property changes on: trunk/dports/www/nostromo/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/www/nostromo/files/patch-src-nhttpd-GNUmakefile.diff
===================================================================
--- trunk/dports/www/nostromo/files/patch-src-nhttpd-GNUmakefile.diff (rev 0)
+++ trunk/dports/www/nostromo/files/patch-src-nhttpd-GNUmakefile.diff 2010-12-14 01:25:11 UTC (rev 74353)
@@ -0,0 +1,11 @@
+--- src/nhttpd/GNUmakefile.orig 2010-12-13 15:16:37.000000000 +0100
++++ src/nhttpd/GNUmakefile 2010-12-13 15:16:49.000000000 +0100
+@@ -1,7 +1,7 @@
+ CCFLAGS = -O2 -pipe -Wall -Werror -Wstrict-prototypes -c
+
+ nhttpd: main.o http.o sys.o
+- cc -L../libmy -L../libbsd -o nhttpd main.o http.o sys.o -lmy -lbsd -lssl -lcrypt
++ cc -L../libmy -L../libbsd -o nhttpd main.o http.o sys.o -lmy -lbsd -lssl
+ strip nhttpd
+ nroff -Tascii -c -mandoc nhttpd.8 > nhttpd.cat8
+
Added: trunk/dports/www/nostromo/files/patch-src-tools-GNUmakefile.diff
===================================================================
--- trunk/dports/www/nostromo/files/patch-src-tools-GNUmakefile.diff (rev 0)
+++ trunk/dports/www/nostromo/files/patch-src-tools-GNUmakefile.diff 2010-12-14 01:25:11 UTC (rev 74353)
@@ -0,0 +1,11 @@
+--- src/tools/GNUmakefile.orig 2010-12-13 15:17:04.000000000 +0100
++++ src/tools/GNUmakefile 2010-12-13 15:18:15.000000000 +0100
+@@ -1,7 +1,7 @@
+ CCFLAGS = -O2 -pipe -Wall -Werror -Wstrict-prototypes -c
+
+ crypt: crypt.o
+- cc -o crypt crypt.o -lcrypt
++ cc -o crypt crypt.o
+ strip crypt
+
+ crypt.o: crypt.c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101213/64eb15c4/attachment.html>
More information about the macports-changes
mailing list