summaryrefslogtreecommitdiff
path: root/textproc/minidom
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-13 17:18:46 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-13 17:18:46 +0000
commit984f0e2327a3ff82ad2be8ce50070ebe252ec94b (patch)
treec7c102a23c45f2f5668a090866430b2790806d33 /textproc/minidom
parentAdd idlefork 0.8.1 - an official experimental development fork of Python's (diff)
add minidom
A minimal implementation of the Document Object Model
Notes
Notes: svn path=/head/; revision=46205
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 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