1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

- Replace manual pre-configure magic by USES=pathfix [1]

- No need for empty OPTIONS_DEFAULT
- Honor portlint, replace tabs in header and WWW line by spaces

Tested with:	Tinderbox and manual inspection of .a and .so file [1]
This commit is contained in:
Rene Ladan 2013-03-20 23:32:00 +00:00
parent 64ad313d20
commit 3fddaf1aa0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314777
2 changed files with 3 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# Created by: Thaddeus Covert <tcovert@grimmy.sahuagin.net>
# Created by: Thaddeus Covert <tcovert@grimmy.sahuagin.net>
# $FreeBSD$
PORTNAME= log4cxx
@ -17,7 +17,6 @@ LICENSE= AL2
LIB_DEPENDS= apr-1:${PORTSDIR}/devel/apr1
OPTIONS_DEFINE= BOOST DOCS DOXYGEN
OPTIONS_DEFAULT=
.include <bsd.port.options.mk>
@ -42,11 +41,7 @@ USE_LDCONFIG= yes
PORTDOCS= *
.endif
pre-configure:
@${REINPLACE_CMD} -e '/^_LT_AC_SHELL_INIT/d' ${WRKSRC}/aclocal.m4
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.am
@(cd ${WRKSRC} && ./autogen.sh)
@${REINPLACE_CMD} -e 's|GREP "\\-L"|GREP "conftest\\.$$objext"|g' ${WRKSRC}/configure
USES= pathfix
post-install:
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN}

View File

@ -1,4 +1,4 @@
Log4cxx is a C++ port of the Log4j project.
The goal is to have the same functionality and interfaces as log4j.
WWW: http://logging.apache.org/log4cxx/
WWW: http://logging.apache.org/log4cxx/