head	1.10;
access;
symbols
	RELEASE_8_3_0:1.6
	RELEASE_9_0_0:1.6;
locks; strict;
comment	@# @;


1.10
date	2013.02.07.14.08.11;	author svnexp;	state Exp;
branches;
next	1.9;

1.9
date	2013.02.05.16.54.26;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2012.11.17.06.03.07;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2012.04.27.17.46.04;	author nox;	state Exp;
branches;
next	1.6;

1.6
date	2011.09.23.22.26.06;	author amdmi3;	state Exp;
branches;
next	1.5;

1.5
date	2011.06.25.18.34.33;	author nox;	state Exp;
branches;
next	1.4;

1.4
date	2011.06.22.22.57.16;	author nox;	state Exp;
branches;
next	1.3;

1.3
date	2011.06.05.18.43.15;	author novel;	state Exp;
branches;
next	1.2;

1.2
date	2011.04.01.19.10.59;	author nox;	state Exp;
branches;
next	1.1;

1.1
date	2011.03.26.19.12.10;	author nox;	state Exp;
branches;
next	;


desc
@@


1.10
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311829
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	tntnet
# Date created:		Wed Apr 14 18:11:42 CEST 2010
# Whom:			Juergen Lock <nox@@freebsd.org>
#
# $FreeBSD: head/www/tntnet/Makefile 311829 2013-02-07 12:37:48Z gahr $
#

PORTNAME=	tntnet
PORTVERSION=	2.1
PORTREVISION=	1
CATEGORIES=	www devel
MASTER_SITES=	http://www.tntnet.org/download/

MAINTAINER=	nox@@FreeBSD.org
COMMENT=	Webapplicationserver for C++

LIB_DEPENDS=	cxxtools:${PORTSDIR}/devel/cxxtools
BUILD_DEPENDS+=	zip:${PORTSDIR}/archivers/zip

USE_ICONV=	yes
USE_CSTD=	gnu89
PATCH_STRIP=	-p1
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -pthread
CONFIGURE_ARGS+=	--localstatedir=/var

.if defined(WITH_GNUTLS)
LDFLAGS+=	-lgnutls
CONFIGURE_ARGS+=	--with-ssl=gnutls
LIB_DEPENDS+=	gnutls:${PORTSDIR}/security/gnutls
.else
CONFIGURE_ARGS+=	--with-ssl=openssl
.endif

MAKE_JOBS_SAFE=	yes
MAN1=		ecppc.1 ecppl.1 ecppll.1 tntnet-config.1
MAN7=		ecpp.7 tntnet.conf.7 tntnet.properties.7
MAN8=		tntnet.8

USERS=		www
GROUPS=		www

post-configure:
	${REINPLACE_CMD} 's/^\(#define[[:space:]]*HAVE_SENDFILE[[:space:]]*\).*/\1\0/' ${WRKSRC}/framework/common/config.h

post-install:
	@@if [ ! -f ${ETCDIR}/tntnet.conf ]; then \
	    ${CP} -p ${ETCDIR}/tntnet.conf.sample ${ETCDIR}/tntnet.conf ; \
	fi
	@@if [ ! -f ${ETCDIR}/mime.conf ]; then \
	    ${CP} -p ${ETCDIR}/mime.conf.sample ${ETCDIR}/mime.conf ; \
	fi
	@@if [ ! -f ${ETCDIR}/tntnet.properties ]; then \
	    ${CP} -p ${ETCDIR}/tntnet.properties.sample ${ETCDIR}/tntnet.properties ; \
	fi

.include <bsd.port.mk>
@


1.9
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311722
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d5 1
a5 1
# $FreeBSD: head/www/tntnet/Makefile 311722 2013-02-05 16:17:06Z novel $
d24 2
a25 1
CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
d29 1
a29 1
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lgnutls
a32 1
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
@


1.8
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/www/tntnet/Makefile 300897 2012-07-14 14:29:18Z beat $
d10 1
@


1.7
log
@- Update devel/cxxtools and www/tntnet to 2.1 .
- Bump PORTREVISION for www/vdr-plugin-live that depends on tntnet.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d9 1
a9 2
PORTVERSION=	2.0
PORTREVISION=	2
@


1.5
log
@- Actually fix cxxtools build with clang, the previous update only
  silenced the warning with clang 2.9 but still generated broken code.
- Bump PORTREVISION for devel/cxxtools and also for www/tntnet that
  depends on cxxtools.
@
text
@d24 1
a24 1
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
d28 1
a28 1
CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lgnutls"
d32 1
a32 1
CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
@


1.4
log
@Fix build with clang.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.3
log
@Chase security/gnutls update and add an UPDATING entry.
@
text
@d21 1
@


1.2
log
@Update to 2.0 .
@
text
@d10 1
@


1.1
log
@Tntnet is a modular, multithreaded, high performance webapplicationserver
for C++. To create webapplications Tntnet has a template-language called
ecpp similar to php, jsp or mason, where you can embed c++-code inside a
html-page to generate active content. The ecpp-files are precompiled to
c++-classes called components and compiled and linked into a shared
library. This process is done at compiletime.

WWW: http://www.tntnet.org/index.html
@
text
@d9 1
a9 1
PORTVERSION=	1.6.3
@

