svn commit: r363622 - head/lang/libstdc++_stldoc_4.2.2
Adam Weinberger
adamw at adamw.org
Thu Jul 31 15:27:53 UTC 2014
On 31 Jul, 2014, at 11:24, Adam Weinberger <adamw at FreeBSD.org> wrote:
> Author: adamw
> Date: Thu Jul 31 15:24:56 2014
> New Revision: 363622
> URL: http://svnweb.freebsd.org/changeset/ports/363622
> QAT: https://qat.redports.org/buildarchive/r363622/
>
> Log:
> Stage and unbreak.
>
> I'm still not sure why a documentation-only port was checking NOPORTDOCS, but
> sure, let's keep the party going with a DOCS option.
Is this port even still relevant? The logs show that it was broken with a missing backslash over 5 years ago. If nobody cared until now should we just remove the port?
# Adam
--
Adam Weinberger
adamw at adamw.org
http://www.adamw.org
>
> Modified:
> head/lang/libstdc++_stldoc_4.2.2/Makefile
>
> Modified: head/lang/libstdc++_stldoc_4.2.2/Makefile
> ==============================================================================
> --- head/lang/libstdc++_stldoc_4.2.2/Makefile Thu Jul 31 15:24:44 2014 (r363621)
> +++ head/lang/libstdc++_stldoc_4.2.2/Makefile Thu Jul 31 15:24:56 2014 (r363622)
> @@ -6,14 +6,13 @@ PORTVERSION= 20071101
> PORTREVISION= 1
> CATEGORIES= lang devel
> MASTER_SITES= ${MASTER_SITE_GCC}
> -MASTER_SITE_SUBDIR= \
> - libstdc++/doxygen
> +MASTER_SITE_SUBDIR= libstdc++/doxygen
> DISTNAME= libstdc++-html-USERS-4.2.2
>
> MAINTAINER= ports at FreeBSD.org
> COMMENT= GNU libstdc++ API documentation
>
> -USES= tar:bzip2
> +USES= tar:bzip2
>
> NO_BUILD= yes
> NO_WRKSUBDIR= yes
> @@ -24,16 +23,16 @@ NO_WRKSUBDIR= yes
>
> PORTDOCS= stldoc
>
> -NO_STAGE= yes
> +OPTIONS_DEFINE= DOCS
> +
> +.include <bsd.port.options.mk>
> +
> do-install:
> -.if !defined(NOPORTDOCS)
> - @${MKDIR} ${DOCSDIR} ${DOCSDIR}/stldoc
> - cd ${WRKSRC}/html_user-4.2.20071101 && \
> - ${FIND} . -type f | \
> - ${XARGS} -J % ${INSTALL_DATA} % ${DOCSDIR}/stldoc &&
> - ${CHMOD} 755 ${DOCSDIR} ${DOCSDIR}/stldoc
> +.if ${PORT_OPTIONS:MDOCS}
> + @${MKDIR} ${STAGEDIR}${DOCSDIR}/stldoc
> + (cd ${WRKSRC}/html_user-4.2.20071101 && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/stldoc)
> .else
> - @${ECHO} "NOPORTDOCS is set -- installing nothing."
> + @${ECHO} "Enable the DOCS option to install documentation -- installing nothing."
> .endif
>
> .include <bsd.port.mk>
>
More information about the svn-ports-head
mailing list