aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-10-09 13:44:38 +0800
committerijliao <ijliao@FreeBSD.org>2001-10-09 13:44:38 +0800
commit06ad7f94d93770ce2fff61a64977a8cee3175962 (patch)
tree6c1ccfad498a1326fc64678df4490ba7006c5456 /devel
parentb2d17a42cdd9a86f94fcd1642d586ff4dca6f06e (diff)
downloadfreebsd-ports-gnome-06ad7f94d93770ce2fff61a64977a8cee3175962.tar.gz
freebsd-ports-gnome-06ad7f94d93770ce2fff61a64977a8cee3175962.tar.zst
freebsd-ports-gnome-06ad7f94d93770ce2fff61a64977a8cee3175962.zip
add domc
DOMC is a light weight implementation of the DOM in ANSI C
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/domc/Makefile34
-rw-r--r--devel/domc/distinfo1
-rw-r--r--devel/domc/files/patch-Makefile9
-rw-r--r--devel/domc/files/patch-lib::expatls.c10
-rw-r--r--devel/domc/pkg-comment1
-rw-r--r--devel/domc/pkg-descr5
-rw-r--r--devel/domc/pkg-plist3
8 files changed, 64 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a20107e74c03..163972902702 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -103,6 +103,7 @@
SUBDIR += dmake
SUBDIR += dmalloc
SUBDIR += doc++
+ SUBDIR += domc
SUBDIR += dotconf
SUBDIR += doxygen
SUBDIR += ebnf2yacc
diff --git a/devel/domc/Makefile b/devel/domc/Makefile
new file mode 100644
index 000000000000..09759de64675
--- /dev/null
+++ b/devel/domc/Makefile
@@ -0,0 +1,34 @@
+# ex:ts=8
+# New ports collection makefile for: domc
+# Date created: Oct 8, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= domc
+PORTVERSION= 0.5.0
+CATEGORIES= devel
+MASTER_SITES= http://auditorymodels.org/domc/src/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= expat.1:${PORTSDIR}/textproc/expat
+
+CFLAGS+= -I${LOCALBASE}/include/xml
+SHLIB_MAJOR= 0
+INSTALLS_SHLIB= yes
+PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
+
+post-patch:
+ @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g ; \
+ s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/include/dom.h ${PREFIX}/include
+ ${CAT} ${WRKSRC}/include/stack.h >> ${PREFIX}/include/dom.h
+ ${INSTALL_DATA} ${WRKSRC}/libdomc.so.0.5.0 ${PREFIX}/lib/libdomc.so.${SHLIB_MAJOR}
+ ${LN} -sf ${PREFIX}/lib/libdomc.so.${SHLIB_MAJOR} ${PREFIX}/lib/libdomc.so
+
+.include <bsd.port.mk>
diff --git a/devel/domc/distinfo b/devel/domc/distinfo
new file mode 100644
index 000000000000..7a2db83afee4
--- /dev/null
+++ b/devel/domc/distinfo
@@ -0,0 +1 @@
+MD5 (domc-0.5.0.tgz) = cb2acc946cedc4fb6c3e5d2816949e41
diff --git a/devel/domc/files/patch-Makefile b/devel/domc/files/patch-Makefile
new file mode 100644
index 000000000000..f20efc5b41c5
--- /dev/null
+++ b/devel/domc/files/patch-Makefile
@@ -0,0 +1,9 @@
+--- Makefile.orig Mon Aug 27 15:03:28 2001
++++ Makefile Tue Oct 9 13:18:10 2001
+@@ -24,5 +24,5 @@
+ if [ -f examples/d5.o ]; then $(MAKE) -C examples clean; fi
+
+ .c.o:
+- gcc -Wall -Iinclude -Llib -fPIC -DPIC -c -o $*.o $<
++ gcc %%CFLAGS%% -Wall -Iinclude -Llib -fPIC -DPIC -c -o $*.o $<
+
diff --git a/devel/domc/files/patch-lib::expatls.c b/devel/domc/files/patch-lib::expatls.c
new file mode 100644
index 000000000000..5c318e611185
--- /dev/null
+++ b/devel/domc/files/patch-lib::expatls.c
@@ -0,0 +1,10 @@
+--- lib/expatls.c.orig Tue Oct 9 13:28:19 2001
++++ lib/expatls.c Tue Oct 9 13:28:07 2001
+@@ -24,6 +24,7 @@
+
+ /* expatls.c - DOM_DocumentLS
+ */
++#include <sys/types.h>
+ #include <limits.h>
+ #include <ctype.h>
+ #include <stdio.h>
diff --git a/devel/domc/pkg-comment b/devel/domc/pkg-comment
new file mode 100644
index 000000000000..3867ed5b4f80
--- /dev/null
+++ b/devel/domc/pkg-comment
@@ -0,0 +1 @@
+DOMC is a light weight implementation of the DOM in ANSI C
diff --git a/devel/domc/pkg-descr b/devel/domc/pkg-descr
new file mode 100644
index 000000000000..8b75ef4a87fe
--- /dev/null
+++ b/devel/domc/pkg-descr
@@ -0,0 +1,5 @@
+DOMC is a light weight implementation of the DOM in ANSI C as specified in
+the W3C Document Object Model Level 1, Level 2, and Level 2 Events
+recommendations.
+
+WWW: http://auditorymodels.org/domc/
diff --git a/devel/domc/pkg-plist b/devel/domc/pkg-plist
new file mode 100644
index 000000000000..4883a0715ddd
--- /dev/null
+++ b/devel/domc/pkg-plist
@@ -0,0 +1,3 @@
+include/dom.h
+lib/libdomc.so
+lib/libdomc.so.%%SHLIB_MAJOR%%