Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2016 00:44:50 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r407072 - head/devel/log4cxx
Message-ID:  <201601240044.u0O0ioab022746@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Jan 24 00:44:50 2016
New Revision: 407072
URL: https://svnweb.freebsd.org/changeset/ports/407072

Log:
  - Add LICENSE_FILE
  - Switch to options helpers

Modified:
  head/devel/log4cxx/Makefile

Modified: head/devel/log4cxx/Makefile
==============================================================================
--- head/devel/log4cxx/Makefile	Sun Jan 24 00:21:32 2016	(r407071)
+++ head/devel/log4cxx/Makefile	Sun Jan 24 00:44:50 2016	(r407072)
@@ -12,6 +12,7 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C++ port of the Log4j project
 
 LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libapr-1.so:${PORTSDIR}/devel/apr1
 
@@ -29,17 +30,13 @@ BOOST_BUILD_DEPENDS=	${LOCALBASE}/includ
 DOXYGEN_CONFIGURE_OFF=	--disable-doxygen
 DOXYGEN_BUILD_DEPENDS=	${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
 
-.include <bsd.port.options.mk>
-
 post-configure:
 	@${REINPLACE_CMD} -e 's|-dpR|-pr|' \
 		-e '/^htmldest/ s|$$(pkgdatadir)|${DOCSDIR}|' \
 		${WRKSRC}/src/site/doxy/Makefile
 
-post-install:
-.if ${PORT_OPTIONS:MDOXYGEN}
+post-install-DOXYGEN-on:
 	@cd ${STAGEDIR}${PREFIX} && \
-	${FIND} ${DOCSDIR:S|${PREFIX}/||} ! -type d >> ${TMPPLIST}
-.endif
+		${FIND} ${DOCSDIR:S|${PREFIX}/||} ! -type d >> ${TMPPLIST}
 
 .include <bsd.port.mk>



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