From da139f8f7c76bc6b84577e349fddaa2053861e5c Mon Sep 17 00:00:00 2001 From: jasper Date: Mon, 5 May 2008 09:31:16 +0000 Subject: [PATCH] import gtkaml 0.2.0.2 gtkaml is an XML parser that extends the Vala.Parser (literally) and transforms all your tags into a valid Gtk+ UI class described in the Vala language. ok ajacoutot@ --- textproc/gtkaml/Makefile | 32 +++++++++++++++++++++++ textproc/gtkaml/distinfo | 5 ++++ textproc/gtkaml/patches/patch-Makefile_in | 27 +++++++++++++++++++ textproc/gtkaml/pkg/DESCR | 3 +++ textproc/gtkaml/pkg/PLIST | 5 ++++ 5 files changed, 72 insertions(+) create mode 100644 textproc/gtkaml/Makefile create mode 100644 textproc/gtkaml/distinfo create mode 100644 textproc/gtkaml/patches/patch-Makefile_in create mode 100644 textproc/gtkaml/pkg/DESCR create mode 100644 textproc/gtkaml/pkg/PLIST diff --git a/textproc/gtkaml/Makefile b/textproc/gtkaml/Makefile new file mode 100644 index 00000000000..dd265ad2c58 --- /dev/null +++ b/textproc/gtkaml/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/05/05 09:31:16 jasper Exp $ + +COMMENT= application markup language for GTK+Vala + +DISTNAME= gtkaml-0.2.0.2 +CATEGORIES= textproc + +HOMEPAGE= http://gtkaml.googlecode.com + +# LGPLv2 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${HOMEPAGE}/files/ +EXTRACT_SUFX= .tar.bz2 + +MODULES= devel/gettext + +WANTLIB= c glib-2.0 gobject-2.0 xml2 + +LIB_DEPENDS= vala::lang/vala + +USE_LIBTOOL= Yes +USE_GMAKE= Yes + +CONFIGURE_STYLE= gnu +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.include diff --git a/textproc/gtkaml/distinfo b/textproc/gtkaml/distinfo new file mode 100644 index 00000000000..fca09262b0d --- /dev/null +++ b/textproc/gtkaml/distinfo @@ -0,0 +1,5 @@ +MD5 (gtkaml-0.2.0.2.tar.bz2) = UvGkrIjskCh/Zrk/xnB9eQ== +RMD160 (gtkaml-0.2.0.2.tar.bz2) = MjxZ9nPUHeIQfNMTSlOQuiY2PZU= +SHA1 (gtkaml-0.2.0.2.tar.bz2) = oOR2YULUdfr8q7qmBzxC/Wd4JyQ= +SHA256 (gtkaml-0.2.0.2.tar.bz2) = Yf3np+SBM6p7KNodhVwOiyJSAVy0WqmGzWZ5ZNXq20g= +SIZE (gtkaml-0.2.0.2.tar.bz2) = 135513 diff --git a/textproc/gtkaml/patches/patch-Makefile_in b/textproc/gtkaml/patches/patch-Makefile_in new file mode 100644 index 00000000000..daa0b2e0672 --- /dev/null +++ b/textproc/gtkaml/patches/patch-Makefile_in @@ -0,0 +1,27 @@ +$OpenBSD: patch-Makefile_in,v 1.1.1.1 2008/05/05 09:31:16 jasper Exp $ +--- Makefile.in.orig Wed Apr 9 10:24:26 2008 ++++ Makefile.in Sun May 4 23:35:21 2008 +@@ -182,13 +182,7 @@ SUBDIRS = src \ + examples/SimpleViewer2 + + gtkamldocdir = ${prefix}/doc/gtkaml +-gtkamldoc_DATA = \ +- README\ +- COPYING\ +- AUTHORS\ +- ChangeLog\ +- INSTALL\ +- NEWS ++gtkamldoc_DATA = + + EXTRA_DIST = $(gtkamldoc_DATA) \ + debian/changelog debian/compat debian/control debian/dirs debian/docs debian/files debian/gtkaml.substvars debian/rules +@@ -249,7 +243,7 @@ distclean-hdr: + -rm -f config.h stamp-h1 + install-gtkamldocDATA: $(gtkamldoc_DATA) + @$(NORMAL_INSTALL) +- test -z "$(gtkamldocdir)" || $(MKDIR_P) "$(DESTDIR)$(gtkamldocdir)" ++ test -z "$(gtkamldocdir)" || true + @list='$(gtkamldoc_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ diff --git a/textproc/gtkaml/pkg/DESCR b/textproc/gtkaml/pkg/DESCR new file mode 100644 index 00000000000..76d840f5697 --- /dev/null +++ b/textproc/gtkaml/pkg/DESCR @@ -0,0 +1,3 @@ +gtkaml is an XML parser that extends the Vala.Parser (literally) and +transforms all your tags into a valid Gtk+ UI class described in the +Vala language. diff --git a/textproc/gtkaml/pkg/PLIST b/textproc/gtkaml/pkg/PLIST new file mode 100644 index 00000000000..ce55c15af6e --- /dev/null +++ b/textproc/gtkaml/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/05/05 09:31:16 jasper Exp $ +bin/gtkamlc +share/gtkaml/ +share/gtkaml/implicits/ +share/gtkaml/implicits/Gtk.implicits