Index: Makefile =================================================================== RCS file: /home/pcvs/ports/x11/libxcb/Makefile,v retrieving revision 1.18 diff -u -u -r1.18 Makefile --- Makefile 14 Jun 2009 22:22:28 -0000 1.18 +++ Makefile 25 Jun 2009 18:48:31 -0000 @@ -46,6 +46,9 @@ XPROTO_LIBS= -L${LOCALBASE}/lib post-install: +.if !defined(NOPORTDOCS) + ${MAKE} -C ${WRKSRC}/doc ${INSTALL_TARGET} +.endif @${ECHO_MSG} '' @${CAT} ${PKGMESSAGE} @${ECHO_MSG} '' Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/x11/libxcb/pkg-plist,v retrieving revision 1.10 diff -u -u -r1.10 pkg-plist --- pkg-plist 14 Jun 2009 22:22:28 -0000 1.10 +++ pkg-plist 25 Jun 2009 18:49:37 -0000 @@ -130,4 +130,8 @@ 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%%