Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jan 2005 13:09:26 -0500 (EST)
From:      Thaddeus Covert <tcovert+ports@sahuagin.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/76287: [NEW PORT] devel/log4cxx: Log4cxx is a port to C++ of the Log4j project
Message-ID:  <20050115180926.DB36E63F1@djinni.sahuagin.net>
Resent-Message-ID: <200501151820.j0FIKVCk046815@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         76287
>Category:       ports
>Synopsis:       [NEW PORT] devel/log4cxx: Log4cxx is a port to C++ of the Log4j project
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 15 18:20:31 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Thaddeus Covert
>Release:        FreeBSD 5.3-RC1 i386
>Organization:
>Environment:
System: FreeBSD djinni.sahuagin.net 5.3-RC1 FreeBSD 5.3-RC1 #0: Sun Oct 17 01:25:37 UTC 2004
>Description:
Log4cxx is a port to C++ of the Log4j project. 
The goal is have the same functionnalities and interfaces of log4j. 

WWW:	http://logging.apache.org/log4cxx/

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- log4cxx-0.9.7.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	log4cxx
#	log4cxx/files
#	log4cxx/files/patch-ab
#	log4cxx/files/patch-aa
#	log4cxx/distinfo
#	log4cxx/pkg-descr
#	log4cxx/pkg-plist
#	log4cxx/Makefile
#
echo c - log4cxx
mkdir -p log4cxx > /dev/null 2>&1
echo c - log4cxx/files
mkdir -p log4cxx/files > /dev/null 2>&1
echo x - log4cxx/files/patch-ab
sed 's/^X//' >log4cxx/files/patch-ab << 'END-of-log4cxx/files/patch-ab'
X--- docs/Makefile.am.orig	Thu Jan 13 22:28:59 2005
X+++ docs/Makefile.am	Thu Jan 13 22:29:35 2005
X@@ -10,7 +10,7 @@
X 
X install-data-hook:
X 	$(mkinstalldirs) $(DESTDIR)$(htmldir)
X-	cp -dpR html/* $(DESTDIR)$(htmldir)
X+	cp -PpR html/* $(DESTDIR)$(htmldir)
X 
X # Automake's "distcheck" is sensitive to having files left over
X # after "make uninstall", so we have to clean up the install hook.
END-of-log4cxx/files/patch-ab
echo x - log4cxx/files/patch-aa
sed 's/^X//' >log4cxx/files/patch-aa << 'END-of-log4cxx/files/patch-aa'
X--- include/log4cxx/helpers/tchar.h.orig	Wed Jan 12 17:56:51 2005
X+++ include/log4cxx/helpers/tchar.h	Wed Jan 12 17:57:04 2005
X@@ -83,6 +83,9 @@
X 	#include <malloc.h>
X 	#define USES_CONVERSION void * _dst = _alloca(1024);
X #endif
X+#elif defined( __FreeBSD__ )
X+	#include <stdlib.h>
X+	#define USES_CONVERSION void * _dst = alloca(1024);
X #else
X 	#include <alloca.h>
X 	#define USES_CONVERSION void * _dst = alloca(1024);
END-of-log4cxx/files/patch-aa
echo x - log4cxx/distinfo
sed 's/^X//' >log4cxx/distinfo << 'END-of-log4cxx/distinfo'
XMD5 (log4cxx-0.9.7.tar.gz) = fd09abc90b8c0c8af1d5146a75590792
XSIZE (log4cxx-0.9.7.tar.gz) = 256449 
END-of-log4cxx/distinfo
echo x - log4cxx/pkg-descr
sed 's/^X//' >log4cxx/pkg-descr << 'END-of-log4cxx/pkg-descr'
XLog4cxx is a port to C++ of the Log4j project. 
XThe goal is have the same functionnalities and interfaces of log4j. 
X
XWWW:	http://logging.apache.org/log4cxx/
END-of-log4cxx/pkg-descr
echo x - log4cxx/pkg-plist
sed 's/^X//' >log4cxx/pkg-plist << 'END-of-log4cxx/pkg-plist'
Xbin/simplesocketserver
Xinclude/log4cxx/appender.h
Xinclude/log4cxx/appenderskeleton.h
Xinclude/log4cxx/asyncappender.h
Xinclude/log4cxx/basicconfigurator.h
Xinclude/log4cxx/config.h
Xinclude/log4cxx/config/propertysetter.h
Xinclude/log4cxx/config_auto.h
Xinclude/log4cxx/config_msvc.h
Xinclude/log4cxx/consoleappender.h
Xinclude/log4cxx/dailyrollingfileappender.h
Xinclude/log4cxx/db/odbcappender.h
Xinclude/log4cxx/defaultcategoryfactory.h
Xinclude/log4cxx/fileappender.h
Xinclude/log4cxx/helpers/absolutetimedateformat.h
Xinclude/log4cxx/helpers/appenderattachableimpl.h
Xinclude/log4cxx/helpers/boundedfifo.h
Xinclude/log4cxx/helpers/class.h
Xinclude/log4cxx/helpers/condition.h
Xinclude/log4cxx/helpers/criticalsection.h
Xinclude/log4cxx/helpers/cyclicbuffer.h
Xinclude/log4cxx/helpers/datagrampacket.h
Xinclude/log4cxx/helpers/datagramsocket.h
Xinclude/log4cxx/helpers/dateformat.h
Xinclude/log4cxx/helpers/datelayout.h
Xinclude/log4cxx/helpers/datetimedateformat.h
Xinclude/log4cxx/helpers/event.h
Xinclude/log4cxx/helpers/exception.h
Xinclude/log4cxx/helpers/filewatchdog.h
Xinclude/log4cxx/helpers/formattinginfo.h
Xinclude/log4cxx/helpers/gnomexml.h
Xinclude/log4cxx/helpers/inetaddress.h
Xinclude/log4cxx/helpers/intializationutil.h
Xinclude/log4cxx/helpers/iso8601dateformat.h
Xinclude/log4cxx/helpers/loader.h
Xinclude/log4cxx/helpers/locale.h
Xinclude/log4cxx/helpers/loglog.h
Xinclude/log4cxx/helpers/msxml.h
Xinclude/log4cxx/helpers/mutex.h
Xinclude/log4cxx/helpers/object.h
Xinclude/log4cxx/helpers/objectimpl.h
Xinclude/log4cxx/helpers/objectptr.h
Xinclude/log4cxx/helpers/onlyonceerrorhandler.h
Xinclude/log4cxx/helpers/optionconverter.h
Xinclude/log4cxx/helpers/patternconverter.h
Xinclude/log4cxx/helpers/patternparser.h
Xinclude/log4cxx/helpers/properties.h
Xinclude/log4cxx/helpers/propertyresourcebundle.h
Xinclude/log4cxx/helpers/relativetimedateformat.h
Xinclude/log4cxx/helpers/resourcebundle.h
Xinclude/log4cxx/helpers/semaphore.h
Xinclude/log4cxx/helpers/serversocket.h
Xinclude/log4cxx/helpers/socket.h
Xinclude/log4cxx/helpers/socketimpl.h
Xinclude/log4cxx/helpers/socketinputstream.h
Xinclude/log4cxx/helpers/socketoutputstream.h
Xinclude/log4cxx/helpers/strictmath.h
Xinclude/log4cxx/helpers/stringhelper.h
Xinclude/log4cxx/helpers/stringtokenizer.h
Xinclude/log4cxx/helpers/syslogwriter.h
Xinclude/log4cxx/helpers/system.h
Xinclude/log4cxx/helpers/tchar.h
Xinclude/log4cxx/helpers/thread.h
Xinclude/log4cxx/helpers/threadspecificdata.h
Xinclude/log4cxx/helpers/timezone.h
Xinclude/log4cxx/helpers/transform.h
Xinclude/log4cxx/helpers/xml.h
Xinclude/log4cxx/hierarchy.h
Xinclude/log4cxx/htmllayout.h
Xinclude/log4cxx/layout.h
Xinclude/log4cxx/level.h
Xinclude/log4cxx/logger.h
Xinclude/log4cxx/logmanager.h
Xinclude/log4cxx/mdc.h
Xinclude/log4cxx/ndc.h
Xinclude/log4cxx/net/smtpappender.h
Xinclude/log4cxx/net/socketappender.h
Xinclude/log4cxx/net/sockethubappender.h
Xinclude/log4cxx/net/socketnode.h
Xinclude/log4cxx/net/syslogappender.h
Xinclude/log4cxx/net/telnetappender.h
Xinclude/log4cxx/net/xmlsocketappender.h
Xinclude/log4cxx/nt/nteventlogappender.h
Xinclude/log4cxx/patternlayout.h
Xinclude/log4cxx/propertyconfigurator.h
Xinclude/log4cxx/provisionnode.h
Xinclude/log4cxx/rollingfileappender.h
Xinclude/log4cxx/simplelayout.h
Xinclude/log4cxx/spi/appenderattachable.h
Xinclude/log4cxx/spi/configurator.h
Xinclude/log4cxx/spi/defaultrepositoryselector.h
Xinclude/log4cxx/spi/errorhandler.h
Xinclude/log4cxx/spi/filter.h
Xinclude/log4cxx/spi/hierarchyeventlistener.h
Xinclude/log4cxx/spi/loggerfactory.h
Xinclude/log4cxx/spi/loggerrepository.h
Xinclude/log4cxx/spi/loggingevent.h
Xinclude/log4cxx/spi/optionhandler.h
Xinclude/log4cxx/spi/repositoryselector.h
Xinclude/log4cxx/spi/rootcategory.h
Xinclude/log4cxx/spi/triggeringeventevaluator.h
Xinclude/log4cxx/ttcclayout.h
Xinclude/log4cxx/varia/denyallfilter.h
Xinclude/log4cxx/varia/fallbackerrorhandler.h
Xinclude/log4cxx/varia/levelmatchfilter.h
Xinclude/log4cxx/varia/levelrangefilter.h
Xinclude/log4cxx/varia/stringmatchfilter.h
Xinclude/log4cxx/writerappender.h
Xinclude/log4cxx/xml/domconfigurator.h
Xinclude/log4cxx/xml/xmllayout.h
Xlib/liblog4cxx.a
Xlib/liblog4cxx.la
Xlib/liblog4cxx.so
Xlib/liblog4cxx.so.9
Xshare/nls/POSIX
Xshare/nls/en_US.US-ASCII
X@dirrm include/log4cxx/xml
X@dirrm include/log4cxx/varia
X@dirrm include/log4cxx/spi
X@dirrm include/log4cxx/nt
X@dirrm include/log4cxx/net
X@dirrm include/log4cxx/helpers
X@dirrm include/log4cxx/db
X@dirrm include/log4cxx/config
X@dirrm include/log4cxx
END-of-log4cxx/pkg-plist
echo x - log4cxx/Makefile
sed 's/^X//' >log4cxx/Makefile << 'END-of-log4cxx/Makefile'
X# New ports collection makefile for:	log4cxx
X# Date created:		2005-01-12
X# Whom:			Thaddeus Covert <tcovert@grimmy.sahuagin.net>
X#
X# $FreeBSD$
X
XPORTNAME=	log4cxx
XPORTVERSION=	0.9.7
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_APACHE}
XMASTER_SITE_SUBDIR=	logging/${PORTNAME}
X
XMAINTAINER=	tcovert@sahuagin.net
XCOMMENT=	Log4cxx is a port to C++ of the Log4j project
X
X.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOXYGEN)
XBUILD_DEPENDS+=	${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
X.else
XCONFIGURE_ARGS+=	--disable-doxygen
X.endif
X
X.if exists(${LOCALBASE}/lib/libboost_regex.so)
XWITH_BOOST=yes
X.endif
X
X.if defined(WITH_BOOST)
XBUILD_DEPENDS+=	${LOCALBASE}/include/boost/regex.hpp:${PORTSDIR}/devel/boost
XCXXFLAGS+=-I${LOCALBASE}/include -L${LOCALBASE}/lib
X.endif
X
XUSE_AUTOMAKE_VER=	15
XUSE_AUTOCONF_VER=	253
XAUTOMAKE_ARGS=		--add-missing
XUSE_LIBTOOL_VER=	13
XLIBTOOL_VARS=		--force --automake
X
XCPPFLAGS+=	-I${LOCALBASE}/include
XLDFLAGS+=	-I${LOCALBASE}/lib
X
XGNU_CONFIGURE=	yes
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ARGS+=	 CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}"
XINSTALLS_SHLIB=yes
XUSE_REINPLACE=yes
X
X.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOXYGEN)
XPORTDOCS=	*
X.endif
X
X.include <bsd.port.pre.mk>
Xpre-configure:
X	@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL})
X
Xpost-patch:
X	@${REINPLACE_CMD} "s#\$$(DESTDIR)\$$(htmldir)#${DOCSDIR}/html#" ${WRKSRC}/docs/Makefile.am
X
Xpre-install:
X.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOXYGEN)
X	${MKDIR} ${DOCSDIR}
X	for f in ${TXT_DOCS}; do \
X	  ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
X	done
X.endif
X
X.include <bsd.port.post.mk>
END-of-log4cxx/Makefile
exit
--- log4cxx-0.9.7.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050115180926.DB36E63F1>