diff options
author | marcus <marcus@FreeBSD.org> | 2002-11-14 07:34:09 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-11-14 07:34:09 +0000 |
commit | 341ea3a042b72fffd04d06575f4532141ee5124e (patch) | |
tree | 0854cda5740fa0fa7a8705c9b84a83cba3942966 /sysutils/gnome-pkgview | |
parent | 9378f4dc8cb61db006a6bff5ae2cfe46677d7204 (diff) | |
download | FreeBSD-ports-341ea3a042b72fffd04d06575f4532141ee5124e.zip FreeBSD-ports-341ea3a042b72fffd04d06575f4532141ee5124e.tar.gz |
Add pkgview, a utility to determine the version of installed GNOME 2
components as well as determine the overall version of GNOME 2 installed.
Diffstat (limited to 'sysutils/gnome-pkgview')
-rw-r--r-- | sysutils/gnome-pkgview/Makefile | 35 | ||||
-rw-r--r-- | sysutils/gnome-pkgview/distinfo | 1 | ||||
-rw-r--r-- | sysutils/gnome-pkgview/files/patch-configure | 11 | ||||
-rw-r--r-- | sysutils/gnome-pkgview/files/patch-src_config-path.c | 13 | ||||
-rw-r--r-- | sysutils/gnome-pkgview/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/gnome-pkgview/pkg-descr | 6 | ||||
-rw-r--r-- | sysutils/gnome-pkgview/pkg-plist | 10 |
7 files changed, 77 insertions, 0 deletions
diff --git a/sysutils/gnome-pkgview/Makefile b/sysutils/gnome-pkgview/Makefile new file mode 100644 index 0000000..ff1ab84 --- /dev/null +++ b/sysutils/gnome-pkgview/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: pkgview +# Date created: 14 November 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= pkgview +PORTVERSION= 0.0.6 +CATEGORIES= sysutils gnome +MASTER_SITES= http://www.gtnorthern.demon.co.uk/packages/pkgview/ + +MAINTAINER= gnome@FreeBSD.org + +LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_GMAKE= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack gnomehier +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + -e 's|%%X11BASE%%|${X11BASE}|g' \ + ${WRKSRC}/src/config-path.c + +.include <bsd.port.mk> diff --git a/sysutils/gnome-pkgview/distinfo b/sysutils/gnome-pkgview/distinfo new file mode 100644 index 0000000..c131d0e --- /dev/null +++ b/sysutils/gnome-pkgview/distinfo @@ -0,0 +1 @@ +MD5 (pkgview-0.0.6.tar.bz2) = 8e0b419294f812e4a45333073d014729 diff --git a/sysutils/gnome-pkgview/files/patch-configure b/sysutils/gnome-pkgview/files/patch-configure new file mode 100644 index 0000000..a8e15c3 --- /dev/null +++ b/sysutils/gnome-pkgview/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Thu Nov 14 02:31:45 2002 ++++ configure Thu Nov 14 02:31:56 2002 +@@ -3991,7 +3991,7 @@ + + + cat >>confdefs.h <<_ACEOF +-#define GNOME_ICONDIR "${prefix}/share/pixmaps" ++#define GNOME_ICONDIR "${prefix}/share/gnome/pixmaps" + _ACEOF + + diff --git a/sysutils/gnome-pkgview/files/patch-src_config-path.c b/sysutils/gnome-pkgview/files/patch-src_config-path.c new file mode 100644 index 0000000..2eed982 --- /dev/null +++ b/sysutils/gnome-pkgview/files/patch-src_config-path.c @@ -0,0 +1,13 @@ +--- src/config-path.c.orig Thu Nov 14 02:23:41 2002 ++++ src/config-path.c Thu Nov 14 02:29:54 2002 +@@ -14,9 +14,7 @@ + pkgs_found = 0; + + /* parse the PKG_CONFIG_PATH env var, and add a terminator */ +- if ( getenv ("PKG_CONFIG_PATH") ) { +- path = g_strconcat(getenv("PKG_CONFIG_PATH"),":DIRS_DONE",NULL); +- } ++ path = "%%LOCALBASE%%/libdata/pkgconfig:%%X11BASE%%/libdata/pkgconfig:DIRS_DONE"; + + /* walk the PKG_CONFIG_PATH for other files */ + if ( path ) { diff --git a/sysutils/gnome-pkgview/pkg-comment b/sysutils/gnome-pkgview/pkg-comment new file mode 100644 index 0000000..09a3998 --- /dev/null +++ b/sysutils/gnome-pkgview/pkg-comment @@ -0,0 +1 @@ +Displays the version of GNOME 2 components installed diff --git a/sysutils/gnome-pkgview/pkg-descr b/sysutils/gnome-pkgview/pkg-descr new file mode 100644 index 0000000..968f1da --- /dev/null +++ b/sysutils/gnome-pkgview/pkg-descr @@ -0,0 +1,6 @@ +Pkgview is an application that displays the versions of all installed GNOME 2 +components, then tries to guess the overall GNOME 2 version. This tool +can be very useful when trying to report bugs in GNOME's Bugzilla +database. + +WWW: http://www.gtnorthern.demon.co.uk/pkgview.html diff --git a/sysutils/gnome-pkgview/pkg-plist b/sysutils/gnome-pkgview/pkg-plist new file mode 100644 index 0000000..09d6504 --- /dev/null +++ b/sysutils/gnome-pkgview/pkg-plist @@ -0,0 +1,10 @@ +bin/pkgview +share/gnome/applications/pkgview.desktop +share/gnome/pixmaps/pkgview/logo.png +share/gnome/pixmaps/pkgview/pkgview.png +share/locale/da/LC_MESSAGES/pkgview.mo +share/locale/de/LC_MESSAGES/pkgview.mo +share/locale/en_GB/LC_MESSAGES/pkgview.mo +share/locale/ja/LC_MESSAGES/pkgview.mo +share/locale/nl/LC_MESSAGES/pkgview.mo +@dirrm share/gnome/pixmaps/pkgview |