summaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-11-12 22:54:08 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-11-12 22:54:08 +0000
commit59471bbadfac9ae0f959315025716e0bb6cf8950 (patch)
treede9da644724d3e15e2b58acf14985ab4e23ab6ec /deskutils
parentAdd mdh, which is kindof like the GNOME panel except not. (diff)
Author took all the FreeBSD-specific patches from the port and
incorporated them into the tarball. And then, just to be sneaky, he re-rolled the tarball with the same version number. The patches and REINPLACEs are now gone, and I've bumped PORTREVISION.
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/mdh/Makefile6
-rw-r--r--deskutils/mdh/distinfo2
-rw-r--r--deskutils/mdh/files/patch-src::mdh_panel_temp.c13
-rw-r--r--deskutils/mdh/files/patch-src::mdh_panel_uptime.c19
4 files changed, 2 insertions, 38 deletions
diff --git a/deskutils/mdh/Makefile b/deskutils/mdh/Makefile
index c56bdbf518db..397260b222b5 100644
--- a/deskutils/mdh/Makefile
+++ b/deskutils/mdh/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mdh
PORTVERSION= 1.9.54
+PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= http://www.gozer.org/my_stuff/gtk/gtk/mdh/
@@ -16,15 +17,10 @@ COMMENT= GTK2-based toolbar, sortof a gnomepanel replacement sortof
USE_X_PREFIX= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
-USE_REINPLACE= yes
USE_GNOME= gnomehack gnomeprefix gnometarget gtk20
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-post-patch:
- @${REINPLACE_CMD} -e "s|<wait.h>|<sys/wait.h>|" \
- ${WRKSRC}/src/mdh.c ${WRKSRC}/src/mdh_panel_temp.c
-
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
.ifndef(NOPORTDOCS)
diff --git a/deskutils/mdh/distinfo b/deskutils/mdh/distinfo
index ce1c458dddb4..2a57dab42bae 100644
--- a/deskutils/mdh/distinfo
+++ b/deskutils/mdh/distinfo
@@ -1 +1 @@
-MD5 (mdh-1.9.54.tar.bz2) = eaacc354521d01a9a41aec9c147e9fe8
+MD5 (mdh-1.9.54.tar.bz2) = 8f751e214bb287797915aba5a2143d18
diff --git a/deskutils/mdh/files/patch-src::mdh_panel_temp.c b/deskutils/mdh/files/patch-src::mdh_panel_temp.c
deleted file mode 100644
index 6bdc3982c6ea..000000000000
--- a/deskutils/mdh/files/patch-src::mdh_panel_temp.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/mdh_panel_temp.c.orig Wed Nov 12 05:36:52 2003
-+++ src/mdh_panel_temp.c Wed Nov 12 05:37:28 2003
-@@ -33,9 +33,9 @@
- #include <string.h>
- #include <stdarg.h>
- #include <errno.h>
-+#include <sys/types.h>
- #include <regex.h>
- #include <signal.h>
--#include <sys/types.h>
- #include <sys/stat.h>
- #include <time.h>
- #include <wait.h>
diff --git a/deskutils/mdh/files/patch-src::mdh_panel_uptime.c b/deskutils/mdh/files/patch-src::mdh_panel_uptime.c
deleted file mode 100644
index 414b7f5e6f77..000000000000
--- a/deskutils/mdh/files/patch-src::mdh_panel_uptime.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/mdh_panel_uptime.c.orig Wed Nov 12 05:38:41 2003
-+++ src/mdh_panel_uptime.c Wed Nov 12 05:45:55 2003
-@@ -40,6 +40,7 @@
-
- #ifdef BSD4_4
- #include <sys/sysctl.h>
-+#include <sys/time.h>
- #endif
-
- #ifdef __sun__
-@@ -227,7 +228,7 @@
-
- #ifdef BSD4_4
- if(sysctl(mib, 2, &btime, &size, NULL, 0) != -1 && btime.tv_sec != 0)
-- sec = (time(NULL) - boottime.tv_sec) + 30;
-+ sec = (time(NULL) - btime.tv_sec) + 30;
- #endif
-
- *seconds = sec;