summaryrefslogtreecommitdiff
path: root/devel/gnome2-libole2
diff options
context:
space:
mode:
authorrh <rh>2002-11-04 03:53:01 +0000
committerrh <rh>2002-11-04 03:53:01 +0000
commiteddbb42bd38e6eab96c7805847b37983c4179573 (patch)
tree09563fe6a42e3ff593828933763605b6f595bb9d /devel/gnome2-libole2
parentea31a60aba23659862c401bfb47b9216517289fa (diff)
downloadpkgsrc-eddbb42bd38e6eab96c7805847b37983c4179573.tar.gz
Initial import of gnome2-libole2-2.2.8, a OLE2 streams parsing library for
GNOME2
Diffstat (limited to 'devel/gnome2-libole2')
-rw-r--r--devel/gnome2-libole2/DESCR3
-rw-r--r--devel/gnome2-libole2/Makefile24
-rw-r--r--devel/gnome2-libole2/PLIST13
-rw-r--r--devel/gnome2-libole2/buildlink2.mk28
-rw-r--r--devel/gnome2-libole2/distinfo7
-rw-r--r--devel/gnome2-libole2/patches/patch-aa11
-rw-r--r--devel/gnome2-libole2/patches/patch-ab22
-rw-r--r--devel/gnome2-libole2/patches/patch-ac22
8 files changed, 130 insertions, 0 deletions
diff --git a/devel/gnome2-libole2/DESCR b/devel/gnome2-libole2/DESCR
new file mode 100644
index 00000000000..9d55c67aadc
--- /dev/null
+++ b/devel/gnome2-libole2/DESCR
@@ -0,0 +1,3 @@
+ libole2 provides an API to access OLE2 streams as used by Microsoft
+in their compound files. Such common file formats as Excel, Word,
+Powerpoint, and Visio use this system.
diff --git a/devel/gnome2-libole2/Makefile b/devel/gnome2-libole2/Makefile
new file mode 100644
index 00000000000..8c92b572d58
--- /dev/null
+++ b/devel/gnome2-libole2/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/11/04 03:53:01 rh Exp $
+#
+
+DISTNAME= libole2-2.2.8
+PKGNAME= gnome2-${DISTNAME}
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libole2/2.2/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.gnome.org/
+COMMENT= OLE2 streams parsing library for GNOME2
+
+BUILD_USES_MSGFMT= YES
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
+USE_X11= YES
+USE_LIBTOOL= YES
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/glib2/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/gnome2-libole2/PLIST b/devel/gnome2-libole2/PLIST
new file mode 100644
index 00000000000..dd29209f0be
--- /dev/null
+++ b/devel/gnome2-libole2/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/04 03:53:02 rh Exp $
+include/libole2-2.0/libole2/libole2.h
+include/libole2-2.0/libole2/ms-ole-summary.h
+include/libole2-2.0/libole2/ms-ole-vba.h
+include/libole2-2.0/libole2/ms-ole.h
+lib/libgnome2ole2.a
+lib/libgnome2ole2.la
+lib/libgnome2ole2.so
+lib/libgnome2ole2.so.4
+lib/libgnome2ole2.so.4.8
+lib/pkgconfig/libole2-2.0.pc
+@dirrm include/libole2-2.0/libole2
+@dirrm include/libole2-2.0
diff --git a/devel/gnome2-libole2/buildlink2.mk b/devel/gnome2-libole2/buildlink2.mk
new file mode 100644
index 00000000000..a7ede903049
--- /dev/null
+++ b/devel/gnome2-libole2/buildlink2.mk
@@ -0,0 +1,28 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2002/11/04 03:53:02 rh Exp $
+#
+# This Makefile fragment is included by packages that use gnome2-libole2.
+#
+# This file was created automatically using createbuildlink 2.2.
+#
+
+.if !defined(GNOME2_LIBOLE2_BUILDLINK2_MK)
+GNOME2_LIBOLE2_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= gnome2-libole2
+BUILDLINK_DEPENDS.gnome2-libole2?= gnome2-libole2>=2.2.8
+BUILDLINK_PKGSRCDIR.gnome2-libole2?= ../../devel/gnome2-libole2
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.gnome2-libole2=gnome2-libole2
+BUILDLINK_PREFIX.gnome2-libole2_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.gnome2-libole2+= include/libole2-2.0/libole2/*.h
+BUILDLINK_FILES.gnome2-libole2+= lib/libgnome2ole2.*
+BUILDLINK_FILES.gnome2-libole2+= lib/pkgconfig/libole2-2.0.pc
+
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/glib2/buildlink2.mk"
+
+BUILDLINK_TARGETS+= gnome2-libole2-buildlink
+
+gnome2-libole2-buildlink: _BUILDLINK_USE
+
+.endif # GNOME2_LIBOLE2_BUILDLINK2_MK
diff --git a/devel/gnome2-libole2/distinfo b/devel/gnome2-libole2/distinfo
new file mode 100644
index 00000000000..45ad4df8c3a
--- /dev/null
+++ b/devel/gnome2-libole2/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/11/04 03:53:02 rh Exp $
+
+SHA1 (libole2-2.2.8.tar.bz2) = 00b1befb860ffcfef98fc76c3758e512e56185d3
+Size (libole2-2.2.8.tar.bz2) = 166319 bytes
+SHA1 (patch-aa) = 017019dbe880c2a5c22fc0c1467f0483257cd4fb
+SHA1 (patch-ab) = c65d1563f381b2457e92e63324105707682de936
+SHA1 (patch-ac) = 5836e21e4eceaf8915419537701035e51cb5ead7
diff --git a/devel/gnome2-libole2/patches/patch-aa b/devel/gnome2-libole2/patches/patch-aa
new file mode 100644
index 00000000000..8fd7e74a33e
--- /dev/null
+++ b/devel/gnome2-libole2/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/11/04 03:53:02 rh Exp $
+
+--- libole2-2.0.pc.in.orig Fri Feb 1 15:33:05 2002
++++ libole2-2.0.pc.in
+@@ -7,5 +7,5 @@ Name: Libole2
+ Description: a library for reading and writing MS OLE structured files
+ Version: @VERSION@
+ Requires: glib-2.0
+-Libs: -L${libdir} -lgnomeole2
++Libs: -Wl,-R${libdir} -L${libdir} -lgnome2ole2
+ Cflags: -I${includedir}/libole2-2.0
diff --git a/devel/gnome2-libole2/patches/patch-ab b/devel/gnome2-libole2/patches/patch-ab
new file mode 100644
index 00000000000..9f93dcfeabf
--- /dev/null
+++ b/devel/gnome2-libole2/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/11/04 03:53:02 rh Exp $
+
+--- libole2/Makefile.in.orig Sat Mar 30 03:32:15 2002
++++ libole2/Makefile.in
+@@ -98,7 +98,7 @@ EXTRA_DIST = ms-ole-gnomevfs.c ms-ole
+ libole2_sources = ms-ole.c ms-ole.h ms-ole-summary.c ms-ole-summary.h ms-ole-vba.c ms-ole-vba.h
+
+
+-lib_LTLIBRARIES = libgnomeole2.la
++lib_LTLIBRARIES = libgnome2ole2.la
+
+ LDADD = $(LIBOLE2_LIBS)
+
+@@ -225,7 +225,7 @@ distclean-libtool:
+
+ maintainer-clean-libtool:
+
+-libgnomeole2.la: $(libgnomeole2_la_OBJECTS) $(libgnomeole2_la_DEPENDENCIES)
++libgnome2ole2.la: $(libgnomeole2_la_OBJECTS) $(libgnomeole2_la_DEPENDENCIES)
+ $(LINK) -rpath $(libdir) $(libgnomeole2_la_LDFLAGS) $(libgnomeole2_la_OBJECTS) $(libgnomeole2_la_LIBADD) $(LIBS)
+
+ install-libgnomeole2includeHEADERS: $(libgnomeole2include_HEADERS)
diff --git a/devel/gnome2-libole2/patches/patch-ac b/devel/gnome2-libole2/patches/patch-ac
new file mode 100644
index 00000000000..fa04fc87498
--- /dev/null
+++ b/devel/gnome2-libole2/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/11/04 03:53:02 rh Exp $
+
+--- test/Makefile.in.orig Mon Nov 4 13:40:07 2002
++++ test/Makefile.in
+@@ -89,7 +89,7 @@ INCLUDES = -I$(top_srcdir)/ $(LIBOLE2
+
+
+ noinst_PROGRAMS = test-ole
+-test_ole_LDADD = $(top_builddir)/libole2/libgnomeole2.la $(LIBOLE2_LIBS)
++test_ole_LDADD = $(top_builddir)/libole2/libgnome2ole2.la $(LIBOLE2_LIBS)
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../libole2-config.h
+ CONFIG_CLEAN_FILES =
+@@ -103,7 +103,7 @@ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+ test_ole_SOURCES = test-ole.c
+ test_ole_OBJECTS = test-ole.$(OBJEXT)
+-test_ole_DEPENDENCIES = $(top_builddir)/libole2/libgnomeole2.la
++test_ole_DEPENDENCIES = $(top_builddir)/libole2/libgnome2ole2.la
+ test_ole_LDFLAGS =
+ CFLAGS = @CFLAGS@
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)