aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/bpm
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2006-05-14 23:00:04 +0800
committerlawrance <lawrance@FreeBSD.org>2006-05-14 23:00:04 +0800
commit917a7c8572ad61a3e6e6fa169e14be5b0c580b8b (patch)
tree184e475d850cc11decd885bd2c85ddc44776fed7 /ports-mgmt/bpm
parent79a01861d36a7afd84ad6c135eb22d385f4fb451 (diff)
downloadfreebsd-ports-gnome-917a7c8572ad61a3e6e6fa169e14be5b0c580b8b.tar.gz
freebsd-ports-gnome-917a7c8572ad61a3e6e6fa169e14be5b0c580b8b.tar.zst
freebsd-ports-gnome-917a7c8572ad61a3e6e6fa169e14be5b0c580b8b.zip
Make bpm capable of handling ports with OPTIONS by using zenity to
display them. PR: ports/96149 Submitted by: Panagiotis Astithas <past@ebs.gr> Approved by: Seth Kingsley <sethk@meowfishies.com> (maintainer)
Diffstat (limited to 'ports-mgmt/bpm')
-rw-r--r--ports-mgmt/bpm/Makefile5
-rw-r--r--ports-mgmt/bpm/files/patch-src_install.c19
2 files changed, 22 insertions, 2 deletions
diff --git a/ports-mgmt/bpm/Makefile b/ports-mgmt/bpm/Makefile
index 853bf2c217f1..812315f8a08e 100644
--- a/ports-mgmt/bpm/Makefile
+++ b/ports-mgmt/bpm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bpm
PORTVERSION= 0.4.1b
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= sysutils
MASTER_SITES= http://www.meowfishies.com/code/bpm/
EXTRACT_SUFX= .tgz
@@ -15,7 +15,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= sethk@meowfishies.com
COMMENT= A graphical BSD ports collection manager
-RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade
+RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade \
+ gdialog:${PORTSDIR}/x11/zenity
USE_X_PREFIX= yes
USE_GNOME= gtk20 desktopfileutils
diff --git a/ports-mgmt/bpm/files/patch-src_install.c b/ports-mgmt/bpm/files/patch-src_install.c
new file mode 100644
index 000000000000..cb53d8ce28f0
--- /dev/null
+++ b/ports-mgmt/bpm/files/patch-src_install.c
@@ -0,0 +1,19 @@
+--- src/install.c.orig Sun Apr 2 14:09:25 2006
++++ src/install.c Sun Apr 2 14:12:03 2006
+@@ -958,6 +958,8 @@
+ av[ac++] = "SU_CMD=" SU_CMD;
+ av[ac++] = "-M";
+ av[ac++] = "FETCH_CMD=" FETCH_CMD;
++ av[ac++] = "-M";
++ av[ac++] = "DIALOG=gdialog";
+ av[ac++] = "-s";
+ av[ac++] = "-S";
+ av[ac++] = SU_CMD " '%s'";
+@@ -971,6 +973,7 @@
+ av[ac++] = "make";
+ av[ac++] = "SU_CMD=" SU_CMD;
+ av[ac++] = "FETCH_CMD=" FETCH_CMD;
++ av[ac++] = "DIALOG=gdialog";
+
+ if (iadp->ia_action == INSTACT_PACKAGE)
+ {