diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-10-09 05:44:38 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-10-09 05:44:38 +0000 |
commit | 36dbb43fb6b7bdb5500ef4bdb0597ebeb6df9011 (patch) | |
tree | f6c1dd7123cbe50fda6cad2d4d8ce9f4cba967ab /textproc/domc | |
parent | 6450974cad53947e9b4dd6b0963a5b294388f3aa (diff) | |
download | ports-36dbb43fb6b7bdb5500ef4bdb0597ebeb6df9011.tar.gz ports-36dbb43fb6b7bdb5500ef4bdb0597ebeb6df9011.zip |
Notes
Diffstat (limited to 'textproc/domc')
-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 |
7 files changed, 63 insertions, 0 deletions
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%% |