aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2009-06-28 20:52:33 +0800
committergahr <gahr@FreeBSD.org>2009-06-28 20:52:33 +0800
commit96b189c53273f3c6958ca49ad3fad2baadeb07aa (patch)
tree69663c89bff51e5894038a1964b702789368aafa /x11
parent7fca419cb82a4efc97cb683bbb638f6bcf0f20d4 (diff)
downloadfreebsd-ports-gnome-96b189c53273f3c6958ca49ad3fad2baadeb07aa.tar.gz
freebsd-ports-gnome-96b189c53273f3c6958ca49ad3fad2baadeb07aa.tar.zst
freebsd-ports-gnome-96b189c53273f3c6958ca49ad3fad2baadeb07aa.zip
- Enable installation of tutorial
PR: 136055 Submitted by: gahr Approved by: Ashish Shukla <wahjava@gmail.com> (maintainer)
Diffstat (limited to 'x11')
-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%%