From 5088b6e94ae0d0be2d81c4197cd7c2e74c6d2f08 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Thu, 25 Sep 2003 05:26:24 +0000 Subject: [PATCH] Add libcroco-0.3.0. libcroco is a standalone css2 parsing library. It provides a low level event driven SAC like api and a css object model like api. This library is being written to bring the css support to the mlview xml editor project but it can be used for other applications as well. --- textproc/Makefile | 1 + textproc/libcroco/Makefile | 26 ++++++++++++++ textproc/libcroco/distinfo | 1 + textproc/libcroco/files/patch-configure | 10 ++++++ textproc/libcroco/pkg-descr | 7 ++++ textproc/libcroco/pkg-plist | 47 +++++++++++++++++++++++++ 6 files changed, 92 insertions(+) create mode 100644 textproc/libcroco/Makefile create mode 100644 textproc/libcroco/distinfo create mode 100644 textproc/libcroco/files/patch-configure create mode 100644 textproc/libcroco/pkg-descr create mode 100644 textproc/libcroco/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index e40487d21aab..ed49dc0171df 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -130,6 +130,7 @@ SUBDIR += lacheck SUBDIR += latex2html SUBDIR += latte + SUBDIR += libcroco SUBDIR += libebml SUBDIR += liblrdf SUBDIR += libtre diff --git a/textproc/libcroco/Makefile b/textproc/libcroco/Makefile new file mode 100644 index 000000000000..3caad60910b1 --- /dev/null +++ b/textproc/libcroco/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: libcroco +# Date created: 08 July 2003 +# Whom: Adam Weinberger +# +# $FreeBSD$ +# + +PORTNAME= libcroco +PORTVERSION= 0.3.0 +CATEGORIES= textproc gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.3 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= CSS2 parsing library + +USE_BZIP2= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_LIBTOOL= yes +INSTALLS_SHLIB= yes +USE_GNOME= gnomehack pango libxml2 + +MAN1= croco-config.1 csslint.1 + +.include diff --git a/textproc/libcroco/distinfo b/textproc/libcroco/distinfo new file mode 100644 index 000000000000..6f662f7db5d9 --- /dev/null +++ b/textproc/libcroco/distinfo @@ -0,0 +1 @@ +MD5 (libcroco-0.3.0.tar.bz2) = f31718e45a22870b0ce655fe2edc6dd9 diff --git a/textproc/libcroco/files/patch-configure b/textproc/libcroco/files/patch-configure new file mode 100644 index 000000000000..e60602668856 --- /dev/null +++ b/textproc/libcroco/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Tue Jul 8 02:14:29 2003 ++++ configure Tue Jul 8 02:14:54 2003 +@@ -7672,6 +7672,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' diff --git a/textproc/libcroco/pkg-descr b/textproc/libcroco/pkg-descr new file mode 100644 index 000000000000..e717446890c1 --- /dev/null +++ b/textproc/libcroco/pkg-descr @@ -0,0 +1,7 @@ +libcroco is a standalone css2 parsing library. +It provides a low level event driven SAC like api +and a css object model like api. + +This library is being written to bring the css support +to the mlview xml editor project but it can be used +for other applications as well. diff --git a/textproc/libcroco/pkg-plist b/textproc/libcroco/pkg-plist new file mode 100644 index 000000000000..7fd537fe4087 --- /dev/null +++ b/textproc/libcroco/pkg-plist @@ -0,0 +1,47 @@ +bin/croco-config +bin/csslint +include/libcroco/layeng/cr-box-view.h +include/libcroco/layeng/cr-box.h +include/libcroco/layeng/cr-lay-eng.h +include/libcroco/libcroco.h +include/libcroco/parser/cr-additional-sel.h +include/libcroco/parser/cr-attr-sel.h +include/libcroco/parser/cr-cascade.h +include/libcroco/parser/cr-declaration.h +include/libcroco/parser/cr-doc-handler.h +include/libcroco/parser/cr-enc-handler.h +include/libcroco/parser/cr-input.h +include/libcroco/parser/cr-layout-eng.h +include/libcroco/parser/cr-num.h +include/libcroco/parser/cr-om-parser.h +include/libcroco/parser/cr-parser-input.h +include/libcroco/parser/cr-parser.h +include/libcroco/parser/cr-pseudo.h +include/libcroco/parser/cr-rgb.h +include/libcroco/parser/cr-selector.h +include/libcroco/parser/cr-simple-sel.h +include/libcroco/parser/cr-statement.h +include/libcroco/parser/cr-stylesheet.h +include/libcroco/parser/cr-term.h +include/libcroco/parser/cr-tknzr.h +include/libcroco/parser/cr-token.h +include/libcroco/parser/cr-utils.h +include/libcroco/parser/libcroco-config.h +include/libcroco/seleng/cr-font-sel.h +include/libcroco/seleng/cr-fonts.h +include/libcroco/seleng/cr-sel-eng.h +include/libcroco/seleng/cr-style.h +lib/libcrlayeng.a +lib/libcrlayeng.so +lib/libcrlayeng.so.1 +lib/libcroco.a +lib/libcroco.so +lib/libcroco.so.1 +lib/libcrseleng.a +lib/libcrseleng.so +lib/libcrseleng.so.1 +libdata/pkgconfig/libcroco.pc +@dirrm include/libcroco/seleng +@dirrm include/libcroco/parser +@dirrm include/libcroco/layeng +@dirrm include/libcroco