aboutsummaryrefslogtreecommitdiffstats
path: root/net/libevnet/Makefile
blob: 128df4e1d1bb2fed340a18c6850f9e096985adef (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
# ex:ts=8
# Ports collection makefile for:    libevnet
# Date created:         Apr 22, 2007
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   libevnet
PORTVERSION=    0.3.11
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   http://www.25thandclement.com/~william/projects/releases/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Network Daemon Services for libevent

BUILD_DEPENDS=  ${LOCALBASE}/lib/libarena.a:${PORTSDIR}/devel/libarena
LIB_DEPENDS=    event-1.4:${PORTSDIR}/devel/libevent \
        cares.2:${PORTSDIR}/dns/c-ares
RUN_DEPENDS=    ${BUILD_DEPENDS}

DEPRECATED=     no longer necessary now that libevent2 has been released
EXPIRATION_DATE=    2011-06-24

USE_OPENSSL=    yes
USE_GMAKE=  yes

CPPFLAGS=   -I${LOCALBASE}/include \
        -DUSE_OPENSSL -DUSE_CARES -DUSE_IPV6 -DUSE_PTHREADS \
        -DHAVE_STRLCPY -DHAVE_STRLCAT -D_REENTRANT

MAKE_ENV+=  CPPFLAGS="${CPPFLAGS}"

.include <bsd.port.mk>