aboutsummaryrefslogtreecommitdiff
path: root/x11/libxcb
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2009-06-28 12:52:33 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2009-06-28 12:52:33 +0000
commit2eff625cd6247a7b0726190548c090710ecc78c5 (patch)
tree822be9edf4391dbb03709873d8e4fd8c6ce79c50 /x11/libxcb
parent678d1f6c2e5b79320ae3364a5aaa3e63a8f91e84 (diff)
downloadports-2eff625cd6247a7b0726190548c090710ecc78c5.tar.gz
ports-2eff625cd6247a7b0726190548c090710ecc78c5.zip
Notes
Diffstat (limited to 'x11/libxcb')
-rw-r--r--x11/libxcb/Makefile3
-rw-r--r--x11/libxcb/pkg-plist4
2 files changed, 7 insertions, 0 deletions
diff --git a/x11/libxcb/Makefile b/x11/libxcb/Makefile
index 9ff9a0ba7b85..b17e11b43fe1 100644
--- a/x11/libxcb/Makefile
+++ b/x11/libxcb/Makefile
@@ -46,6 +46,9 @@ XPROTO_CFLAGS= -I${LOCALBASE}/include
XPROTO_LIBS= -L${LOCALBASE}/lib
post-install:
+.if !defined(NOPORTDOCS)
+ ${MAKE} -C ${WRKSRC}/doc ${INSTALL_TARGET}
+.endif
@${ECHO_MSG} ''
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG} ''
diff --git a/x11/libxcb/pkg-plist b/x11/libxcb/pkg-plist
index 24f195616b16..d70af5231569 100644
--- a/x11/libxcb/pkg-plist
+++ b/x11/libxcb/pkg-plist
@@ -130,4 +130,8 @@ libdata/pkgconfig/xcb-xtest.pc
libdata/pkgconfig/xcb-xv.pc
libdata/pkgconfig/xcb-xvmc.pc
libdata/pkgconfig/xcb.pc
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/index.html
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/xcb.css
@dirrmtry include/xcb
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial
+%%PORTDOCS%%@dirrm %%DOCSDIR%%