diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/domc/Makefile | 34 | ||||
-rw-r--r-- | devel/domc/distinfo | 1 | ||||
-rw-r--r-- | devel/domc/files/patch-Makefile | 9 | ||||
-rw-r--r-- | devel/domc/files/patch-lib::expatls.c | 10 | ||||
-rw-r--r-- | devel/domc/pkg-comment | 1 | ||||
-rw-r--r-- | devel/domc/pkg-descr | 5 | ||||
-rw-r--r-- | devel/domc/pkg-plist | 3 | ||||
-rw-r--r-- | textproc/domc/Makefile | 34 | ||||
-rw-r--r-- | textproc/domc/distinfo | 1 | ||||
-rw-r--r-- | textproc/domc/files/patch-Makefile | 9 | ||||
-rw-r--r-- | textproc/domc/files/patch-lib::expatls.c | 10 | ||||
-rw-r--r-- | textproc/domc/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/domc/pkg-descr | 5 | ||||
-rw-r--r-- | textproc/domc/pkg-plist | 3 |
15 files changed, 127 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%% diff --git a/textproc/domc/Makefile b/textproc/domc/Makefile new file mode 100644 index 000000000000..09759de64675 --- /dev/null +++ b/textproc/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/textproc/domc/distinfo b/textproc/domc/distinfo new file mode 100644 index 000000000000..7a2db83afee4 --- /dev/null +++ b/textproc/domc/distinfo @@ -0,0 +1 @@ +MD5 (domc-0.5.0.tgz) = cb2acc946cedc4fb6c3e5d2816949e41 diff --git a/textproc/domc/files/patch-Makefile b/textproc/domc/files/patch-Makefile new file mode 100644 index 000000000000..f20efc5b41c5 --- /dev/null +++ b/textproc/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/textproc/domc/files/patch-lib::expatls.c b/textproc/domc/files/patch-lib::expatls.c new file mode 100644 index 000000000000..5c318e611185 --- /dev/null +++ b/textproc/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/textproc/domc/pkg-comment b/textproc/domc/pkg-comment new file mode 100644 index 000000000000..3867ed5b4f80 --- /dev/null +++ b/textproc/domc/pkg-comment @@ -0,0 +1 @@ +DOMC is a light weight implementation of the DOM in ANSI C diff --git a/textproc/domc/pkg-descr b/textproc/domc/pkg-descr new file mode 100644 index 000000000000..8b75ef4a87fe --- /dev/null +++ b/textproc/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/textproc/domc/pkg-plist b/textproc/domc/pkg-plist new file mode 100644 index 000000000000..4883a0715ddd --- /dev/null +++ b/textproc/domc/pkg-plist @@ -0,0 +1,3 @@ +include/dom.h +lib/libdomc.so +lib/libdomc.so.%%SHLIB_MAJOR%% |