aboutsummaryrefslogtreecommitdiff
path: root/devel/libgtop2
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-06-01 16:10:38 +0000
committerAde Lovett <ade@FreeBSD.org>2000-06-01 16:10:38 +0000
commit1ecc592d8c0f766d78b1cd5cd0639a82cba48dd1 (patch)
treef3a64f821d9a3948862b11e80f4879b827fecfc7 /devel/libgtop2
parent5df7ac46c165a290e3d709d4080d1f2d65a168d9 (diff)
downloadports-1ecc592d8c0f766d78b1cd5cd0639a82cba48dd1.tar.gz
ports-1ecc592d8c0f766d78b1cd5cd0639a82cba48dd1.zip
Notes
Diffstat (limited to 'devel/libgtop2')
-rw-r--r--devel/libgtop2/Makefile12
-rw-r--r--devel/libgtop2/distinfo2
-rw-r--r--devel/libgtop2/files/patch-ai6
-rw-r--r--devel/libgtop2/pkg-plist2
4 files changed, 15 insertions, 7 deletions
diff --git a/devel/libgtop2/Makefile b/devel/libgtop2/Makefile
index 4fb7f22d24f6..c1fb3638504c 100644
--- a/devel/libgtop2/Makefile
+++ b/devel/libgtop2/Makefile
@@ -6,14 +6,14 @@
#
PORTNAME= libgtop
-PORTVERSION= 1.0.7
+PORTVERSION= 1.0.9
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/libgtop
MAINTAINER= ade@FreeBSD.org
-LIB_DEPENDS= gnome.3:${PORTSDIR}/x11/gnomelibs \
+LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
guile.6:${PORTSDIR}/lang/guile
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
@@ -25,4 +25,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GLIB_CONFIG="${GLIB_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
+post-install:
+ if [ ! -f ${PREFIX}/info/dir ]; then \
+ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
+ fi
+ install-info --section="Programming \& development tools" \
+ --entry="* libgtop: (libgtop). libgtop programming manual" \
+ ${PREFIX}/info/libgtop.info ${PREFIX}/info/dir
+
.include <bsd.port.mk>
diff --git a/devel/libgtop2/distinfo b/devel/libgtop2/distinfo
index ef3c8ba688dd..6aa41c151b09 100644
--- a/devel/libgtop2/distinfo
+++ b/devel/libgtop2/distinfo
@@ -1 +1 @@
-MD5 (libgtop-1.0.7.tar.gz) = 5853822967955a172978142156dbc010
+MD5 (libgtop-1.0.9.tar.gz) = 714ace1260fba2a6fe198c4a7672bb9e
diff --git a/devel/libgtop2/files/patch-ai b/devel/libgtop2/files/patch-ai
index ff5209b34698..bf211b5c1526 100644
--- a/devel/libgtop2/files/patch-ai
+++ b/devel/libgtop2/files/patch-ai
@@ -1,11 +1,11 @@
---- sysdeps/freebsd/msg_limits.c.orig Sat May 27 14:19:11 2000
-+++ sysdeps/freebsd/msg_limits.c Sat May 27 14:21:05 2000
+--- sysdeps/freebsd/msg_limits.c.orig Sun Feb 13 09:47:58 2000
++++ sysdeps/freebsd/msg_limits.c Fri May 26 13:36:23 2000
@@ -46,7 +46,7 @@
/* #define KERNEL to get declaration of `struct msginfo'. */
-#if (defined __FreeBSD__) || (defined __bsdi__)
-+#if (defined(__FreeBSD__) && __FreeBSD__ < 5) || (defined __bsdi__)
++#if ((defined __FreeBSD__) && (__FreeBSD_version < 500000)) || (defined __bsdi__)
#define KERNEL 1
#else
#define _KERNEL 1
diff --git a/devel/libgtop2/pkg-plist b/devel/libgtop2/pkg-plist
index 7e55aba7dde8..09ca13e473f6 100644
--- a/devel/libgtop2/pkg-plist
+++ b/devel/libgtop2/pkg-plist
@@ -49,7 +49,7 @@ include/glibtop_server.h
include/glibtop_suid.h
@unexec install-info --delete %D/info/libgtop.info %D/info/dir
info/libgtop.info
-@exec install-info %D/info/libgtop.info %D/info/dir
+@exec install-info --section="Programming \& development tools" --entry="* libgtop: (libgtop). libgtop programming manual" %D/info/libgtop.info %D/info/dir
lib/libgtop.a
lib/libgtop.so
lib/libgtop.so.1