aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/Makefile1
-rw-r--r--x11/gnome-desktop-reference/Makefile5
-rw-r--r--x11/gnome-desktop/Makefile12
-rw-r--r--x11/gnome-desktop/pkg-plist15
-rw-r--r--x11/gnomedesktop-reference/Makefile5
-rw-r--r--x11/gnomedesktop/Makefile12
-rw-r--r--x11/gnomedesktop/pkg-plist15
7 files changed, 31 insertions, 34 deletions
diff --git a/x11/Makefile b/x11/Makefile
index c1e49a244134..a9339d6cdfdd 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -71,6 +71,7 @@
SUBDIR += gnome2-power-tools
SUBDIR += gnomeapplets2
SUBDIR += gnomedesktop
+ SUBDIR += gnomedesktop-reference
SUBDIR += gnomelibs
SUBDIR += gnomepanel
SUBDIR += gnomesession
diff --git a/x11/gnome-desktop-reference/Makefile b/x11/gnome-desktop-reference/Makefile
new file mode 100644
index 000000000000..b3c18d5b7f53
--- /dev/null
+++ b/x11/gnome-desktop-reference/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+REFERENCE_SRC= ${WRKSRC}/docs/reference/gnome-desktop
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
diff --git a/x11/gnome-desktop/Makefile b/x11/gnome-desktop/Makefile
index f35b0147eb41..b33bbef95fbd 100644
--- a/x11/gnome-desktop/Makefile
+++ b/x11/gnome-desktop/Makefile
@@ -18,10 +18,16 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= Additional UI API for GNOME 2
USE_BZIP2= yes
-USE_X_PREFIX= yes
+PREFIX?= ${X11BASE}
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 1
+
+USE_XLIB= yes
USE_XPM= yes
USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui gnomedocutils \
- ltverhack
+ ltverhack referencehack
GNOME_DESKTOP_VERSION=2
USE_GETTEXT= yes
USE_GMAKE= yes
@@ -37,3 +43,5 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gnome-about.1
.include <bsd.port.mk>
+
+.endif
diff --git a/x11/gnome-desktop/pkg-plist b/x11/gnome-desktop/pkg-plist
index fd92d45b9628..f55bcc791f6a 100644
--- a/x11/gnome-desktop/pkg-plist
+++ b/x11/gnome-desktop/pkg-plist
@@ -7,20 +7,6 @@ lib/libgnome-desktop-2.la
lib/libgnome-desktop-2.so
lib/libgnome-desktop-2.so.2
libdata/pkgconfig/gnome-desktop-2.0.pc
-share/doc/gnome-desktop/GnomeDItemEdit.html
-share/doc/gnome-desktop/GnomeHint.html
-share/doc/gnome-desktop/ch01.html
-share/doc/gnome-desktop/gnome-desktop-GnomeDesktopItem.html
-share/doc/gnome-desktop/gnome-desktop.devhelp
-share/doc/gnome-desktop/gnome-desktop.devhelp2
-share/doc/gnome-desktop/home.png
-share/doc/gnome-desktop/index.html
-share/doc/gnome-desktop/index.sgml
-share/doc/gnome-desktop/intro.html
-share/doc/gnome-desktop/left.png
-share/doc/gnome-desktop/right.png
-share/doc/gnome-desktop/style.css
-share/doc/gnome-desktop/up.png
share/gnome/applications/gnome-about.desktop
share/gnome/gnome-about/gnome-64.png
share/gnome/gnome-about/gnome-version.xml
@@ -266,7 +252,6 @@ share/locale/zu/LC_MESSAGES/gnome-desktop-2.0.mo
@dirrm share/gnome/help/fdl/fr
@dirrm share/gnome/help/fdl/es
@dirrm share/gnome/gnome-about/headers
-@dirrm share/doc/gnome-desktop
@dirrm include/gnome-desktop-2.0/libgnomeui
@dirrm include/gnome-desktop-2.0/libgnome
@dirrm include/gnome-desktop-2.0
diff --git a/x11/gnomedesktop-reference/Makefile b/x11/gnomedesktop-reference/Makefile
new file mode 100644
index 000000000000..b3c18d5b7f53
--- /dev/null
+++ b/x11/gnomedesktop-reference/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+REFERENCE_SRC= ${WRKSRC}/docs/reference/gnome-desktop
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
diff --git a/x11/gnomedesktop/Makefile b/x11/gnomedesktop/Makefile
index f35b0147eb41..b33bbef95fbd 100644
--- a/x11/gnomedesktop/Makefile
+++ b/x11/gnomedesktop/Makefile
@@ -18,10 +18,16 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= Additional UI API for GNOME 2
USE_BZIP2= yes
-USE_X_PREFIX= yes
+PREFIX?= ${X11BASE}
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 1
+
+USE_XLIB= yes
USE_XPM= yes
USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui gnomedocutils \
- ltverhack
+ ltverhack referencehack
GNOME_DESKTOP_VERSION=2
USE_GETTEXT= yes
USE_GMAKE= yes
@@ -37,3 +43,5 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gnome-about.1
.include <bsd.port.mk>
+
+.endif
diff --git a/x11/gnomedesktop/pkg-plist b/x11/gnomedesktop/pkg-plist
index fd92d45b9628..f55bcc791f6a 100644
--- a/x11/gnomedesktop/pkg-plist
+++ b/x11/gnomedesktop/pkg-plist
@@ -7,20 +7,6 @@ lib/libgnome-desktop-2.la
lib/libgnome-desktop-2.so
lib/libgnome-desktop-2.so.2
libdata/pkgconfig/gnome-desktop-2.0.pc
-share/doc/gnome-desktop/GnomeDItemEdit.html
-share/doc/gnome-desktop/GnomeHint.html
-share/doc/gnome-desktop/ch01.html
-share/doc/gnome-desktop/gnome-desktop-GnomeDesktopItem.html
-share/doc/gnome-desktop/gnome-desktop.devhelp
-share/doc/gnome-desktop/gnome-desktop.devhelp2
-share/doc/gnome-desktop/home.png
-share/doc/gnome-desktop/index.html
-share/doc/gnome-desktop/index.sgml
-share/doc/gnome-desktop/intro.html
-share/doc/gnome-desktop/left.png
-share/doc/gnome-desktop/right.png
-share/doc/gnome-desktop/style.css
-share/doc/gnome-desktop/up.png
share/gnome/applications/gnome-about.desktop
share/gnome/gnome-about/gnome-64.png
share/gnome/gnome-about/gnome-version.xml
@@ -266,7 +252,6 @@ share/locale/zu/LC_MESSAGES/gnome-desktop-2.0.mo
@dirrm share/gnome/help/fdl/fr
@dirrm share/gnome/help/fdl/es
@dirrm share/gnome/gnome-about/headers
-@dirrm share/doc/gnome-desktop
@dirrm include/gnome-desktop-2.0/libgnomeui
@dirrm include/gnome-desktop-2.0/libgnome
@dirrm include/gnome-desktop-2.0