blob: ad8a13a07a5f5c61b3c600111d5ba35fbc0a13aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$
PORTNAME= tntnet
PORTVERSION= 2.2.1
PORTREVISION= 3
CATEGORIES= www devel
MASTER_SITES= http://www.tntnet.org/download/
MAINTAINER= nox@FreeBSD.org
COMMENT= Webapplicationserver for C++
LIB_DEPENDS= libcxxtools.so:${PORTSDIR}/devel/cxxtools
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
USES= iconv libtool pathfix pkgconfig
USE_CSTD= gnu89
PATCH_STRIP= -p1
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --localstatedir=/var
.if defined(WITH_GNUTLS)
CONFIGURE_ARGS+= --with-ssl=gnutls
LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls
.else
CONFIGURE_ARGS+= --with-ssl=openssl
USE_OPENSSL= yes
.endif
USERS= www
GROUPS= www
post-configure:
${REINPLACE_CMD} 's/^\(#define[[:space:]]*HAVE_SENDFILE[[:space:]]*\).*/\1\0/' ${WRKSRC}/framework/common/config.h
.include <bsd.port.mk>
|