From 6de739ddebbd058f65b5c32713a041b77889031e Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 3 Jul 2017 12:24:45 +0000 Subject: [PATCH] - 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) --- devel/log4cplus/Makefile | 15 ++++++++------- devel/log4cplus/pkg-descr | 2 +- devel/log4cplus/pkg-plist | 1 - 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/devel/log4cplus/Makefile b/devel/log4cplus/Makefile index 500cece11741..948dc881a635 100644 --- a/devel/log4cplus/Makefile +++ b/devel/log4cplus/Makefile @@ -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 diff --git a/devel/log4cplus/pkg-descr b/devel/log4cplus/pkg-descr index f57f139fa18c..f16834cc03f3 100644 --- a/devel/log4cplus/pkg-descr +++ b/devel/log4cplus/pkg-descr @@ -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/ diff --git a/devel/log4cplus/pkg-plist b/devel/log4cplus/pkg-plist index 298c51071651..14f78d6d4fec 100644 --- a/devel/log4cplus/pkg-plist +++ b/devel/log4cplus/pkg-plist @@ -1,4 +1,3 @@ -include/log4cplus/LICENSE include/log4cplus/appender.h include/log4cplus/asyncappender.h include/log4cplus/boost/deviceappender.hxx