freebsd-ports/devel/log4c/Makefile
Jason E. Hale e4594a283c - Update to 1.2.2
- Add LICENSE (LGPL21)
- Trim Makefile header

PR:		ports/172500
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
Approved by:	makc, avilla (mentors, implicit)
Feature safe:	yes
2012-10-18 10:21:56 +00:00

33 lines
552 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= log4c
PORTVERSION= 1.2.2
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
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>