aboutsummaryrefslogtreecommitdiffstats
path: root/devel/log4c/Makefile
blob: d2dc1f3e324d3fdd5fbd0bcda9bdf0282dec0c1e (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   log4c
PORTVERSION=    1.2.2
CATEGORIES= devel
MASTER_SITES=   SF

MAINTAINER= rodrigo@bebik.net
COMMENT=    Logging for C Library

LICENSE=    LGPL21

OPTIONS_DEFINE= EXPAT
OPTIONS_DEFAULT=EXPAT

USE_GNOME=  gnomehack
USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes
MAKE_JOBS_SAFE= yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MEXPAT}
LIB_DEPENDS+=   expat:${PORTSDIR}/textproc/expat2
.else
CONFIGURE_ARGS+=--without-expat
.endif

.include <bsd.port.mk>