From 3637d905285d43885c21c95ec2163eca5c4308a5 Mon Sep 17 00:00:00 2001 From: kwm Date: Wed, 22 May 2013 11:32:22 +0000 Subject: Make PORTDOCS in the -reference framework overwriteable. So some of the -reference ports that install multiple docs or "books" can make sure they get installed correctly. This impacts the -reference ports of glib20, gtk20 and gtk30. The problem was that for example in glib20 the reference was installed in share/doc/glib/{glib,gio,gobject} however devhelp only look in share/doc/${book} for the *.devhelp2 file. PR: ports/173577 Submitted by: Victor Balada Diaz --- x11-toolkits/gtk20-reference/Makefile | 13 +++++++------ x11-toolkits/gtk30-reference/Makefile | 14 ++++++++------ 2 files changed, 15 insertions(+), 12 deletions(-) (limited to 'x11-toolkits') diff --git a/x11-toolkits/gtk20-reference/Makefile b/x11-toolkits/gtk20-reference/Makefile index b7beec30130d..00b7e3e4582c 100644 --- a/x11-toolkits/gtk20-reference/Makefile +++ b/x11-toolkits/gtk20-reference/Makefile @@ -1,12 +1,13 @@ -# New ports collection makefile for: gtk20-reference -# Date created: 09 May 2006 -# Whom: Jean-Yves Lefort -# +# Created by: Jean-Yves Lefort # $FreeBSD$ -# -PORTREVISION= 2 +PORTREVISION= 0 + +# custom DOCSDIR. This is because we want the references to be installed +# in share/doc/${book} and not share/doc/gtk/${book} +DOCSDIR= ${PREFIX}/share/doc BOOKS= gdk gtk +PORTDOCS= gdk/* gtk/* .include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk" diff --git a/x11-toolkits/gtk30-reference/Makefile b/x11-toolkits/gtk30-reference/Makefile index 092169fe3fa5..488701c1f304 100644 --- a/x11-toolkits/gtk30-reference/Makefile +++ b/x11-toolkits/gtk30-reference/Makefile @@ -1,12 +1,14 @@ -# New ports collection makefile for: gtk20-reference -# Date created: 09 May 2006 -# Whom: Jean-Yves Lefort -# +# Created by: Jean-Yves Lefort # $FreeBSD$ -# -PORTREVISION= 0 +PORTREVISION= 1 + +# custom DOCSDIR. This is because we want the references to be installed +# in share/doc/${book} and not share/doc/gtk/${book} +DOCSDIR= ${PREFIX}/share/doc BOOKS= gdk gtk +PORTDOCS= gdk/* gtk/* + .include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk" -- cgit