aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glib20-reference
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glib20-reference')
-rw-r--r--devel/glib20-reference/Makefile6
-rw-r--r--devel/glib20-reference/bsd.gnome-reference.mk2
2 files changed, 7 insertions, 1 deletions
diff --git a/devel/glib20-reference/Makefile b/devel/glib20-reference/Makefile
index 0f38c793a7d4..557b8d346d1f 100644
--- a/devel/glib20-reference/Makefile
+++ b/devel/glib20-reference/Makefile
@@ -9,6 +9,12 @@ PORTREVISION= 1
BOOKS= glib gobject gio
+# custom DOCSDIR. This is because we want the references to be installed
+# in share/doc/${book} and not share/doc/glib/${book}
+DOCSDIR= ${PREFIX}/share/doc
+
+PORTDOCS= glib/* gobject/* gio/*
+
glib_MAN= glib-gettextize.1
gobject_MAN= glib-genmarshal.1 glib-mkenums.1 gobject-query.1
diff --git a/devel/glib20-reference/bsd.gnome-reference.mk b/devel/glib20-reference/bsd.gnome-reference.mk
index 107d19c26c12..9335fc3b6e4b 100644
--- a/devel/glib20-reference/bsd.gnome-reference.mk
+++ b/devel/glib20-reference/bsd.gnome-reference.mk
@@ -35,7 +35,7 @@ DISTINFO_FILE= ${PARENTDIR}/distinfo
REFERENCE_SRC?= ${WRKSRC}/docs/reference
BOOKS?= .
-PORTDOCS= *
+PORTDOCS?= *
.if !target(do-build)
do-build: