aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-08-24 05:17:11 +0800
committermarcus <marcus@FreeBSD.org>2002-08-24 05:17:11 +0800
commitf5d473ec6b6d224faa1d136a35969112eafd7b19 (patch)
tree84d4816172a4ba306f9cf4a284fbc5df9f58e0fc /x11-fm
parent54bddaadc30553fa3169e9f9588ce8ee869a3916 (diff)
downloadfreebsd-ports-graphics-f5d473ec6b6d224faa1d136a35969112eafd7b19.tar.gz
freebsd-ports-graphics-f5d473ec6b6d224faa1d136a35969112eafd7b19.tar.zst
freebsd-ports-graphics-f5d473ec6b6d224faa1d136a35969112eafd7b19.zip
Use USE_GNOMENG.
PR: 41955 Submitted by: maintainer
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/file_menu_applet/Makefile6
-rw-r--r--x11-fm/file_menu_applet/pkg-descr1
-rw-r--r--x11-fm/file_menu_applet/pkg-install20
3 files changed, 26 insertions, 1 deletions
diff --git a/x11-fm/file_menu_applet/Makefile b/x11-fm/file_menu_applet/Makefile
index 409b813bb52..718c96b4e1f 100644
--- a/x11-fm/file_menu_applet/Makefile
+++ b/x11-fm/file_menu_applet/Makefile
@@ -14,7 +14,11 @@ MAINTAINER= klammer@webonaut.com
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack libpanel
GNU_CONFIGURE= yes
+pre-everything::
+ @${SH} ${PKGINSTALL} ${PKGNAME} ${PREFIX}
+
.include <bsd.port.mk>
diff --git a/x11-fm/file_menu_applet/pkg-descr b/x11-fm/file_menu_applet/pkg-descr
index d6604bfc1ba..baf384f5ec9 100644
--- a/x11-fm/file_menu_applet/pkg-descr
+++ b/x11-fm/file_menu_applet/pkg-descr
@@ -1,3 +1,4 @@
+[ excerpt from developer's site ]
File Menu Applet is a small GNOME panel application which
creates a file manager.
diff --git a/x11-fm/file_menu_applet/pkg-install b/x11-fm/file_menu_applet/pkg-install
new file mode 100644
index 00000000000..3f444420588
--- /dev/null
+++ b/x11-fm/file_menu_applet/pkg-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+if [ -n "${PACKAGE_BUILDING}" ]; then
+ exit 0
+fi
+
+PATH=/bin:/usr/bin:/sbin:/usr/sbin:${PATH}
+export PATH
+
+if [ ! -f ${2}/libdata/pkgconfig/libpanelapplet-2.0.pc ]; then
+ exit 0
+fi
+
+echo "================================================================"
+echo ""
+echo "The GNOME 2.0 package libpanelapplet was detected on the system."
+echo "file_menu_applet works only with the GNOME 1.0 panel."
+echo ""
+echo "================================================================"
+false