From 783a5fdf33da94529201272f776fc9a869b91640 Mon Sep 17 00:00:00 2001 From: Automaton Date: Mon, 10 Dec 2012 18:18:54 +0100 Subject: [PATCH] Import textproc/libroxml version 2.2.0 --- textproc/libroxml/Makefile | 36 +++++++++++++++++++++++++ textproc/libroxml/distinfo | 2 ++ textproc/libroxml/files/patch-Makefile | 37 ++++++++++++++++++++++++++ textproc/libroxml/pkg-descr | 5 ++++ 4 files changed, 80 insertions(+) create mode 100644 textproc/libroxml/Makefile create mode 100644 textproc/libroxml/distinfo create mode 100644 textproc/libroxml/files/patch-Makefile create mode 100644 textproc/libroxml/pkg-descr diff --git a/textproc/libroxml/Makefile b/textproc/libroxml/Makefile new file mode 100644 index 00000000000..5e1085bcf62 --- /dev/null +++ b/textproc/libroxml/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: libroxml +# Date created: 2010-04-16 +# Whom: Hung-Yi Chen +# +# $FreeBSD: ports/textproc/libroxml/Makefile,v 1.6 2012/11/17 06:02:01 svnexp Exp $ +# + +PORTNAME= libroxml +PORTVERSION= 2.2.0 +CATEGORIES= textproc +MASTER_SITES= GOOGLE_CODE + +MAINTAINER= gaod@hychen.org +COMMENT= A minimum, easy-to-use, C implementation for xml file parsing + +LICENSE= LGPL21 + +PROJECTHOST= libroxml + +USE_GMAKE= yes +MAKE_ENV+= DESTDIR=${PREFIX} +USE_LDCONFIG= yes + +MAN1= roxml.1 + +PLIST_FILES= bin/roxml \ + lib/libroxml.so \ + lib/libroxml.so.0 \ + lib/libroxml.a \ + include/roxml.h \ + libdata/pkgconfig/libroxml.pc + +pre-build: + @cd ${WRKSRC} && ${GMAKE} clean + +.include diff --git a/textproc/libroxml/distinfo b/textproc/libroxml/distinfo new file mode 100644 index 00000000000..42dcaa5853a --- /dev/null +++ b/textproc/libroxml/distinfo @@ -0,0 +1,2 @@ +SHA256 (libroxml-2.2.0.tar.gz) = 0866a90116829c3fdd6b7315191aee8af8470c61f16725c5b2166a873e345d6d +SIZE (libroxml-2.2.0.tar.gz) = 159188 diff --git a/textproc/libroxml/files/patch-Makefile b/textproc/libroxml/files/patch-Makefile new file mode 100644 index 00000000000..6a8589b7753 --- /dev/null +++ b/textproc/libroxml/files/patch-Makefile @@ -0,0 +1,37 @@ +--- Makefile.orig 2012-08-07 05:07:01.000000000 +0800 ++++ Makefile 2012-08-07 05:12:48.000000000 +0800 +@@ -149,24 +149,16 @@ + $E - $(MAKE) -C $(abspath fuse.xml) + + .PHONY: install +-install: $(TARGETS) doxy +- $P ' INSTALL DIRS' +- $E mkdir -p $(DESTDIR)/usr/bin +- $E mkdir -p $(DESTDIR)/usr/include +- $E mkdir -p $(DESTDIR)/usr/lib/pkgconfig +- $E mkdir -p $(DESTDIR)/usr/share/man/man3 +- $E mkdir -p $(DESTDIR)/usr/share/man/man1 +- $E mkdir -p $(DESTDIR)/usr/share/doc/libroxml/html +- $P ' INSTALL FILES' +- $E install -D $(TARGET_SLIB) $(DESTDIR)/usr/lib +- $E install -D $(TARGET_LIB) $(DESTDIR)/usr/lib +- $E install -D $(TARGET_BIN) $(DESTDIR)/usr/bin +- $E install -D $(INC) $(DESTDIR)/usr/include +- $E install -D docs/roxml.1 $(DESTDIR)/usr/share/man/man1/ +- $E [ ! -d docs/man/man3 ] || install -D docs/man/man3/* $(DESTDIR)/usr/share/man/man3/ +- $E [ ! -d docs/html ] || install -D docs/html/* $(DESTDIR)/usr/share/doc/libroxml/html/ +- $E install -m644 libroxml.pc $(DESTDIR)/usr/lib/pkgconfig +- $E cp -d $(TARGET_LN) $(DESTDIR)/usr/lib ++install: ++ $E install $(TARGET_SLIB) $(DESTDIR)/lib ++ $E install $(TARGET_LIB) $(DESTDIR)/lib ++ $E install $(TARGET_BIN) $(DESTDIR)/bin ++ $E install $(INC) $(DESTDIR)/include ++ $E install docs/roxml.1 $(DESTDIR)/man/man1/ ++ $E [ ! -d docs/man/man3 ] || install docs/man/man3/* $(DESTDIR)/man/man3/ ++ $E [ ! -d docs/html ] || install ocs/html/* $(DESTDIR)/share/doc/libroxml/html/ ++ $E install -m644 libroxml.pc $(DESTDIR)/libdata/pkgconfig ++ $E install $(TARGET_LN) $(DESTDIR)/lib + + .PHONY: uninstall + uninstall: diff --git a/textproc/libroxml/pkg-descr b/textproc/libroxml/pkg-descr new file mode 100644 index 00000000000..22c9cb3a95b --- /dev/null +++ b/textproc/libroxml/pkg-descr @@ -0,0 +1,5 @@ +This library is minimum, easy-to-use, C implementation for xml file parsing. +Because XML parsing is always hard to reinvent. +Because very often, xml libraries are too big to fit with little application. + +WWW: http://code.google.com/p/libroxml/ -- 2.41.0