mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Reformat Makefile header
- Unmute INSTALL_FOO statements - Other small Makefile cleanups - Take maintainership - Improve on port description
This commit is contained in:
parent
0c50a725e5
commit
23f0a749a4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209347
@ -1,6 +1,6 @@
|
||||
# New ports collection makefile for: thttpd
|
||||
# Date created: 24 May 1999
|
||||
# Whom: Anders Nordby <anders@fix.no>
|
||||
# Date created: 24 May 1999
|
||||
# Whom: Anders Nordby <anders@fix.no>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
@ -15,7 +15,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} notes.html
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= danfe@FreeBSD.org
|
||||
COMMENT= Tiny/turbo/throttling HTTP server
|
||||
|
||||
IGNOREFILES= notes.html
|
||||
@ -34,7 +34,7 @@ MAN8= thttpd.8 redirect.8 ssi.8 syslogtocern.8
|
||||
|
||||
post-patch:
|
||||
.for f in extras/htpasswd.1 extras/htpasswd.c thttpd.8 extras/Makefile.in
|
||||
${REINPLACE_CMD} -e \
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|htpasswd|thttpdpasswd|g;s|\.thttpdpasswd|.htpasswd|g' ${WRKSRC}/${f}
|
||||
.endfor
|
||||
${MV} ${WRKSRC}/extras/htpasswd.1 ${WRKSRC}/extras/thttpdpasswd.1
|
||||
@ -46,29 +46,29 @@ post-configure:
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/thttpd ${PREFIX}/sbin/
|
||||
@${INSTALL_MAN} ${WRKSRC}/thttpd.8 ${PREFIX}/man/man8
|
||||
@${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/www
|
||||
@${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/www/data
|
||||
@${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/www/cgi-bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/cgi-src/redirect ${PREFIX}/www/cgi-bin/
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/cgi-src/ssi ${PREFIX}/www/cgi-bin/
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/cgi-src/phf ${PREFIX}/www/cgi-bin/
|
||||
@${INSTALL_MAN} ${WRKSRC}/cgi-src/redirect.8 ${PREFIX}/man/man8
|
||||
@${INSTALL_MAN} ${WRKSRC}/cgi-src/ssi.8 ${PREFIX}/man/man8
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/extras/makeweb ${PREFIX}/bin/
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/extras/thttpdpasswd ${PREFIX}/bin/
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/extras/syslogtocern ${PREFIX}/bin/
|
||||
@${INSTALL_MAN} ${WRKSRC}/extras/makeweb.1 ${PREFIX}/man/man1
|
||||
@${INSTALL_MAN} ${WRKSRC}/extras/thttpdpasswd.1 ${PREFIX}/man/man1
|
||||
@${INSTALL_MAN} ${WRKSRC}/extras/syslogtocern.8 ${PREFIX}/man/man8
|
||||
@${INSTALL_DATA} ${WRKDIR}/thttpd.conf.sample ${PREFIX}/etc/thttpd.conf.sample
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/thttpd ${PREFIX}/sbin
|
||||
${INSTALL_MAN} ${WRKSRC}/thttpd.8 ${PREFIX}/man/man8
|
||||
@${MKDIR} ${PREFIX}/www/data ${PREFIX}/www/cgi-bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/cgi-src/redirect ${PREFIX}/www/cgi-bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/cgi-src/ssi ${PREFIX}/www/cgi-bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/cgi-src/phf ${PREFIX}/www/cgi-bin
|
||||
${INSTALL_MAN} ${WRKSRC}/cgi-src/redirect.8 ${PREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/cgi-src/ssi.8 ${PREFIX}/man/man8
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/extras/makeweb ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/extras/thttpdpasswd ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/extras/syslogtocern ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/extras/makeweb.1 ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/extras/thttpdpasswd.1 ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/extras/syslogtocern.8 ${PREFIX}/man/man8
|
||||
${INSTALL_DATA} ${WRKDIR}/thttpd.conf.sample ${PREFIX}/etc
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/notes.html ${DOCSDIR}/
|
||||
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/notes.html ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,13 +1,9 @@
|
||||
thttpd - tiny/turbo/throttling HTTP server
|
||||
|
||||
thttpd is a simple, small, portable, fast, and secure HTTP server.
|
||||
thttpd is a simple, small, portable, fast, and secure HTTP server.
|
||||
|
||||
Simple: It handles only the minimum necessary to implement HTTP/1.1.
|
||||
|
||||
Small: See the size comparison chart at
|
||||
http://www.acme.com/software/thttpd/notes.html#sizes. It also has a
|
||||
very small run-time size, since it does not fork and is very careful about
|
||||
memory allocation.
|
||||
Small: It also has a very small run-time size, since it does not fork and
|
||||
is very careful about memory allocation.
|
||||
|
||||
Portable: It compiles cleanly on SunOS 4.1.x, Solaris 2.x, BSD/OS 2.x,
|
||||
Linux 1.2.x, and OSF/1 (on a 64-bit Alpha).
|
||||
|
Loading…
Reference in New Issue
Block a user