1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-01-23 00:35:31 +00:00
parent d5b80be1d3
commit 45c14a549d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340767

View File

@ -8,7 +8,9 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
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>