aboutsummaryrefslogtreecommitdiff
path: root/graphics/libqglviewer/Makefile
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2009-04-04 14:40:07 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2009-04-04 14:40:07 +0000
commit3139d8ac57baad1e9f8c1c7705bad0f1453e77fe (patch)
tree51514f59db3ddcac617b3442915072d42185468c /graphics/libqglviewer/Makefile
parent234bdd98d01385adf18863b80e43baf80518e29b (diff)
downloadports-3139d8ac57baad1e9f8c1c7705bad0f1453e77fe.tar.gz
ports-3139d8ac57baad1e9f8c1c7705bad0f1453e77fe.zip
- Fix plist with -DNOPORTDOCS.
Reported by: QAT
Notes
Notes: svn path=/head/; revision=231584
Diffstat (limited to 'graphics/libqglviewer/Makefile')
-rw-r--r--graphics/libqglviewer/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/libqglviewer/Makefile b/graphics/libqglviewer/Makefile
index 3fd0aa8e1f9e..5f3ae7a75867 100644
--- a/graphics/libqglviewer/Makefile
+++ b/graphics/libqglviewer/Makefile
@@ -35,4 +35,9 @@ do-configure:
@cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
-spec ${QMAKESPEC} QGLViewer.pro PREFIX="${PREFIX}"
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKDIR}/${DISTNAME}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
+.endif
.include <bsd.port.mk>