aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gtop
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1999-01-01 06:44:36 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1999-01-01 06:44:36 +0000
commit9a1ff4293bfc5ba8ab7b2b229875c113fc3dd3b4 (patch)
tree9c7fda1f9f448e70e1ee1ddc87bd49d97807bea6 /sysutils/gtop
parent0a5e73332a64f7f459f5d9abc396f2a67a6aa8df (diff)
downloadports-9a1ff4293bfc5ba8ab7b2b229875c113fc3dd3b4.tar.gz
ports-9a1ff4293bfc5ba8ab7b2b229875c113fc3dd3b4.zip
Notes
Diffstat (limited to 'sysutils/gtop')
-rw-r--r--sysutils/gtop/Makefile13
-rw-r--r--sysutils/gtop/distinfo2
-rw-r--r--sysutils/gtop/files/patch-ad47
-rw-r--r--sysutils/gtop/pkg-plist1
4 files changed, 29 insertions, 34 deletions
diff --git a/sysutils/gtop/Makefile b/sysutils/gtop/Makefile
index 138190bf1f2c..3aa42c25a54d 100644
--- a/sysutils/gtop/Makefile
+++ b/sysutils/gtop/Makefile
@@ -1,14 +1,16 @@
# New ports collection makefile for: gtop
-# Version required: 0.28.1
+# Version required: 0.99.0
# Date created: 28 September 1998
# Whom: Yukihiro Nakai <Nakai@technologist.com>
#
-# $Id: Makefile,v 1.1.1.1 1998/10/10 13:44:01 vanilla Exp $
+# $Id: Makefile,v 1.2 1998/10/12 06:13:47 vanilla Exp $
#
-DISTNAME= gtop-0.28.1
+DISTNAME= gtop-0.99.0
CATEGORIES= sysutils
-MASTER_SITES= ftp://ftp.home-of-linux.org/pub/gtop/0.28.1/
+MASTER_SITES= ftp://ftp.jimpick.com/pub/mirrors/gnome/sources/ \
+ ftp://ftp.gnome.org/pub/GNOME/sources/
+# ftp://ftp.home-of-linux.org/pub/gtop/0.28.1/
MAINTAINER= Nakai@technologist.com
@@ -22,7 +24,8 @@ CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
--with-gnome=${X11BASE}
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include \
-I${X11BASE}/include" \
- GTK_CONFIG="${X11BASE}/bin/gtk11-config" \
+ GTK_CONFIG="${X11BASE}/bin/gtk11d-config" \
+ GLIB_CONFIG="${LOCALBASE}/bin/glib11d-config" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lxpg4"
post-install:
diff --git a/sysutils/gtop/distinfo b/sysutils/gtop/distinfo
index 45ea256d8f24..007a3c63b77f 100644
--- a/sysutils/gtop/distinfo
+++ b/sysutils/gtop/distinfo
@@ -1 +1 @@
-MD5 (gtop-0.28.1.tar.gz) = 86366851eb08791d6259506bae236c62
+MD5 (gtop-0.99.0.tar.gz) = 3c369bcf458df14d1f83fc0282656756
diff --git a/sysutils/gtop/files/patch-ad b/sysutils/gtop/files/patch-ad
index dae8865cf55e..dd288606ce6a 100644
--- a/sysutils/gtop/files/patch-ad
+++ b/sysutils/gtop/files/patch-ad
@@ -1,40 +1,31 @@
---- main.c.orig Sun Sep 27 22:47:58 1998
-+++ main.c Wed Oct 14 02:36:27 1998
-@@ -2,7 +2,7 @@
-
- /*
- * gtop - gnome system monitor
- * Copyright (C) 1997,98 Radek Doulík
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
-@@ -31,6 +31,8 @@
+--- main.c.orig Thu Dec 17 05:10:26 1998
++++ main.c Fri Jan 1 13:55:58 1999
+@@ -32,6 +32,8 @@
#include <gnome.h>
+#include <floatingpoint.h>
+
- GtkWidget *window;
- GtkWidget *notebook;
- GtkNotebookPage *offPage;
-@@ -273,8 +275,11 @@
- int
- main (int argc, char *argv[])
- {
-+
- GnomeClient *client;
+ #include <glibtop/close.h>
-+ fpsetmask(fpgetmask() & ~(FP_X_DZ|FP_X_INV));
-+
- argp_program_version = VERSION;
+ #include <assert.h>
+@@ -149,6 +151,8 @@
+ poptContext ctx;
+ char **args;
++ fpsetmask (fpgetmask() & ~(FP_X_DZ|FP_X_INV));
++
bindtextdomain (PACKAGE, GNOMELOCALEDIR);
-@@ -363,5 +368,8 @@
- /* enter gtk main */
+ textdomain (PACKAGE);
+
+@@ -256,6 +260,9 @@
gtk_main ();
-
-+ fpresetsticky(FP_X_DZ|FP_X_INV);
-+ fpsetmask(FP_X_DZ|FP_X_INV);
+
+ glibtop_close ();
+-
++
++ fpresetsticky (FP_X_DZ|FP_X_INV);
++ fpsetmask (FP_X_DZ|FP_X_INV);
+
return 0;
}
diff --git a/sysutils/gtop/pkg-plist b/sysutils/gtop/pkg-plist
index c5b3e9b6e7d1..fbcc0c1551a4 100644
--- a/sysutils/gtop/pkg-plist
+++ b/sysutils/gtop/pkg-plist
@@ -1,4 +1,5 @@
bin/gtop
+share/gnome/apps/Utilities/gtop.desktop
share/gnome/gtoprc
share/locale/cs/LC_MESSAGES/gtop.mo
share/locale/de/LC_MESSAGES/gtop.mo