diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-01-26 14:06:07 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-01-26 14:06:07 +0800 |
commit | 1e70059bbae7773d93867dd9a638183d5f1d5e6a (patch) | |
tree | 1933a3a73c0372c21767b24330d760b02380d32c | |
parent | c117f90c814bfc6e67560f533fb056e5cd60d777 (diff) | |
download | marcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.tar marcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.tar.gz marcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.tar.bz2 marcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.tar.lz marcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.tar.xz marcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.tar.zst marcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.zip |
Add gnome-pkgview.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@460 df743ca5-7f9a-e211-a948-0013205c9059
-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 | 15 |
7 files changed, 82 insertions, 0 deletions
diff --git a/sysutils/gnome-pkgview/Makefile b/sysutils/gnome-pkgview/Makefile new file mode 100644 index 000000000..5a3115c13 --- /dev/null +++ b/sysutils/gnome-pkgview/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: gnome-pkgview +# Date created: 20 November 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/sysutils/gnome-pkgview/Makefile,v 1.3 2003/01/19 19:58:11 marcus Exp $ +# + +PORTNAME= gnome-pkgview +PORTVERSION= 0.0.8 +CATEGORIES= sysutils gnome +MASTER_SITES= http://www.gtnorthern.demon.co.uk/packages/gnome-pkgview/ + +MAINTAINER= gnome@FreeBSD.org + +LIB_DEPENDS= gnomeui-2.200:${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 000000000..3da020add --- /dev/null +++ b/sysutils/gnome-pkgview/distinfo @@ -0,0 +1 @@ +MD5 (gnome-pkgview-0.0.8.tar.bz2) = 2985d721484d4a97c7f40c726b906fc7 diff --git a/sysutils/gnome-pkgview/files/patch-configure b/sysutils/gnome-pkgview/files/patch-configure new file mode 100644 index 000000000..a8e15c3c2 --- /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 000000000..2eed9821d --- /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 000000000..09a399813 --- /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 000000000..968f1daf5 --- /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 000000000..3984e533e --- /dev/null +++ b/sysutils/gnome-pkgview/pkg-plist @@ -0,0 +1,15 @@ +bin/gnome-pkgview +share/gnome/applications/gnome-pkgview.desktop +share/gnome/pixmaps/gnome-pkgview/logo.png +share/gnome/pixmaps/gnome-pkgview/pkgview.png +share/locale/ca/LC_MESSAGES/gnome-pkgview.mo +share/locale/da/LC_MESSAGES/gnome-pkgview.mo +share/locale/de/LC_MESSAGES/gnome-pkgview.mo +share/locale/en_GB/LC_MESSAGES/gnome-pkgview.mo +share/locale/eo/LC_MESSAGES/gnome-pkgview.mo +share/locale/es/LC_MESSAGES/gnome-pkgview.mo +share/locale/fr/LC_MESSAGES/gnome-pkgview.mo +share/locale/it/LC_MESSAGES/gnome-pkgview.mo +share/locale/ja/LC_MESSAGES/gnome-pkgview.mo +share/locale/nl/LC_MESSAGES/gnome-pkgview.mo +@dirrm share/gnome/pixmaps/gnome-pkgview |