aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2019-11-23 20:59:57 +0800
committerDmitry Marakasov <amdmi3@FreeBSD.org>2019-11-23 20:59:57 +0800
commit4391a557ad22c1d1785e79808fac6fee9bde913c (patch)
treee66baac844ef885dc57f6baf5b991f008b8cde4a /x11
parent843fa07cf41048c8334677d03975057255b41c9c (diff)
downloadfreebsd-ports-gnome-4391a557ad22c1d1785e79808fac6fee9bde913c.tar.gz
freebsd-ports-gnome-4391a557ad22c1d1785e79808fac6fee9bde913c.tar.zst
freebsd-ports-gnome-4391a557ad22c1d1785e79808fac6fee9bde913c.zip
- OPTIONize docs
PR: 241811 Submitted by: amdmi3 Approved by: maintainer timeout (x11, 2 weeks)
Diffstat (limited to 'x11')
-rw-r--r--x11/xorgproto/Makefile2
-rw-r--r--x11/xorgproto/pkg-plist22
2 files changed, 13 insertions, 11 deletions
diff --git a/x11/xorgproto/Makefile b/x11/xorgproto/Makefile
index e412932af0d6..a2e2d16d6440 100644
--- a/x11/xorgproto/Makefile
+++ b/x11/xorgproto/Makefile
@@ -14,6 +14,8 @@ CONFIGURE_ARGS= --without-fop \
--without-xsltproc \
--disable-specs
+OPTIONS_DEFINE= DOCS
+
pre-patch:
@${MKDIR} ${WRKSRC}/man
diff --git a/x11/xorgproto/pkg-plist b/x11/xorgproto/pkg-plist
index 443b69e70d98..f526d1016873 100644
--- a/x11/xorgproto/pkg-plist
+++ b/x11/xorgproto/pkg-plist
@@ -153,14 +153,14 @@ libdata/pkgconfig/xf86driproto.pc
libdata/pkgconfig/xf86vidmodeproto.pc
libdata/pkgconfig/xineramaproto.pc
libdata/pkgconfig/xproto.pc
-%%DOCSDIR%%/PM_spec
-%%DOCSDIR%%/compositeproto.txt
-%%DOCSDIR%%/damageproto.txt
-%%DOCSDIR%%/dri2proto.txt
-%%DOCSDIR%%/dri3proto.txt
-%%DOCSDIR%%/fixesproto.txt
-%%DOCSDIR%%/presentproto.txt
-%%DOCSDIR%%/randrproto.txt
-%%DOCSDIR%%/renderproto.txt
-%%DOCSDIR%%/resproto.txt
-%%DOCSDIR%%/xv-protocol-v2.txt
+%%PORTDOCS%%%%DOCSDIR%%/PM_spec
+%%PORTDOCS%%%%DOCSDIR%%/compositeproto.txt
+%%PORTDOCS%%%%DOCSDIR%%/damageproto.txt
+%%PORTDOCS%%%%DOCSDIR%%/dri2proto.txt
+%%PORTDOCS%%%%DOCSDIR%%/dri3proto.txt
+%%PORTDOCS%%%%DOCSDIR%%/fixesproto.txt
+%%PORTDOCS%%%%DOCSDIR%%/presentproto.txt
+%%PORTDOCS%%%%DOCSDIR%%/randrproto.txt
+%%PORTDOCS%%%%DOCSDIR%%/renderproto.txt
+%%PORTDOCS%%%%DOCSDIR%%/resproto.txt
+%%PORTDOCS%%%%DOCSDIR%%/xv-protocol-v2.txt