diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-08-05 12:23:57 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-08-05 12:23:57 +0000 |
commit | d7f5caab7459e87745ca63b350dd1d72d679754d (patch) | |
tree | ed87e538476457e10d41d77b1d497ebd30210b4f /www/tinytinyhttpd | |
parent | 3cdbd2628a714799a84f89e056d29afb02a83300 (diff) | |
download | ports-d7f5caab7459e87745ca63b350dd1d72d679754d.tar.gz ports-d7f5caab7459e87745ca63b350dd1d72d679754d.zip |
Notes
Diffstat (limited to 'www/tinytinyhttpd')
-rw-r--r-- | www/tinytinyhttpd/Makefile | 32 | ||||
-rw-r--r-- | www/tinytinyhttpd/distinfo | 3 | ||||
-rw-r--r-- | www/tinytinyhttpd/files/example.conf | 10 | ||||
-rw-r--r-- | www/tinytinyhttpd/pkg-descr | 15 |
4 files changed, 60 insertions, 0 deletions
diff --git a/www/tinytinyhttpd/Makefile b/www/tinytinyhttpd/Makefile new file mode 100644 index 000000000000..5096d3845f35 --- /dev/null +++ b/www/tinytinyhttpd/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: tinytinyhttpd +# Date created: 01 Aug 2009 +# Whom: Shinsuke Matsui <smatsui@karashi.org> +# +# $FreeBSD$ +# + +PORTNAME= tinytinyhttpd +PORTVERSION= 0.0.2 +CATEGORIES= www +MASTER_SITES= http://cloud.github.com/downloads/mattn/tinytinyhttpd/ \ + ${MASTER_SITE_LOCAL} + +MAINTAINER= smatsui@karashi.org +COMMENT= Tiny tiny httpd + +PLIST_FILES= bin/tthttpd +PORTDOCS= README.mkd example.conf ChangeLog + +.include <bsd.port.pre.mk> + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tthttpd ${PREFIX}/bin + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${FILESDIR}/example.conf ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.mkd ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/www/tinytinyhttpd/distinfo b/www/tinytinyhttpd/distinfo new file mode 100644 index 000000000000..1a9859bd3d64 --- /dev/null +++ b/www/tinytinyhttpd/distinfo @@ -0,0 +1,3 @@ +MD5 (tinytinyhttpd-0.0.2.tar.gz) = 45c818dcc98ea943753a02d2c6d01bae +SHA256 (tinytinyhttpd-0.0.2.tar.gz) = 1b6bdd7ea798e714c2259048de95daa79487aea6e09cdc76ea08eb1b6a82db73 +SIZE (tinytinyhttpd-0.0.2.tar.gz) = 21560 diff --git a/www/tinytinyhttpd/files/example.conf b/www/tinytinyhttpd/files/example.conf new file mode 100644 index 000000000000..c77a7d50dbe4 --- /dev/null +++ b/www/tinytinyhttpd/files/example.conf @@ -0,0 +1,10 @@ +[global] +port=8080 +root=/path/to/contents +indexpages=index.html,index.php +charset=utf-8 +spawnexec=on + +[mime/types] +cgi=@/usr/local/bin/perl +php=@/usr/local/bin/php diff --git a/www/tinytinyhttpd/pkg-descr b/www/tinytinyhttpd/pkg-descr new file mode 100644 index 000000000000..3bcb0e46ad39 --- /dev/null +++ b/www/tinytinyhttpd/pkg-descr @@ -0,0 +1,15 @@ +tinytinyhttpd is a very lightweight HTTP server written in C. +It supports multi threads, customization, directory listing and CGI. +It is confirmed to run the following software under tinytinyhttpd +with no hassle: + +* MTOS(Movable Type Open Source) (perl) +* WordPress (php) +* blogn Plus (php) +* tDiary (ruby) +* PukiWiki (php) +* NucreusCMS (php) +* blosxom (perl) + +AUTHOR: mattn the ossan +WWW: http://github.com/mattn/tinytinyhttpd/tree/master |