head	1.3;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2010.12.24.00.45.59;	author wen;	state Exp;
branches;
next	1.2;

1.2
date	2003.11.02.23.19.54;	author se;	state Exp;
branches;
next	1.1;

1.1
date	2002.07.30.12.39.01;	author se;	state Exp;
branches;
next	;


desc
@@


1.3
log
@- Allow to build without ssl

PR:		ports/153405
Submitted by:	Anton Yuzhaninov <citrin@@citrin.ru>
@
text
@--- Makefile.orig	2002-11-01 23:02:57.000000000 +0000
+++ Makefile	2010-12-23 14:02:54.000000000 +0000
@@@@ -14,17 +14,20 @@@@
 # http://www.openssl.org/  Make sure the SSL_TREE definition points to the
 # tree with your OpenSSL installation - depending on how you installed it,
 # it may be in /usr/local instead of /usr/local/ssl.
+.ifdef USE_OPENSSL
 #SSL_TREE =	/usr/local/ssl
-#SSL_DEFS =	-DUSE_SSL
+SSL_DEFS =	-DUSE_SSL
 #SSL_INC =	-I${SSL_TREE}/include
 #SSL_LIBS =	-L${SSL_TREE}/lib -lssl -lcrypto
+SSL_LIBS =	-lssl -lcrypto
+.endif
 
 
 BINDIR =	/usr/local/sbin
 MANDIR =	/usr/local/man
-CC =		gcc
+#CC =		gcc
 CDEFS =		${SSL_DEFS} ${SSL_INC}
-CFLAGS =	-O ${CDEFS}
+CFLAGS +=	${CDEFS}
 #CFLAGS =	-g ${CDEFS}
 LDFLAGS =	-s
 #LDFLAGS =	-g
@@@@ -76,9 +79,7 @@@@
 	-mkdir -p ${BINDIR}
 	cp mini_httpd htpasswd ${BINDIR}
 	rm -f ${MANDIR}/man8/mini_httpd.8 ${MANDIR}/man1/htpasswd.1
-	-mkdir -p ${MANDIR}/man8
 	cp mini_httpd.8 ${MANDIR}/man8
-	-mkdir -p ${MANDIR}/man1
 	cp htpasswd.1 ${MANDIR}/man1
 
 clean:
@


1.2
log
@Upgrade to version 1.18.

Submitted by:	Massimiliano della Rovere <mader@@tiscalinet.it>
@
text
@d1 3
a3 3
--- Makefile.orig	Thu Oct 30 22:53:07 2003
+++ Makefile	Thu Oct 30 23:03:24 2003
@@@@ -14,17 +14,18 @@@@
d7 1
a7 1
+.ifndef NO_OPENSSL
d12 1
a12 2
-#SSL_LIBS =	-L${SSL_TREE}/lib -lssl -lcrypto
-
d16 1
d27 1
a27 1
@@@@ -76,9 +77,7 @@@@
@


1.1
log
@Small HTTP server with support for GET, HEAD, POST, CGI, SSL, IPv6.
@
text
@d1 2
a2 2
--- Makefile.orig	Thu Jan  3 00:07:27 2002
+++ Makefile	Tue Jul 30 13:38:04 2002
d27 10
@

