Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 00:35:31 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340767 - head/devel/log4cplus
Message-ID:  <201401230035.s0N0ZVsT046662@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jan 23 00:35:31 2014
New Revision: 340767
URL: http://svnweb.freebsd.org/changeset/ports/340767
QAT: https://qat.redports.org/buildarchive/r340767/

Log:
  Support stage

Modified:
  head/devel/log4cplus/Makefile

Modified: head/devel/log4cplus/Makefile
==============================================================================
--- head/devel/log4cplus/Makefile	Thu Jan 23 00:32:52 2014	(r340766)
+++ head/devel/log4cplus/Makefile	Thu Jan 23 00:35:31 2014	(r340767)
@@ -8,7 +8,9 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 DISTFILES=	log4cplus-${PORTVERSION}.tar.bz2
 
 MAINTAINER=	reed@reedmedia.net
-COMMENT=	A logging library for C++
+COMMENT=	logging library for C++
+
+OPTIONS_DEFINE=	DOCS
 
 USE_GCC=	any
 USE_AUTOTOOLS=	libtool
@@ -17,18 +19,13 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--enable-threads=yes
 MAKE_JOBS_UNSAFE=	yes
 
-.if !defined(NOPORTDOCS)
 PORTDOCS=	*
-.endif
 
-NO_STAGE=	yes
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/include/log4cplus
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/docs/*.config ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/docs/*.html ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/docs/doxygen.css ${DOCSDIR}
-.endif
+	${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}
 
 .include <bsd.port.mk>



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