head	1.4;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2;
locks; strict;
comment	@# @;


1.4
date	2012.11.17.06.02.43;	author svnexp;	state Exp;
branches;
next	1.3;

1.3
date	2012.08.05.23.19.36;	author dougb;	state Exp;
branches;
next	1.2;

1.2
date	2011.11.27.08.43.35;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2011.04.16.08.45.27;	author dhn;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Switch exporter over
@
text
@# New ports collection makefile for:	nostromo
# Date created:		20 Mar 2011
# Whom:			Adrian Steinmann <ast@@marabu.ch>
#
# $FreeBSD: head/www/nostromo/Makefile 302141 2012-08-05 23:19:36Z dougb $
#

PORTNAME=	nostromo
PORTVERSION=	1.9.5
CATEGORIES=	www ipv6
MASTER_SITES=	http://www.nazgul.ch/dev/

MAINTAINER=	ast@@marabu.ch
COMMENT=	A fast, secure HTTP/1.1 CGI/1.1 SSL IPv4/IPv6 webserver

LICENSE=	BSD

NOSTROMO_DIR?=		${PREFIX}/nostromo
NOSTROMO_LOGDIR?=	${NOSTROMO_DIR}/logs
NOSTROMO_LOGDIR_PERMS?=	0775

USE_RC_SUBR=	nostromo

MAN8=		nhttpd.8

MAKE_ENV?=	MAKEOBJDIR=. PREFIX=${PREFIX} NOSTROMO_DIR=${NOSTROMO_DIR}

post-extract:
	@@${REINPLACE_CMD} -e "s@@/var/nostromo@@${NOSTROMO_DIR}@@g" \
		${WRKSRC}/src/nhttpd/nhttpd.8
	@@${REINPLACE_CMD} -e "s@@/var/nostromo@@${NOSTROMO_DIR}@@g" \
		${WRKSRC}/src/nhttpd/main.c
	@@${REINPLACE_CMD} -e "s@@/var/nostromo@@${NOSTROMO_DIR}@@g" \
		${WRKSRC}/conf/nhttpd.conf-dist

do-install:
	@@${INSTALL_SCRIPT} ${WRKSRC}/src/nhttpd/nhttpd ${PREFIX}/sbin
	@@${INSTALL_SCRIPT} ${WRKSRC}/src/tools/crypt ${PREFIX}/sbin
	@@${INSTALL_MAN} ${WRKSRC}/src/nhttpd/nhttpd.8 ${PREFIX}/man/man8
	@@${MKDIR} ${NOSTROMO_DIR}
	@@${MKDIR} ${NOSTROMO_DIR}/conf
	@@${MKDIR} -m ${NOSTROMO_LOGDIR_PERMS} -p ${NOSTROMO_LOGDIR}
	@@${INSTALL_DATA} ${WRKSRC}/conf/mimes ${NOSTROMO_DIR}/conf
	@@${INSTALL_DATA} ${WRKSRC}/conf/nhttpd.conf-dist ${NOSTROMO_DIR}/conf
	@@${MKDIR} ${NOSTROMO_DIR}/htdocs
	@@${INSTALL_DATA} ${WRKSRC}/htdocs/index.html ${NOSTROMO_DIR}/htdocs
	@@${INSTALL_DATA} ${WRKSRC}/htdocs/nostromo.gif ${NOSTROMO_DIR}/htdocs
	@@${MKDIR} ${NOSTROMO_DIR}/htdocs/cgi-bin
	@@${INSTALL_SCRIPT} ${WRKSRC}/htdocs/cgi-bin/printenv \
		${NOSTROMO_DIR}/htdocs/cgi-bin
	@@${MKDIR} ${NOSTROMO_DIR}/icons
	@@${INSTALL_DATA} ${WRKSRC}/icons/dir.gif ${NOSTROMO_DIR}/icons
	@@${INSTALL_DATA} ${WRKSRC}/icons/file.gif ${NOSTROMO_DIR}/icons

.include <bsd.port.mk>
@


1.3
log
@SVN rev 302141 on 2012-08-05 23:19:36Z by dougb

Move the rc.d scripts of the form *.sh.in to *.in

Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.2
log
@- Update to 1.9.5

PR:		162904
Submitted by:	maintainer
Feature safe:	yes
@
text
@d22 1
a22 1
USE_RC_SUBR=	nostromo.sh
@


1.1
log
@Nostromo aka nhttpd is a simple, fast and secure HTTP server. It
runs as a single process, handling connections with select(2). For
CGIs and directory listing it does fork(2). The minimum of HTTP/1.1
and CGI/1.1 are implemented. Also supported are: chroot, setuid,
basic authentication, SSL, IPv6, custom responses, aliases, and
virtual hosts. The access log is written in standard CLF format.

AUTHOR: Glocker Marcus <marcus@@nazgul.ch>
WWW: http://www.nazgul.ch/dev_nostromo.html

PR:		ports/155919
Submitted by:	Adrian Steinmann <ast@@marabu.ch>
@
text
@d9 1
a9 1
PORTVERSION=	1.9.4
@

