aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libqglviewer
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2009-04-04 22:40:07 +0800
committeraraujo <araujo@FreeBSD.org>2009-04-04 22:40:07 +0800
commit512f999682fc951efd58d87888b6011075adebfa (patch)
tree9f01b573d022ca943ce49be18c87d21507ca4f46 /graphics/libqglviewer
parent097d06efc50667d87fb60c3ed095f89c8075798a (diff)
downloadfreebsd-ports-gnome-512f999682fc951efd58d87888b6011075adebfa.tar.gz
freebsd-ports-gnome-512f999682fc951efd58d87888b6011075adebfa.tar.zst
freebsd-ports-gnome-512f999682fc951efd58d87888b6011075adebfa.zip
- Fix plist with -DNOPORTDOCS.
Reported by: QAT
Diffstat (limited to 'graphics/libqglviewer')
-rw-r--r--graphics/libqglviewer/Makefile5
-rw-r--r--graphics/libqglviewer/pkg-plist2
2 files changed, 6 insertions, 1 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>
diff --git a/graphics/libqglviewer/pkg-plist b/graphics/libqglviewer/pkg-plist
index 51c12979d600..e579d207f004 100644
--- a/graphics/libqglviewer/pkg-plist
+++ b/graphics/libqglviewer/pkg-plist
@@ -11,9 +11,9 @@ include/QGLViewer/qglviewer.cw
include/QGLViewer/qglviewer.h
include/QGLViewer/quaternion.h
include/QGLViewer/vec.h
-@dirrm include/QGLViewer
lib/libQGLViewer.prl
lib/libQGLViewer.so
lib/libQGLViewer.so.2
lib/libQGLViewer.so.2.2
lib/libQGLViewer.so.2.2.4
+@dirrm include/QGLViewer