From 9a95b8c465cbf94ba6b58df1b81eb3da26c091b4 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 7 Oct 2002 21:51:09 +0000 Subject: Add gconf2. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6 df743ca5-7f9a-e211-a948-0013205c9059 --- devel/gconf2/Makefile | 45 ++++++++++++ devel/gconf2/distinfo | 1 + devel/gconf2/files/patch-ab | 11 +++ devel/gconf2/files/patch-backends::bdb-backend.c | 17 +++++ devel/gconf2/files/patch-configure | 22 ++++++ devel/gconf2/files/patch-gconf::gconf-internals.c | 15 ++++ devel/gconf2/pkg-comment | 1 + devel/gconf2/pkg-descr | 4 + devel/gconf2/pkg-plist | 89 +++++++++++++++++++++++ 9 files changed, 205 insertions(+) create mode 100644 devel/gconf2/Makefile create mode 100644 devel/gconf2/distinfo create mode 100644 devel/gconf2/files/patch-ab create mode 100644 devel/gconf2/files/patch-backends::bdb-backend.c create mode 100644 devel/gconf2/files/patch-configure create mode 100644 devel/gconf2/files/patch-gconf::gconf-internals.c create mode 100644 devel/gconf2/pkg-comment create mode 100644 devel/gconf2/pkg-descr create mode 100644 devel/gconf2/pkg-plist (limited to 'devel') diff --git a/devel/gconf2/Makefile b/devel/gconf2/Makefile new file mode 100644 index 000000000..979d280ad --- /dev/null +++ b/devel/gconf2/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: gconf2 +# Date created: 28th June 2000 +# Whom: Ade Lovett +# +# $FreeBSD: ports/devel/gconf2/Makefile,v 1.45 2002/09/20 17:06:25 marcus Exp $ +# + +PORTNAME= gconf2 +PORTVERSION= 1.2.1 +PORTREVISION= 1 +CATEGORIES= devel gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/GConf/1.2 +DISTNAME= GConf-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org + +LIB_DEPENDS= ORBit-2.0:${PORTSDIR}/devel/ORBit2 \ + xml2.5:${PORTSDIR}/textproc/libxml2 \ + gtk-x11-2.0.100:${PORTSDIR}/x11-toolkits/gtk20 + +USE_BZIP2= yes +USE_GMAKE= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_GNOMENG= yes +USE_GNOME= gnomehack gnomehier +INSTALLS_SHLIB= yes +USE_LIBTOOL= yes +CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-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 + +post-install: + @${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults/apps + @${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults/schemas/apps + @${MKDIR} ${PREFIX}/etc/gconf/schemas + +.include diff --git a/devel/gconf2/distinfo b/devel/gconf2/distinfo new file mode 100644 index 000000000..cf74a49ff --- /dev/null +++ b/devel/gconf2/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/GConf-1.2.1.tar.bz2) = 4e5ffdebd7dbf6d86459f6e57f8d772c diff --git a/devel/gconf2/files/patch-ab b/devel/gconf2/files/patch-ab new file mode 100644 index 000000000..6f25900e7 --- /dev/null +++ b/devel/gconf2/files/patch-ab @@ -0,0 +1,11 @@ +--- Makefile.in.orig Sun Aug 4 22:38:39 2002 ++++ Makefile.in Sun Aug 4 22:39:52 2002 +@@ -35,7 +35,7 @@ + DESTDIR = + + pkgdatadir = $(datadir)/@PACKAGE@ +-pkglibdir = $(libdir)/@PACKAGE@ ++pkglibdir = $(prefix)/libdata/pkgconfig + pkgincludedir = $(includedir)/@PACKAGE@ + + top_builddir = . diff --git a/devel/gconf2/files/patch-backends::bdb-backend.c b/devel/gconf2/files/patch-backends::bdb-backend.c new file mode 100644 index 000000000..5eb86a774 --- /dev/null +++ b/devel/gconf2/files/patch-backends::bdb-backend.c @@ -0,0 +1,17 @@ + +$FreeBSD: ports/devel/gconf2/files/patch-backends::bdb-backend.c,v 1.2 2002/02/16 09:13:28 sobomax Exp $ + +--- backends/bdb-backend.c 2002/02/15 19:10:46 1.1 ++++ backends/bdb-backend.c 2002/02/15 19:11:25 +@@ -29,10 +29,9 @@ + #include + #include + ++#include "config.h" + #include "bdb.h" + #include "dir-utils.h" +- +-#include + + #include + #include diff --git a/devel/gconf2/files/patch-configure b/devel/gconf2/files/patch-configure new file mode 100644 index 000000000..d2f41ed8f --- /dev/null +++ b/devel/gconf2/files/patch-configure @@ -0,0 +1,22 @@ + +$FreeBSD: ports/devel/gconf2/files/patch-configure,v 1.6 2002/04/26 09:30:55 sobomax Exp $ + +--- configure.orig Fri Apr 26 12:18:08 2002 ++++ configure Fri Apr 26 12:18:36 2002 +@@ -6797,6 +6797,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -7513,7 +7514,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + +- for db3libs in "-ldb-3.3" "-ldb-3.2" "-ldb-3.1" "-ldb-3"; do ++ for db3libs in "-ldb-3.3" "-ldb-3.2" "-ldb-3.1" "-ldb-3" "-ldb3"; do + if test "x${with_db3_libs}" != "x"; then + LIBS="$LIBS -L$with_db3_libs $db3libs" + else diff --git a/devel/gconf2/files/patch-gconf::gconf-internals.c b/devel/gconf2/files/patch-gconf::gconf-internals.c new file mode 100644 index 000000000..9ba0e7f6f --- /dev/null +++ b/devel/gconf2/files/patch-gconf::gconf-internals.c @@ -0,0 +1,15 @@ + +$FreeBSD: ports/devel/gconf2/files/patch-gconf::gconf-internals.c,v 1.2 2002/02/16 09:13:28 sobomax Exp $ + +--- gconf/gconf-internals.c 2002/02/15 19:13:07 1.1 ++++ gconf/gconf-internals.c 2002/02/15 19:13:32 +@@ -26,6 +26,9 @@ + #include + #include + #include ++#include ++#include ++#include + #include + #include + #include diff --git a/devel/gconf2/pkg-comment b/devel/gconf2/pkg-comment new file mode 100644 index 000000000..a28ad7d9f --- /dev/null +++ b/devel/gconf2/pkg-comment @@ -0,0 +1 @@ +A configuration database system for GNOME diff --git a/devel/gconf2/pkg-descr b/devel/gconf2/pkg-descr new file mode 100644 index 000000000..c4f8b27a2 --- /dev/null +++ b/devel/gconf2/pkg-descr @@ -0,0 +1,4 @@ +GConf is a configuration database system for the GNOME desktop, +functionally similar to the Windows registry but lots better :-) + +WWW: http://www.gnome.org/projects/gconf/ diff --git a/devel/gconf2/pkg-plist b/devel/gconf2/pkg-plist new file mode 100644 index 000000000..180dc0cbf --- /dev/null +++ b/devel/gconf2/pkg-plist @@ -0,0 +1,89 @@ +bin/gconftool-2 +etc/gconf/2/path +include/gconf/2/gconf/gconf-changeset.h +include/gconf/2/gconf/gconf-client.h +include/gconf/2/gconf/gconf-engine.h +include/gconf/2/gconf/gconf-enum-types.h +include/gconf/2/gconf/gconf-error.h +include/gconf/2/gconf/gconf-listeners.h +include/gconf/2/gconf/gconf-schema.h +include/gconf/2/gconf/gconf-value.h +include/gconf/2/gconf/gconf.h +lib/GConf/2/libgconfbackend-xml.so +lib/libgconf-2.a +lib/libgconf-2.so +lib/libgconf-2.so.5 +libdata/pkgconfig/gconf-2.0.pc +libexec/gconf-sanity-check-2 +libexec/gconfd-2 +share/aclocal/gconf-2.m4 +share/doc/gconf/c120.html +share/doc/gconf/c21.html +share/doc/gconf/c381.html +share/doc/gconf/c490.html +share/doc/gconf/conventions.html +share/doc/gconf/gconf-client-reference.html +share/doc/gconf/gconf-client.html +share/doc/gconf/gconf-gconf-backend.html +share/doc/gconf/gconf-gconf-changeset.html +share/doc/gconf/gconf-gconf-engine.html +share/doc/gconf/gconf-gconf-error.html +share/doc/gconf/gconf-gconf-internals.html +share/doc/gconf/gconf-gconf-listeners.html +share/doc/gconf/gconf-gconf-locale.html +share/doc/gconf/gconf-gconf-schema.html +share/doc/gconf/gconf-gconf-sources.html +share/doc/gconf/gconf-gconf-value.html +share/doc/gconf/gconf-gconf.html +share/doc/gconf/gconf-internals-reference.html +share/doc/gconf/gconf-reference.html +share/doc/gconf/gconfclient.html +share/doc/gconf/gconftool.html +share/doc/gconf/index.html +share/doc/gconf/index.sgml +share/doc/gconf/x184.html +share/doc/gconf/x236.html +share/doc/gconf/x289.html +share/doc/gconf/x42.html +share/doc/gconf/x462.html +share/doc/gconf/x485.html +share/locale/ar/LC_MESSAGES/GConf2.mo +share/locale/az/LC_MESSAGES/GConf2.mo +share/locale/bg/LC_MESSAGES/GConf2.mo +share/locale/ca/LC_MESSAGES/GConf2.mo +share/locale/cs/LC_MESSAGES/GConf2.mo +share/locale/da/LC_MESSAGES/GConf2.mo +share/locale/de/LC_MESSAGES/GConf2.mo +share/locale/el/LC_MESSAGES/GConf2.mo +share/locale/es/LC_MESSAGES/GConf2.mo +share/locale/eu/LC_MESSAGES/GConf2.mo +share/locale/fi/LC_MESSAGES/GConf2.mo +share/locale/fr/LC_MESSAGES/GConf2.mo +share/locale/ga/LC_MESSAGES/GConf2.mo +share/locale/gl/LC_MESSAGES/GConf2.mo +share/locale/hu/LC_MESSAGES/GConf2.mo +share/locale/it/LC_MESSAGES/GConf2.mo +share/locale/ja/LC_MESSAGES/GConf2.mo +share/locale/ko/LC_MESSAGES/GConf2.mo +share/locale/ms/LC_MESSAGES/GConf2.mo +share/locale/nl/LC_MESSAGES/GConf2.mo +share/locale/nn/LC_MESSAGES/GConf2.mo +share/locale/no/LC_MESSAGES/GConf2.mo +share/locale/pl/LC_MESSAGES/GConf2.mo +share/locale/pt/LC_MESSAGES/GConf2.mo +share/locale/pt_BR/LC_MESSAGES/GConf2.mo +share/locale/ro/LC_MESSAGES/GConf2.mo +share/locale/ru/LC_MESSAGES/GConf2.mo +share/locale/sk/LC_MESSAGES/GConf2.mo +share/locale/sl/LC_MESSAGES/GConf2.mo +share/locale/sv/LC_MESSAGES/GConf2.mo +share/locale/tr/LC_MESSAGES/GConf2.mo +share/locale/uk/LC_MESSAGES/GConf2.mo +share/locale/vi/LC_MESSAGES/GConf2.mo +share/locale/zh_CN/LC_MESSAGES/GConf2.mo +share/locale/zh_TW/LC_MESSAGES/GConf2.mo +@dirrm share/doc/gconf +@dirrm lib/GConf/2 +@dirrm include/gconf/2/gconf +@dirrm include/gconf/2 +@dirrm etc/gconf/2 -- cgit v1.2.3