diff options
author | bms <bms@FreeBSD.org> | 2009-04-21 16:12:37 +0800 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2009-04-21 16:12:37 +0800 |
commit | 0efcc20e60dced3f10d87f1fa053c934cfb8f162 (patch) | |
tree | 19e06098cee3d68389f3036c9177dc3635b2d9a2 /lang | |
parent | a411145e1b06f67dd62101f9a201b699f00329e7 (diff) | |
download | freebsd-ports-gnome-0efcc20e60dced3f10d87f1fa053c934cfb8f162.tar.gz freebsd-ports-gnome-0efcc20e60dced3f10d87f1fa053c934cfb8f162.tar.zst freebsd-ports-gnome-0efcc20e60dced3f10d87f1fa053c934cfb8f162.zip |
Fix for NOPORTDOCS from QA tindy.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/libstdc++_stldoc_3.4.0/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lang/libstdc++_stldoc_3.4.0/Makefile b/lang/libstdc++_stldoc_3.4.0/Makefile index 954958bd0999..a55fd6830df7 100644 --- a/lang/libstdc++_stldoc_3.4.0/Makefile +++ b/lang/libstdc++_stldoc_3.4.0/Makefile @@ -10,6 +10,7 @@ PORTNAME= libstdc++_stldoc_3.4.0 PORTVERSION= 20040609 +PORTREVISION= 1 CATEGORIES= lang devel MASTER_SITES= ${MASTER_SITE_GCC} MASTER_SITE_SUBDIR= \ @@ -27,7 +28,12 @@ NO_WRKSUBDIR= yes PORTDOCS= * do-install: - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/html_user/* ${DOCSDIR} +.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> |