diff options
-rw-r--r-- | devel/libgsf-gnome/Makefile | 32 | ||||
-rw-r--r-- | devel/libgsf-gnome/pkg-descr | 3 | ||||
-rw-r--r-- | devel/libgsf-gnome/pkg-plist | 10 | ||||
-rw-r--r-- | devel/libgsf/Makefile | 32 | ||||
-rw-r--r-- | devel/libgsf/distinfo | 2 | ||||
-rw-r--r-- | devel/libgsf/files/patch-gsf-gnome-Makefile.in | 45 | ||||
-rw-r--r-- | devel/libgsf/files/patch-gsf_gsf-shared-memory.c | 10 | ||||
-rw-r--r-- | devel/libgsf/pkg-descr | 2 | ||||
-rw-r--r-- | devel/libgsf/pkg-plist | 81 |
9 files changed, 217 insertions, 0 deletions
diff --git a/devel/libgsf-gnome/Makefile b/devel/libgsf-gnome/Makefile new file mode 100644 index 000000000..fc7254625 --- /dev/null +++ b/devel/libgsf-gnome/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: libgsf +# Date created: 11 September 2002 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD: ports/devel/libgsf-gnome/Makefile,v 1.4 2005/03/12 10:39:16 marcus Exp $ +# + +CATEGORIES= devel gnome +PKGNAMESUFFIX= -gnome + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A GNOME wrapper for libgsf + +MASTERDIR= ${.CURDIR}/../libgsf +DESCR= ${.CURDIR}/pkg-descr +PLIST= ${.CURDIR}/pkg-plist + +USE_GNOME= gnomehack libgsf gnomevfs2 +CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc/gsf \ + --disable-gtk-doc --with-bz2 --with-gnome +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -lgsf-1" + +do-build: + @cd ${WRKSRC}/gsf-gnome && ${MAKE} + +do-install: + cd ${WRKSRC}/gsf-gnome && ${MAKE} install + ${MKDIR} ${PREFIX}/libdata/pkgconfig + ${INSTALL_DATA} ${WRKSRC}/libgsf-gnome-1.pc ${PREFIX}/libdata/pkgconfig + +.include "${MASTERDIR}/Makefile" diff --git a/devel/libgsf-gnome/pkg-descr b/devel/libgsf-gnome/pkg-descr new file mode 100644 index 000000000..0252aadf0 --- /dev/null +++ b/devel/libgsf-gnome/pkg-descr @@ -0,0 +1,3 @@ +The library is a bonobo and gnomevfs wrapper for libgsf, providing a high level +API for GNOME applications to access and exchange various structured file +formats. diff --git a/devel/libgsf-gnome/pkg-plist b/devel/libgsf-gnome/pkg-plist new file mode 100644 index 000000000..4665e4907 --- /dev/null +++ b/devel/libgsf-gnome/pkg-plist @@ -0,0 +1,10 @@ +include/libgsf-1/gsf-gnome/gsf-input-bonobo.h +include/libgsf-1/gsf-gnome/gsf-input-gnomevfs.h +include/libgsf-1/gsf-gnome/gsf-output-bonobo.h +include/libgsf-1/gsf-gnome/gsf-output-gnomevfs.h +include/libgsf-1/gsf-gnome/gsf-shared-bonobo-stream.h +lib/libgsf-gnome-1.a +lib/libgsf-gnome-1.so +lib/libgsf-gnome-1.so.13 +libdata/pkgconfig/libgsf-gnome-1.pc +@dirrm include/libgsf-1/gsf-gnome diff --git a/devel/libgsf/Makefile b/devel/libgsf/Makefile new file mode 100644 index 000000000..896c425ff --- /dev/null +++ b/devel/libgsf/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: libgsf +# Date created: 11 September 2002 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD: ports/devel/libgsf/Makefile,v 1.22 2005/03/12 10:39:15 marcus Exp $ +# + +PORTNAME= libgsf +PORTVERSION= 1.12.0 +CATEGORIES?= devel +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT?= An extensible i/o abstraction for dealing with structured file formats + +.if !exists(/usr/lib/libbz2.so.1) +LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2 +.endif + +USE_BZIP2= yes +USE_GMAKE= yes +INSTALLS_SHLIB= yes +USE_GNOME?= gnomehack glib20 libxml2 +USE_LIBTOOL_VER=15 +CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \ + --disable-gtk-doc --without-gnome --with-bz2 +CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.include <bsd.port.mk> diff --git a/devel/libgsf/distinfo b/devel/libgsf/distinfo new file mode 100644 index 000000000..a40755495 --- /dev/null +++ b/devel/libgsf/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/libgsf-1.12.0.tar.bz2) = 34c4672edd2e4e814fb82d7b94d71ffd +SIZE (gnome2/libgsf-1.12.0.tar.bz2) = 437842 diff --git a/devel/libgsf/files/patch-gsf-gnome-Makefile.in b/devel/libgsf/files/patch-gsf-gnome-Makefile.in new file mode 100644 index 000000000..da0612a03 --- /dev/null +++ b/devel/libgsf/files/patch-gsf-gnome-Makefile.in @@ -0,0 +1,45 @@ +--- gsf-gnome/Makefile.in.orig Tue Jun 7 19:33:30 2005 ++++ gsf-gnome/Makefile.in Tue Jun 7 19:35:54 2005 +@@ -172,7 +172,7 @@ + + @WITH_LIBGSF_GNOME_TRUE@lib_LTLIBRARIES = libgsf-gnome-1.la + +-@WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_la_LIBADD = $(top_builddir)/gsf/libgsf-1.la $(LIBGSF_GNOME_LIBS) ++@WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_la_LIBADD = $(LIBGSF_GNOME_LIBS) + @WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_la_LDFLAGS = -version-info $(VERSION_INFO) + @WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_la_SOURCES = \ + @WITH_LIBGSF_GNOME_TRUE@ gsf-input-gnomevfs.c \ +@@ -181,14 +181,15 @@ + @WITH_LIBGSF_GNOME_TRUE@ gsf-output-bonobo.c \ + @WITH_LIBGSF_GNOME_TRUE@ gsf-shared-bonobo-stream.c + +- +-libgsf_gnome_1_includedir = $(includedir)/libgsf-1/gsf-gnome +-libgsf_gnome_1_include_HEADERS = \ +- gsf-input-gnomevfs.h \ +- gsf-output-gnomevfs.h \ +- gsf-input-bonobo.h \ +- gsf-output-bonobo.h \ +- gsf-shared-bonobo-stream.h ++@WITH_LIBGSF_GNOME_FALSE@libgsf_gnome_1_includedir = ++@WITH_LIBGSF_GNOME_FALSE@libgsf_gnome_1_include_HEADERS = ++@WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_includedir = $(includedir)/libgsf-1/gsf-gnome ++@WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_include_HEADERS = \ ++@WITH_LIBGSF_GNOME_TRUE@ gsf-input-gnomevfs.h \ ++@WITH_LIBGSF_GNOME_TRUE@ gsf-output-gnomevfs.h \ ++@WITH_LIBGSF_GNOME_TRUE@ gsf-input-bonobo.h \ ++@WITH_LIBGSF_GNOME_TRUE@ gsf-output-bonobo.h \ ++@WITH_LIBGSF_GNOME_TRUE@ gsf-shared-bonobo-stream.h + + subdir = gsf-gnome + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +@@ -197,8 +198,7 @@ + CONFIG_CLEAN_FILES = + LTLIBRARIES = $(lib_LTLIBRARIES) + +-@WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_la_DEPENDENCIES = \ +-@WITH_LIBGSF_GNOME_TRUE@ $(top_builddir)/gsf/libgsf-1.la ++@WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_la_DEPENDENCIES = + @WITH_LIBGSF_GNOME_FALSE@libgsf_gnome_1_la_DEPENDENCIES = + am__libgsf_gnome_1_la_SOURCES_DIST = gsf-input-gnomevfs.c \ + gsf-output-gnomevfs.c gsf-input-bonobo.c gsf-output-bonobo.c \ diff --git a/devel/libgsf/files/patch-gsf_gsf-shared-memory.c b/devel/libgsf/files/patch-gsf_gsf-shared-memory.c new file mode 100644 index 000000000..03f4e6379 --- /dev/null +++ b/devel/libgsf/files/patch-gsf_gsf-shared-memory.c @@ -0,0 +1,10 @@ +--- gsf/gsf-shared-memory.c.orig Wed Sep 11 23:58:35 2002 ++++ gsf/gsf-shared-memory.c Wed Sep 11 23:58:46 2002 +@@ -21,6 +21,7 @@ + #include <gsf-config.h> + #include <gsf/gsf-shared-memory.h> + #include <gsf/gsf-impl-utils.h> ++#include <sys/types.h> + + #ifdef HAVE_MMAP + #include <sys/mman.h> diff --git a/devel/libgsf/pkg-descr b/devel/libgsf/pkg-descr new file mode 100644 index 000000000..258f82307 --- /dev/null +++ b/devel/libgsf/pkg-descr @@ -0,0 +1,2 @@ +The library aims to provide an efficient extensible i/o abstraction for +dealing with different structured file formats. diff --git a/devel/libgsf/pkg-plist b/devel/libgsf/pkg-plist new file mode 100644 index 000000000..facf47c09 --- /dev/null +++ b/devel/libgsf/pkg-plist @@ -0,0 +1,81 @@ +include/libgsf-1/gsf-win32/gsf-input-win32.h +include/libgsf-1/gsf-win32/gsf-output-win32.h +include/libgsf-1/gsf/gsf-doc-meta-data.h +include/libgsf-1/gsf/gsf-docprop-vector.h +include/libgsf-1/gsf/gsf-impl-utils.h +include/libgsf-1/gsf/gsf-infile-impl.h +include/libgsf-1/gsf/gsf-infile-msole.h +include/libgsf-1/gsf/gsf-infile-msvba.h +include/libgsf-1/gsf/gsf-infile-stdio.h +include/libgsf-1/gsf/gsf-infile-zip.h +include/libgsf-1/gsf/gsf-infile.h +include/libgsf-1/gsf/gsf-input-bzip.h +include/libgsf-1/gsf/gsf-input-gzip.h +include/libgsf-1/gsf/gsf-input-impl.h +include/libgsf-1/gsf/gsf-input-iochannel.h +include/libgsf-1/gsf/gsf-input-memory.h +include/libgsf-1/gsf/gsf-input-proxy.h +include/libgsf-1/gsf/gsf-input-stdio.h +include/libgsf-1/gsf/gsf-input-textline.h +include/libgsf-1/gsf/gsf-input.h +include/libgsf-1/gsf/gsf-libxml.h +include/libgsf-1/gsf/gsf-meta-names.h +include/libgsf-1/gsf/gsf-msole-utils.h +include/libgsf-1/gsf/gsf-outfile-impl.h +include/libgsf-1/gsf/gsf-outfile-msole.h +include/libgsf-1/gsf/gsf-outfile-stdio.h +include/libgsf-1/gsf/gsf-outfile-zip.h +include/libgsf-1/gsf/gsf-outfile.h +include/libgsf-1/gsf/gsf-output-bzip.h +include/libgsf-1/gsf/gsf-output-csv.h +include/libgsf-1/gsf/gsf-output-gzip.h +include/libgsf-1/gsf/gsf-output-iconv.h +include/libgsf-1/gsf/gsf-output-impl.h +include/libgsf-1/gsf/gsf-output-iochannel.h +include/libgsf-1/gsf/gsf-output-memory.h +include/libgsf-1/gsf/gsf-output-stdio.h +include/libgsf-1/gsf/gsf-output.h +include/libgsf-1/gsf/gsf-structured-blob.h +include/libgsf-1/gsf/gsf-timestamp.h +include/libgsf-1/gsf/gsf-utils.h +include/libgsf-1/gsf/gsf.h +lib/libgsf-1.a +lib/libgsf-1.so +lib/libgsf-1.so.13 +libdata/pkgconfig/libgsf-1.pc +share/doc/gsf/api.html +share/doc/gsf/gsf-Bononbo.html +share/doc/gsf/gsf-Compression.html +share/doc/gsf/gsf-GIOChannel.html +share/doc/gsf/gsf-GnomeVFS.html +share/doc/gsf/gsf-Infile-reading-structed-files.html +share/doc/gsf/gsf-Input-from-unstructured-files.html +share/doc/gsf/gsf-MS-OLE2.html +share/doc/gsf/gsf-Outfile-writing-structed-files.html +share/doc/gsf/gsf-Output-to-unstructured-files.html +share/doc/gsf/gsf-Reading-and-Writing-from-local-files-and-directories.html +share/doc/gsf/gsf-Structured-Blobs.html +share/doc/gsf/gsf-Text.html +share/doc/gsf/gsf-XML-and-libxml.html +share/doc/gsf/gsf-Zip.html +share/doc/gsf/gsf-memory.html +share/doc/gsf/gsf-metadata.html +share/doc/gsf/gsf-utils.html +share/doc/gsf/gsf.devhelp +share/doc/gsf/home.png +share/doc/gsf/index.html +share/doc/gsf/index.sgml +share/doc/gsf/into.html +share/doc/gsf/io.html +share/doc/gsf/ix01.html +share/doc/gsf/left.png +share/doc/gsf/misc.html +share/doc/gsf/parsers.html +share/doc/gsf/right.png +share/doc/gsf/sources.html +share/doc/gsf/style.css +share/doc/gsf/up.png +@dirrm share/doc/gsf +@dirrm include/libgsf-1/gsf-win32 +@dirrm include/libgsf-1/gsf +@dirrm include/libgsf-1 |