head	1.20;
access;
symbols
	RELEASE_8_3_0:1.19
	RELEASE_9_0_0:1.19
	RELEASE_7_4_0:1.19
	RELEASE_8_2_0:1.19
	RELEASE_6_EOL:1.19
	RELEASE_8_1_0:1.19
	RELEASE_7_3_0:1.19
	RELEASE_8_0_0:1.19
	RELEASE_7_2_0:1.19
	RELEASE_7_1_0:1.18
	RELEASE_6_4_0:1.18
	RELEASE_5_EOL:1.17
	RELEASE_7_0_0:1.17
	RELEASE_6_3_0:1.17
	PRE_XORG_7:1.15
	RELEASE_4_EOL:1.15
	RELEASE_6_2_0:1.15
	RELEASE_6_1_0:1.14
	RELEASE_5_5_0:1.14
	RELEASE_6_0_0:1.10
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.2;
locks; strict;
comment	@# @;


1.20
date	2012.11.17.06.03.05;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2009.01.16.00.42.08;	author miwi;	state Exp;
branches;
next	1.18;

1.18
date	2008.06.07.01.27.56;	author wxs;	state Exp;
branches;
next	1.17;

1.17
date	2007.07.19.19.12.06;	author ehaupt;	state Exp;
branches;
next	1.16;

1.16
date	2007.05.26.15.22.26;	author araujo;	state Exp;
branches;
next	1.15;

1.15
date	2006.06.12.12.29.10;	author miwi;	state Exp;
branches;
next	1.14;

1.14
date	2006.01.31.21.24.55;	author tdb;	state Exp;
branches;
next	1.13;

1.13
date	2006.01.09.13.38.12;	author ehaupt;	state Exp;
branches;
next	1.12;

1.12
date	2005.11.24.22.55.39;	author mnag;	state Exp;
branches;
next	1.11;

1.11
date	2005.10.10.06.41.07;	author ehaupt;	state Exp;
branches;
next	1.10;

1.10
date	2005.06.22.08.59.21;	author sem;	state Exp;
branches;
next	1.9;

1.9
date	2005.06.14.10.28.46;	author sem;	state Exp;
branches;
next	1.8;

1.8
date	2005.05.20.15.07.13;	author novel;	state Exp;
branches;
next	1.7;

1.7
date	2005.05.06.17.45.02;	author novel;	state Exp;
branches;
next	1.6;

1.6
date	2005.04.21.10.53.09;	author sem;	state Exp;
branches;
next	1.5;

1.5
date	2005.04.18.00.47.06;	author leeym;	state Exp;
branches;
next	1.4;

1.4
date	2005.02.10.16.30.50;	author sem;	state Exp;
branches;
next	1.3;

1.3
date	2005.01.08.15.56.12;	author sem;	state Exp;
branches;
next	1.2;

1.2
date	2004.12.20.18.16.48;	author sem;	state Exp;
branches;
next	1.1;

1.1
date	2004.12.15.17.18.15;	author sem;	state Exp;
branches;
next	;


desc
@@


1.20
log
@Switch exporter over
@
text
@# New ports collection makefile for:  shttpd
# Date created:			  Wed Dec 15, 2004
# Whom:				  Sergey Lyubka (valenok@@gmail.com)
#
# $FreeBSD: head/www/shttpd/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	shttpd
PORTVERSION=	1.42
CATEGORIES=	www
MASTER_SITES=	SF
DISTNAME=	shttpd-${PORTVERSION}

MAINTAINER=	valenok@@gmail.com
COMMENT=	Small, fast, embeddable web server with CGI, SSL, Authorization

MAN1=		shttpd.1
ALL_TARGET=	unix
MAKE_ENV=	LIBS=-lpthread
BUILD_WRKSRC=	${WRKSRC}/src

PLIST_FILES=	bin/shttpd

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/shttpd ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/src/shttpd.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>
@


1.19
log
@- Update to 1.42

PR:		130078
Submitted by:	Dennis Herrmann <adox@@mcx2.org>
Approved by:	maintainer timeout
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.18
log
@Update to 1.41

PR:		ports/124170
Submitted by:	Sergey Lyubka <valenok@@gmail.com>
Approved by:	garga (mentor, implicit)
@
text
@d9 1
a9 1
PORTVERSION=	1.41
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	shttpd
@


1.17
log
@Update to 1.38

