summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-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
7 files changed, 64 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 462e87c..103ebec 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 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