1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00

- Add LICENSE_FILE

- Strip library
- Switch to options helpers
- Fix WWW
- Don't install license with includes

PR:		219841
Approved by:	maintainer timeout (reed@reedmedia.net, 4 weeks)
This commit is contained in:
Dmitry Marakasov 2017-07-03 12:24:45 +00:00
parent cf94223895
commit 6de739ddeb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444944
3 changed files with 9 additions and 9 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= log4cplus
PORTVERSION= 1.1.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
@ -11,6 +11,7 @@ MAINTAINER= reed@reedmedia.net
COMMENT= Logging library for C++
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= DOCS
@ -18,15 +19,15 @@ USES= libtool pathfix tar:xz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-threads=yes
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes
PORTDOCS= *
post-install:
${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${PREFIX}/include/log4cplus
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/docs/*.config ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/docs/doxygen.css ${STAGEDIR}${DOCSDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.config ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/doxygen.css ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -2,4 +2,4 @@ This is a port of log4cplus, a simple-to-use C++ logging API providing
thread-safe, flexible, and arbitrarily granular control over log management
and configuration. It is modeled after the Java log4j API.
WWW: http://log4cplus.sourceforge.net
WWW: http://log4cplus.sourceforge.net/

View File

@ -1,4 +1,3 @@
include/log4cplus/LICENSE
include/log4cplus/appender.h
include/log4cplus/asyncappender.h
include/log4cplus/boost/deviceappender.hxx