PR:		114700
Approved by:	"Sergey Lyubka" <valenok@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.38
d20 1
d27 1
a27 1
	${INSTALL_MAN} ${WRKSRC}/src/shttpd.1 ${PREFIX}/man/man1
@


1.16
log
@- Update to 1.37.

PR:		ports/112272
Submitted by:	Patrick Powell <papowell@@astart.com>
Approved by:	stas (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.37
@


1.15
log
@Update to 1.35

PR:		ports/98361
Submitted by:	miwi
Approved by:	krion (mentor), maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.35
d19 2
a23 4
do-build:
	${CC} ${CFLAGS} -DCONFIG=\"${PREFIX}/etc/shttpd.conf\" \
		${WRKSRC}/shttpd.c -o ${WRKSRC}/shttpd

d25 2
a26 2
	${INSTALL_PROGRAM} ${WRKSRC}/shttpd ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/shttpd.1 ${PREFIX}/man/man1
@


1.14
log
@- Update to 1.33

PR:		92625
Submitted by:	Sergey Lyubka <valenok@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.33
@


1.13
log
@- Update to 1.32
- Retire etc/shttpd.conf, it appeared and not needed by default

PR:		91550
Submitted by:	Sergey Lyubka <valenok@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.32
@


1.12
log
@Update to 1.28
Add SHA256
Portlint

PR:		89496
Submitted by:	Sergey Lyubka <valenok@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.28
d20 1
a20 7
.if defined(WITHOUT_SSL)
PKGNAMESUFFIX+=	-nossl
.else
CFLAGS+=	-DWITH_SSL -lssl -lcrypto
.endif

PLIST_FILES=	bin/shttpd etc/shttpd.conf
a27 1
	${INSTALL_DATA} ${WRKSRC}/shttpd.conf ${PREFIX}/etc
@


1.11
log
@Update to 1.27

PR:		87172
Submitted by:	Sergey Lyubka <valenok@@gmail.com> (maintainer)
Approved by:	novel (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.27
d21 1
a21 1
PKGNAMESUFFIX=	-nossl
@


1.10
log
@- Update to 1.25
  (index substitution fix)

PR:		ports/82515
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.25
@


1.9
log
@- Update to 1.24
- Change COMMENT and description

PR:		ports/82220
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.24
@


1.8
log
@Update to 1.19.

PR:		81305
Submitted by:	Sergey Lyubka (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.19
d13 1
a13 3
DISTNAME=	shttpd_${PORTVERSION}.c
EXTRACT_SUFX=
EXTRACT_ONLY=	#none
d16 1
a16 1
COMMENT=	Simple embeddable web server with CGI support
a17 2
NO_WRKSUBDIR=	yes
DIST_SUBDIR=	${PORTNAME}
d26 1
a26 4
PLIST_FILES=	bin/shttpd

post-extract:
	${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}/
d29 2
a30 1
	${CC} ${CFLAGS} -o ${WRKSRC}/shttpd ${WRKSRC}/${DISTNAME}
d34 2
a35 1
	${INSTALL_MAN} ${FILESDIR}/shttpd.1 ${PREFIX}/man/man1
@


1.7
log
@Update to 1.17

PR:		80707
Submitted by:	Sergey Lyubka (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.17
@


1.6
log
@- Update to 1.15

PR:		ports/80191
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.15
@


1.5
log
@- upgrade to 1.14

PR:		80044
Submitted by:	Sergey Lyubka <valenok@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.14
@


1.4
log
@- Update to 1.9

PR:		ports/77343
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.9
@


1.3
log
@- Update to 1.5

PR:		ports/75912
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.5
@


1.2
log
@- Update to 1.3

PR:		ports/75227
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.3
d27 1
a27 1
CFLAGS+=	-DWITH_SSL -I/usr/include/openssl -lssl -lcrypto
@


1.1
log
@SHTTPD is a simple, easy to use, embeddable web server with CGI,
SSL, cookies support.

PR:		ports/75102
Submitted by:	Sergey Lyubka <valenok(at)gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	1.0
d13 1
a13 1
DISTNAME=	httpd.c
d24 6
d33 1
a33 1
	${CP} ${DISTDIR}/${DIST_SUBDIR}/httpd.c ${WRKSRC}/
d36 1
a36 1
	${CC} ${CFLAGS} -o ${WRKSRC}/shttpd ${WRKSRC}/httpd.c
@

