# New ports collection makefile for:	libstdc++_stldoc
# Date created:		18th January 2008
# Whom:			Bruce M. Simpson
#
# $FreeBSD: ports/lang/libstdc++_stldoc_3.4.0/Makefile,v 1.3 2009/04/21 08:13:00 bms Exp $
#
# Note: Specific versions of this documentation exist for each version
# of the libstdc++ library, note versioning convention below.
#

PORTNAME=	libstdc++_stldoc_3.4.0
PORTVERSION=	20040609
PORTREVISION=	1
CATEGORIES=	lang devel
MASTER_SITES=	${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= \
		libstdc++/doxygen
DISTNAME=	libstdc++-html-USERS-3.4.0

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GNU libstdc++ API documentation

USE_BZIP2=	yes

NO_BUILD=	yes
NO_WRKSUBDIR=	yes

PORTDOCS=	*

do-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR} && \
	    cd ${WRKSRC}/html_user && ${COPYTREE_SHARE} \* ${DOCSDIR} && \
	    ${CHMOD} 755 ${DOCSDIR}
.else
	@${ECHO} "NOPORTDOCS is set -- installing nothing."
.endif

.include <bsd.port.mk>
