diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2019-05-07 20:35:36 +0800 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2019-05-07 20:35:36 +0800 |
commit | e1ce905577b762de862b27cb01d6df94cb71f50f (patch) | |
tree | a6b29aff1b5a46abc9aa05a57337cecc7d4f3cb1 /x11 | |
parent | a1c440f7bd77611ec3c7811611d9cde0a77a47ec (diff) | |
download | freebsd-ports-gnome-e1ce905577b762de862b27cb01d6df94cb71f50f.tar.gz freebsd-ports-gnome-e1ce905577b762de862b27cb01d6df94cb71f50f.tar.zst freebsd-ports-gnome-e1ce905577b762de862b27cb01d6df94cb71f50f.zip |
Rename the GTKDOC option to DOCS.
First, all those ports should also have had a DOCS option that would
have guarded the GTKDOC option, and then textproc/gtk-doc is pretty
light and does not warrant a separate option.
Discussed with: portmgr
Approved by: portmgr
Diffstat (limited to 'x11')
-rw-r--r-- | x11/keybinder/Makefile | 13 | ||||
-rw-r--r-- | x11/keybinder/pkg-plist | 32 |
2 files changed, 22 insertions, 23 deletions
diff --git a/x11/keybinder/Makefile b/x11/keybinder/Makefile index 6dd4480c5283..5a56205061e1 100644 --- a/x11/keybinder/Makefile +++ b/x11/keybinder/Makefile @@ -2,7 +2,7 @@ PORTNAME= keybinder PORTVERSION= 0.3.1 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONPREFIX= v CATEGORIES= x11 @@ -22,13 +22,12 @@ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes -OPTIONS_DEFINE= EXAMPLES GTKDOC LUA PYTHON +OPTIONS_DEFINE= EXAMPLES DOCS LUA PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes -GTKDOC_DESC= Build API documentation (requires textproc/gtk-doc) -GTKDOC_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc -GTKDOC_CONFIGURE_ON= --enable-gtk-doc +DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc +DOCS_CONFIGURE_ON= --enable-gtk-doc # Override LUA description LUA_DESC= Lua bindings @@ -40,11 +39,11 @@ PYTHON_USES= python:2.7 PYTHON_USE= gnome=pygtk2 PYTHON_CONFIGURE_OFF= --disable-python -post-patch-GTKDOC-off: +post-patch-DOCS-off: @${REINPLACE_CMD} -E '/GTK_DOC_CHECK|docs/d' ${WRKSRC}/configure.ac @${REINPLACE_CMD} -e '/^SUBDIRS/s, docs,,' ${WRKSRC}/Makefile.am -pre-configure-GTKDOC-on: +pre-configure-DOCS-on: @(cd ${CONFIGURE_WRKSRC} && ${LOCALBASE}/bin/gtkdocize) post-build-EXAMPLES-on: diff --git a/x11/keybinder/pkg-plist b/x11/keybinder/pkg-plist index 299b7f88b8e0..5d71598a34f6 100644 --- a/x11/keybinder/pkg-plist +++ b/x11/keybinder/pkg-plist @@ -19,19 +19,19 @@ libdata/pkgconfig/keybinder.pc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/main.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/vexample.vala share/gir-1.0/Keybinder-0.0.gir -%%GTKDOC%%share/gtk-doc/html/keybinder/annotation-glossary.html -%%GTKDOC%%share/gtk-doc/html/keybinder/api-index-full.html -%%GTKDOC%%share/gtk-doc/html/keybinder/ch01.html -%%GTKDOC%%share/gtk-doc/html/keybinder/deprecated-api-index.html -%%GTKDOC%%share/gtk-doc/html/keybinder/home.png -%%GTKDOC%%share/gtk-doc/html/keybinder/index.html -%%GTKDOC%%share/gtk-doc/html/keybinder/keybinder-keybinder.html -%%GTKDOC%%share/gtk-doc/html/keybinder/keybinder.devhelp2 -%%GTKDOC%%share/gtk-doc/html/keybinder/left-insensitive.png -%%GTKDOC%%share/gtk-doc/html/keybinder/left.png -%%GTKDOC%%share/gtk-doc/html/keybinder/object-tree.html -%%GTKDOC%%share/gtk-doc/html/keybinder/right-insensitive.png -%%GTKDOC%%share/gtk-doc/html/keybinder/right.png -%%GTKDOC%%share/gtk-doc/html/keybinder/style.css -%%GTKDOC%%share/gtk-doc/html/keybinder/up-insensitive.png -%%GTKDOC%%share/gtk-doc/html/keybinder/up.png +%%PORTDOCS%%share/gtk-doc/html/keybinder/annotation-glossary.html +%%PORTDOCS%%share/gtk-doc/html/keybinder/api-index-full.html +%%PORTDOCS%%share/gtk-doc/html/keybinder/ch01.html +%%PORTDOCS%%share/gtk-doc/html/keybinder/deprecated-api-index.html +%%PORTDOCS%%share/gtk-doc/html/keybinder/home.png +%%PORTDOCS%%share/gtk-doc/html/keybinder/index.html +%%PORTDOCS%%share/gtk-doc/html/keybinder/keybinder-keybinder.html +%%PORTDOCS%%share/gtk-doc/html/keybinder/keybinder.devhelp2 +%%PORTDOCS%%share/gtk-doc/html/keybinder/left-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/keybinder/left.png +%%PORTDOCS%%share/gtk-doc/html/keybinder/object-tree.html +%%PORTDOCS%%share/gtk-doc/html/keybinder/right-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/keybinder/right.png +%%PORTDOCS%%share/gtk-doc/html/keybinder/style.css +%%PORTDOCS%%share/gtk-doc/html/keybinder/up-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/keybinder/up.png |