aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-07 18:03:59 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-07 18:03:59 +0000
commit136f2234f5c6331d850f93257aafe39bf5105956 (patch)
treefb12fccef6630815a12b0bed097978fba3d21502
parent5521440326857e866fd39af1340e60286ae14c95 (diff)
downloadports-136f2234f5c6331d850f93257aafe39bf5105956.tar.gz
ports-136f2234f5c6331d850f93257aafe39bf5105956.zip
- Optionize DOCS
Approved by: kwm
Notes
Notes: svn path=/head/; revision=398776
-rw-r--r--devel/dbus-glib/Makefile2
-rw-r--r--devel/dbus-glib/pkg-plist48
2 files changed, 26 insertions, 24 deletions
diff --git a/devel/dbus-glib/Makefile b/devel/dbus-glib/Makefile
index c0e34ecf7503..85c6b802acae 100644
--- a/devel/dbus-glib/Makefile
+++ b/devel/dbus-glib/Makefile
@@ -26,4 +26,6 @@ PLIST_SUB= VERSION="1.0"
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/devel/dbus-glib/pkg-plist b/devel/dbus-glib/pkg-plist
index 5feb81f0056a..7a9f86707c04 100644
--- a/devel/dbus-glib/pkg-plist
+++ b/devel/dbus-glib/pkg-plist
@@ -12,27 +12,27 @@ lib/libdbus-glib-1.so.2.3.2
libdata/pkgconfig/dbus-glib-1.pc
libexec/dbus-bash-completion-helper
man/man1/dbus-binding-tool.1.gz
-%%DOCSDIR%%/api-index-full.html
-%%DOCSDIR%%/ch01.html
-%%DOCSDIR%%/ch02.html
-%%DOCSDIR%%/ch03.html
-%%DOCSDIR%%/dbus-binding-tool.html
-%%DOCSDIR%%/dbus-glib-DBus-GLib-low-level.html
-%%DOCSDIR%%/dbus-glib-DBus-GObject-related-functions.html
-%%DOCSDIR%%/dbus-glib-DBusGConnection.html
-%%DOCSDIR%%/dbus-glib-DBusGError.html
-%%DOCSDIR%%/dbus-glib-DBusGMessage.html
-%%DOCSDIR%%/dbus-glib-DBusGMethod.html
-%%DOCSDIR%%/dbus-glib-DBusGProxy.html
-%%DOCSDIR%%/dbus-glib-Specializable-GType-System.html
-%%DOCSDIR%%/dbus-glib.devhelp2
-%%DOCSDIR%%/home.png
-%%DOCSDIR%%/index.html
-%%DOCSDIR%%/index.sgml
-%%DOCSDIR%%/left-insensitive.png
-%%DOCSDIR%%/left.png
-%%DOCSDIR%%/right-insensitive.png
-%%DOCSDIR%%/right.png
-%%DOCSDIR%%/style.css
-%%DOCSDIR%%/up-insensitive.png
-%%DOCSDIR%%/up.png
+%%PORTDOCS%%%%DOCSDIR%%/api-index-full.html
+%%PORTDOCS%%%%DOCSDIR%%/ch01.html
+%%PORTDOCS%%%%DOCSDIR%%/ch02.html
+%%PORTDOCS%%%%DOCSDIR%%/ch03.html
+%%PORTDOCS%%%%DOCSDIR%%/dbus-binding-tool.html
+%%PORTDOCS%%%%DOCSDIR%%/dbus-glib-DBus-GLib-low-level.html
+%%PORTDOCS%%%%DOCSDIR%%/dbus-glib-DBus-GObject-related-functions.html
+%%PORTDOCS%%%%DOCSDIR%%/dbus-glib-DBusGConnection.html
+%%PORTDOCS%%%%DOCSDIR%%/dbus-glib-DBusGError.html
+%%PORTDOCS%%%%DOCSDIR%%/dbus-glib-DBusGMessage.html
+%%PORTDOCS%%%%DOCSDIR%%/dbus-glib-DBusGMethod.html
+%%PORTDOCS%%%%DOCSDIR%%/dbus-glib-DBusGProxy.html
+%%PORTDOCS%%%%DOCSDIR%%/dbus-glib-Specializable-GType-System.html
+%%PORTDOCS%%%%DOCSDIR%%/dbus-glib.devhelp2
+%%PORTDOCS%%%%DOCSDIR%%/home.png
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/index.sgml
+%%PORTDOCS%%%%DOCSDIR%%/left-insensitive.png
+%%PORTDOCS%%%%DOCSDIR%%/left.png
+%%PORTDOCS%%%%DOCSDIR%%/right-insensitive.png
+%%PORTDOCS%%%%DOCSDIR%%/right.png
+%%PORTDOCS%%%%DOCSDIR%%/style.css
+%%PORTDOCS%%%%DOCSDIR%%/up-insensitive.png
+%%PORTDOCS%%%%DOCSDIR%%/up.png