aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-05-11 10:14:35 +0800
committerjylefort <jylefort@FreeBSD.org>2006-05-11 10:14:35 +0800
commit4d7858a300cc0ce53e33c9187fbf2a6e215289e7 (patch)
treeebf1b9c9b6189099237e4c0ef8c2f5584240a638 /x11
parent80c114cd42d75f0ddfc5b936937649b205639113 (diff)
downloadfreebsd-ports-graphics-4d7858a300cc0ce53e33c9187fbf2a6e215289e7.tar.gz
freebsd-ports-graphics-4d7858a300cc0ce53e33c9187fbf2a6e215289e7.tar.zst
freebsd-ports-graphics-4d7858a300cc0ce53e33c9187fbf2a6e215289e7.zip
Move the gnomepanel programming reference to the gnomepanel-reference port.
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/gnome-panel-reference/Makefile5
-rw-r--r--x11/gnome-panel/Makefile14
-rw-r--r--x11/gnome-panel/pkg-plist20
-rw-r--r--x11/gnomepanel-reference/Makefile5
-rw-r--r--x11/gnomepanel/Makefile14
-rw-r--r--x11/gnomepanel/pkg-plist20
7 files changed, 33 insertions, 46 deletions
diff --git a/x11/Makefile b/x11/Makefile
index a9339d6cdfd..55bdcea1eda 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -74,6 +74,7 @@
SUBDIR += gnomedesktop-reference
SUBDIR += gnomelibs
SUBDIR += gnomepanel
+ SUBDIR += gnomepanel-reference
SUBDIR += gnomesession
SUBDIR += gnometerminal
SUBDIR += gpctool
diff --git a/x11/gnome-panel-reference/Makefile b/x11/gnome-panel-reference/Makefile
new file mode 100644
index 00000000000..cca07fdf20c
--- /dev/null
+++ b/x11/gnome-panel-reference/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+REFERENCE_SRC= ${WRKSRC}/doc/reference/panel-applet
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile
index 06d7aebc679..34a93db968c 100644
--- a/x11/gnome-panel/Makefile
+++ b/x11/gnome-panel/Makefile
@@ -17,16 +17,22 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Panel component for the GNOME 2 Desktop
+USE_BZIP2= yes
+PREFIX?= ${X11BASE}
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 1
+
RUN_DEPENDS= gnome-menu-editor:${PORTSDIR}/deskutils/gnome-menu-editor
USE_GETTEXT= yes
-USE_BZIP2= yes
INSTALLS_OMF= yes
INSTALLS_SHLIB= yes
INSTALLS_ICONS= yes
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop \
- libwnck gnomemenus gnomedocutils ltverhack
+ libwnck gnomemenus gnomedocutils ltverhack referencehack
WANT_GNOME= yes
GNOME_DESKTOP_VERSION=2
USE_GMAKE= yes
@@ -66,3 +72,5 @@ post-patch:
.endif
.include <bsd.port.post.mk>
+
+.endif
diff --git a/x11/gnome-panel/pkg-plist b/x11/gnome-panel/pkg-plist
index 855d2c4a37a..53a22540e9b 100644
--- a/x11/gnome-panel/pkg-plist
+++ b/x11/gnome-panel/pkg-plist
@@ -24,25 +24,6 @@ libexec/clock-applet
libexec/fish-applet-2
libexec/notification-area-applet
libexec/wnck-applet
-share/doc/panel-applet/PanelApplet.html
-share/doc/panel-applet/applet-popups.html
-share/doc/panel-applet/applet-porting.html
-share/doc/panel-applet/applet-writing.html
-share/doc/panel-applet/home.png
-share/doc/panel-applet/index.html
-share/doc/panel-applet/index.sgml
-share/doc/panel-applet/left.png
-share/doc/panel-applet/multi-applets.html
-share/doc/panel-applet/panel-applet-Panel-Applet-GConf-Utilities.html
-share/doc/panel-applet/panel-applet.devhelp
-share/doc/panel-applet/panel-applet.devhelp2
-share/doc/panel-applet/panel-applet.html
-share/doc/panel-applet/panel-signals.html
-share/doc/panel-applet/right.png
-share/doc/panel-applet/server-files.html
-share/doc/panel-applet/session-saving.html
-share/doc/panel-applet/style.css
-share/doc/panel-applet/up.png
share/gnome/gnome-2.0/ui/GNOME_ClockApplet.xml
share/gnome/gnome-2.0/ui/GNOME_FishApplet.xml
share/gnome/gnome-2.0/ui/GNOME_NotificationAreaApplet.xml
@@ -504,5 +485,4 @@ share/locale/zu/LC_MESSAGES/gnome-panel-2.0.mo
@dirrm share/gnome/help/clock/C/figures
@dirrm share/gnome/help/clock/C
@dirrm share/gnome/help/clock
-@dirrm share/doc/panel-applet
@dirrm include/panel-2.0
diff --git a/x11/gnomepanel-reference/Makefile b/x11/gnomepanel-reference/Makefile
new file mode 100644
index 00000000000..cca07fdf20c
--- /dev/null
+++ b/x11/gnomepanel-reference/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+REFERENCE_SRC= ${WRKSRC}/doc/reference/panel-applet
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
diff --git a/x11/gnomepanel/Makefile b/x11/gnomepanel/Makefile
index 06d7aebc679..34a93db968c 100644
--- a/x11/gnomepanel/Makefile
+++ b/x11/gnomepanel/Makefile
@@ -17,16 +17,22 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Panel component for the GNOME 2 Desktop
+USE_BZIP2= yes
+PREFIX?= ${X11BASE}
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 1
+
RUN_DEPENDS= gnome-menu-editor:${PORTSDIR}/deskutils/gnome-menu-editor
USE_GETTEXT= yes
-USE_BZIP2= yes
INSTALLS_OMF= yes
INSTALLS_SHLIB= yes
INSTALLS_ICONS= yes
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop \
- libwnck gnomemenus gnomedocutils ltverhack
+ libwnck gnomemenus gnomedocutils ltverhack referencehack
WANT_GNOME= yes
GNOME_DESKTOP_VERSION=2
USE_GMAKE= yes
@@ -66,3 +72,5 @@ post-patch:
.endif
.include <bsd.port.post.mk>
+
+.endif
diff --git a/x11/gnomepanel/pkg-plist b/x11/gnomepanel/pkg-plist
index 855d2c4a37a..53a22540e9b 100644
--- a/x11/gnomepanel/pkg-plist
+++ b/x11/gnomepanel/pkg-plist
@@ -24,25 +24,6 @@ libexec/clock-applet
libexec/fish-applet-2
libexec/notification-area-applet
libexec/wnck-applet
-share/doc/panel-applet/PanelApplet.html
-share/doc/panel-applet/applet-popups.html
-share/doc/panel-applet/applet-porting.html
-share/doc/panel-applet/applet-writing.html
-share/doc/panel-applet/home.png
-share/doc/panel-applet/index.html
-share/doc/panel-applet/index.sgml
-share/doc/panel-applet/left.png
-share/doc/panel-applet/multi-applets.html
-share/doc/panel-applet/panel-applet-Panel-Applet-GConf-Utilities.html
-share/doc/panel-applet/panel-applet.devhelp
-share/doc/panel-applet/panel-applet.devhelp2
-share/doc/panel-applet/panel-applet.html
-share/doc/panel-applet/panel-signals.html
-share/doc/panel-applet/right.png
-share/doc/panel-applet/server-files.html
-share/doc/panel-applet/session-saving.html
-share/doc/panel-applet/style.css
-share/doc/panel-applet/up.png
share/gnome/gnome-2.0/ui/GNOME_ClockApplet.xml
share/gnome/gnome-2.0/ui/GNOME_FishApplet.xml
share/gnome/gnome-2.0/ui/GNOME_NotificationAreaApplet.xml
@@ -504,5 +485,4 @@ share/locale/zu/LC_MESSAGES/gnome-panel-2.0.mo
@dirrm share/gnome/help/clock/C/figures
@dirrm share/gnome/help/clock/C
@dirrm share/gnome/help/clock
-@dirrm share/doc/panel-applet
@dirrm include/panel-2.0