diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-08-14 01:18:46 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-08-14 01:18:46 +0800 |
commit | 03067f0e5c35e03d24b8d577bd2e14f1f6fa67b6 (patch) | |
tree | 441c529426cc5cc274673a9ef3d92a0eb99d8071 /textproc | |
parent | f5c9e5a228761f7c4a0483e273e2923d6b0aa0ec (diff) | |
download | freebsd-ports-gnome-03067f0e5c35e03d24b8d577bd2e14f1f6fa67b6.tar.gz freebsd-ports-gnome-03067f0e5c35e03d24b8d577bd2e14f1f6fa67b6.tar.zst freebsd-ports-gnome-03067f0e5c35e03d24b8d577bd2e14f1f6fa67b6.zip |
add minidom
A minimal implementation of the Document Object Model
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/minidom/Makefile | 32 | ||||
-rw-r--r-- | textproc/minidom/distinfo | 1 | ||||
-rw-r--r-- | textproc/minidom/files/patch-configure.in | 19 | ||||
-rw-r--r-- | textproc/minidom/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/minidom/pkg-descr | 3 | ||||
-rw-r--r-- | textproc/minidom/pkg-plist | 7 |
7 files changed, 64 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 462e87c80b5e..103ebecbb72a 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -81,6 +81,7 @@ SUBDIR += man2html SUBDIR += mgdiff SUBDIR += mguesser + SUBDIR += minidom SUBDIR += mkcatalog SUBDIR += mswordview SUBDIR += nfbtrans diff --git a/textproc/minidom/Makefile b/textproc/minidom/Makefile new file mode 100644 index 000000000000..16079478ec83 --- /dev/null +++ b/textproc/minidom/Makefile @@ -0,0 +1,32 @@ +# ex:ts=8 +# New ports collection makefile for: minidom +# Date created: Aug 13, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= minidom +PORTVERSION= 0.1.2 +CATEGORIES= textproc +MASTER_SITES= http://www.cs.unibo.it/helm/mml-widget/sources/ + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \ + giconv:${PORTSDIR}/converters/libiconv + +GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config +USE_GLIB= yes +USE_LIBTOOL= yes +USE_AUTOCONF= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +INSTALLS_SHLIB= yes + +post-patch: + @${PERL} -pi -e "s,-lglib,-lglib12,g ; \ + s,glib-config,${GLIB_CONFIG},g" ${WRKSRC}/configure.in + +.include <bsd.port.mk> diff --git a/textproc/minidom/distinfo b/textproc/minidom/distinfo new file mode 100644 index 000000000000..f03ff638383e --- /dev/null +++ b/textproc/minidom/distinfo @@ -0,0 +1 @@ +MD5 (minidom-0.1.2.tar.gz) = 9c49b5f6461d1ee07634485d527a1546 diff --git a/textproc/minidom/files/patch-configure.in b/textproc/minidom/files/patch-configure.in new file mode 100644 index 000000000000..6143c3e2dc94 --- /dev/null +++ b/textproc/minidom/files/patch-configure.in @@ -0,0 +1,19 @@ +--- configure.in.orig Sun May 6 20:34:59 2001 ++++ configure.in Tue Aug 14 01:09:25 2001 +@@ -27,7 +27,7 @@ + AC_PROG_RANLIB + + dnl Checks for libraries. +-AC_CHECK_LIB(glib, g_malloc, ++AC_CHECK_LIB(glib12, g_malloc, + [ + CFLAGS="$CFLAGS `glib-config --cflags`" + CXXFLAGS="$CXXFLAGS `glib-config --cflags`" +@@ -38,7 +38,6 @@ + ) + + AC_CHECK_PROG(XML_CONFIG, xml2-config, xml2-config) +-AC_CHECK_PROG(XML_CONFIG, xml-config, xml-config, no) + AC_SUBST(XML_CONFIG) + + if test $XML_CONFIG = "no"; then diff --git a/textproc/minidom/pkg-comment b/textproc/minidom/pkg-comment new file mode 100644 index 000000000000..a121e4e9ed4f --- /dev/null +++ b/textproc/minidom/pkg-comment @@ -0,0 +1 @@ +A minimal implementation of the Document Object Model diff --git a/textproc/minidom/pkg-descr b/textproc/minidom/pkg-descr new file mode 100644 index 000000000000..5a573adcbbdd --- /dev/null +++ b/textproc/minidom/pkg-descr @@ -0,0 +1,3 @@ +A minimal implementation of the Document Object Model + +WWW: http://www.cs.unibo.it/helm/mml-widget/ diff --git a/textproc/minidom/pkg-plist b/textproc/minidom/pkg-plist new file mode 100644 index 000000000000..353d2564acd1 --- /dev/null +++ b/textproc/minidom/pkg-plist @@ -0,0 +1,7 @@ +bin/minidom-config +include/minidom/minidom.h +lib/libminidom.a +lib/libminidom.la +lib/libminidom.so +lib/libminidom.so.1 +@dirrm include/minidom |