diff options
author | sergei <sergei@FreeBSD.org> | 2003-10-23 20:21:55 +0000 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2003-10-23 20:21:55 +0000 |
commit | 7b892491e0dc0440ccf7a05bcf0f608972cfc903 (patch) | |
tree | 08c38baef0c2809cdef857967790ab35b68286df /www | |
parent | 4cef94034a25ea1260cfbcb5c241e980915e1b78 (diff) | |
download | FreeBSD-ports-7b892491e0dc0440ccf7a05bcf0f608972cfc903.zip FreeBSD-ports-7b892491e0dc0440ccf7a05bcf0f608972cfc903.tar.gz |
Add libhttpd-persistent, library for embedded web servers.
libHTTPD can be used to add basic web server capabilities to an
application or embedded device. The library handles both static and
dynamically generated content, has very low overheads, and provides many
features to simplify the creation of web based application interfaces.
This is a version modified for persistent connections by the author of
daapd.
PR: 58350
Submitted by: Lars Thegler <lars@thegler.dk>
Approved by: krion (implicit)
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/libhttpd-persistent/Makefile | 41 | ||||
-rw-r--r-- | www/libhttpd-persistent/distinfo | 1 | ||||
-rw-r--r-- | www/libhttpd-persistent/pkg-descr | 9 | ||||
-rw-r--r-- | www/libhttpd-persistent/pkg-plist | 7 |
5 files changed, 59 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index d7238d0..ae68bed 100644 --- a/www/Makefile +++ b/www/Makefile @@ -151,6 +151,7 @@ SUBDIR += larbin SUBDIR += libghttp SUBDIR += libgtkhtml + SUBDIR += libhttpd-persistent SUBDIR += libwww SUBDIR += linkchecker SUBDIR += links diff --git a/www/libhttpd-persistent/Makefile b/www/libhttpd-persistent/Makefile new file mode 100644 index 0000000..24e9a1b --- /dev/null +++ b/www/libhttpd-persistent/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: libhttpd-persistent +# Date created: 19 October 2003 +# Whom: Lars Thegler <lars@thegler.dk> +# +# $FreeBSD$ +# + +PORTNAME= libhttpd +PORTVERSION= ${VERSION}${LEVEL} +CATEGORIES= www devel +MASTER_SITES= http://www.deleet.de/projekte/daap/daapd/ +PKGNAMESUFFIX= -persistent +DISTNAME= ${PORTNAME}-${VERSION}p-${LEVEL} +EXTRACT_SUFX= .tgz + +MAINTAINER= lars@thegler.dk +COMMENT= Library for embedded web servers + +WRKSRC= ${WRKDIR}/${PORTNAME}-${VERSION}-persistent-${LEVEL} +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_REINPLACE= yes +CC= ${CXX} + +VERSION= 1.3 +LEVEL= e + +DOCS= README HISTORY License doc/FAQ.txt doc/libhttpd.pdf + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \ + ${WRKSRC}/Site.mm.in \ + ${WRKSRC}/src/Makefile.tmpl + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/www/libhttpd-persistent/distinfo b/www/libhttpd-persistent/distinfo new file mode 100644 index 0000000..e2bd389 --- /dev/null +++ b/www/libhttpd-persistent/distinfo @@ -0,0 +1 @@ +MD5 (libhttpd-1.3p-e.tgz) = 638f5e743393188c2761372e951a692b diff --git a/www/libhttpd-persistent/pkg-descr b/www/libhttpd-persistent/pkg-descr new file mode 100644 index 0000000..e68113a --- /dev/null +++ b/www/libhttpd-persistent/pkg-descr @@ -0,0 +1,9 @@ +libHTTPD can be used to add basic web server capabilities to an +application or embedded device. The library handles both static and +dynamically generated content, has very low overheads, and provides many +features to simplify the creation of web based application interfaces. + +This is a version modified for persistent connections by the author of +daapd. + +WWW: http://www.deleet.de/projekte/daap/daapd/ diff --git a/www/libhttpd-persistent/pkg-plist b/www/libhttpd-persistent/pkg-plist new file mode 100644 index 0000000..2049e7d --- /dev/null +++ b/www/libhttpd-persistent/pkg-plist @@ -0,0 +1,7 @@ +include/httpd.h +lib/libhttpd.a +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/HISTORY +%%PORTDOCS%%%%DOCSDIR%%/License +%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt +%%PORTDOCS%%%%DOCSDIR%%/libhttpd.pdf |