summaryrefslogtreecommitdiffstats
path: root/textproc/minidom
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-08-13 17:18:46 +0000
committerijliao <ijliao@FreeBSD.org>2001-08-13 17:18:46 +0000
commit03067f0e5c35e03d24b8d577bd2e14f1f6fa67b6 (patch)
tree441c529426cc5cc274673a9ef3d92a0eb99d8071 /textproc/minidom
parentf5c9e5a228761f7c4a0483e273e2923d6b0aa0ec (diff)
downloadFreeBSD-ports-03067f0e5c35e03d24b8d577bd2e14f1f6fa67b6.zip
FreeBSD-ports-03067f0e5c35e03d24b8d577bd2e14f1f6fa67b6.tar.gz
add minidom
A minimal implementation of the Document Object Model
Diffstat (limited to 'textproc/minidom')
-rw-r--r--textproc/minidom/Makefile32
-rw-r--r--textproc/minidom/distinfo1
-rw-r--r--textproc/minidom/files/patch-configure.in19
-rw-r--r--textproc/minidom/pkg-comment1
-rw-r--r--textproc/minidom/pkg-descr3
-rw-r--r--textproc/minidom/pkg-plist7
6 files changed, 63 insertions, 0 deletions
diff --git a/textproc/minidom/Makefile b/textproc/minidom/Makefile
new file mode 100644
index 0000000..1607947
--- /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 0000000..f03ff63
--- /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 0000000..6143c3e
--- /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 0000000..a121e4e
--- /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 0000000..5a573ad
--- /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 0000000..353d256
--- /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
OpenPOWER on IntegriCloud