aboutsummaryrefslogtreecommitdiff
path: root/devel/log4c
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2012-10-18 10:21:56 +0000
committerJason E. Hale <jhale@FreeBSD.org>2012-10-18 10:21:56 +0000
commite4594a283c42676a2b58a44c9342a9dd0bfb166b (patch)
treed046daf585d2e5cd7508aa4dafecfe3a956ba6e0 /devel/log4c
parenta23b76d067eac39d5f845e994aca3f541c16608b (diff)
downloadports-e4594a283c42676a2b58a44c9342a9dd0bfb166b.tar.gz
ports-e4594a283c42676a2b58a44c9342a9dd0bfb166b.zip
Notes
Diffstat (limited to 'devel/log4c')
-rw-r--r--devel/log4c/Makefile26
-rw-r--r--devel/log4c/distinfo4
2 files changed, 21 insertions, 9 deletions
diff --git a/devel/log4c/Makefile b/devel/log4c/Makefile
index 0ef2a4ee0235..58d77d914aef 100644
--- a/devel/log4c/Makefile
+++ b/devel/log4c/Makefile
@@ -1,21 +1,33 @@
-# ex:ts=8
-# Ports collection makefile for: log4c
-# Date created: Jul 4, 2002
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= log4c
-PORTVERSION= 1.2.1
+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>
diff --git a/devel/log4c/distinfo b/devel/log4c/distinfo
index 6181b5cf2d5a..22927ada8966 100644
--- a/devel/log4c/distinfo
+++ b/devel/log4c/distinfo
@@ -1,2 +1,2 @@
-SHA256 (log4c-1.2.1.tar.gz) = 6ed40a41307c26d052667e1661437394ab00e29cd24ff2640b502ba8ab1e442b
-SIZE (log4c-1.2.1.tar.gz) = 508139
+SHA256 (log4c-1.2.2.tar.gz) = 175509c8e2200c466070f2ae974303e08c2b39581fbeeaee24009f1f89c55308
+SIZE (log4c-1.2.2.tar.gz) = 539391