move devel/domc to textproc/

Approved by:	kris
This commit is contained in:
Ying-Chieh Liao 2002-09-24 06:46:04 +00:00
parent bb7d32715f
commit ec6f60c549
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67078
10 changed files with 2 additions and 96 deletions

View file

@ -141,7 +141,6 @@
SUBDIR += dmake
SUBDIR += dmalloc
SUBDIR += doc++
SUBDIR += domc
SUBDIR += dotconf
SUBDIR += doxygen
SUBDIR += e4graph

View file

@ -1,31 +0,0 @@
# ex:ts=8
# New ports collection makefile for: domc
# Date created: Oct 8, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= domc
PORTVERSION= 0.5.8
CATEGORIES= devel
MASTER_SITES= http://auditorymodels.org/domc/src/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= expat.1:${PORTSDIR}/textproc/expat
SHLIB_MAJOR= 0
MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}"
INSTALLS_SHLIB= yes
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.* ${DOCSDIR}
.endif
.include <bsd.port.mk>

View file

@ -1 +0,0 @@
MD5 (domc-0.5.8.tgz) = 318bf898a680af5b32399b78af31de06

View file

@ -1,38 +0,0 @@
--- Makefile.orig Thu Dec 20 19:16:25 2001
+++ Makefile Sun Dec 30 11:43:57 2001
@@ -1,26 +1,26 @@
-INSTDIR = /usr/local
+INSTDIR = ${PREFIX}
OBJS = src/expatls.o src/events.o src/node.o src/dom.o src/msgno.o src/stack.o
LIBNAME = domc
-SONAME = lib$(LIBNAME).so.0.5.8
-SOVERSION = lib$(LIBNAME).so.0.5
+SONAME = lib$(LIBNAME).so.${SHLIB_MAJOR}
+SOVERSION = lib$(LIBNAME).so.${SHLIB_MAJOR}
all: lib$(LIBNAME).so
lib$(LIBNAME).so: $(OBJS)
- gcc -Wall -shared $(OBJS) -lc -Wl,-soname -Wl,$(SOVERSION) -o $(SONAME)
+ ${CC} ${CFLAGS} -shared $(OBJS) -Wl,-soname -Wl,$(SOVERSION) -o $(SONAME) -L${LOCALBASE}/lib -lexpat -Wl,-rpath ${LOCALBASE}/lib
example:
$(MAKE) -C examples
install:
- cp src/dom.h $(INSTDIR)/include/dom.h
- cp src/msgno.h $(INSTDIR)/include/msgno.h
- cp $(SONAME) $(INSTDIR)/lib
- cd $(INSTDIR)/lib && ln -sf $(SONAME) $(SOVERSION) && ln -sf $(SONAME) lib$(LIBNAME).so
+ ${BSD_INSTALL_DATA} src/dom.h $(INSTDIR)/include/dom.h
+ ${BSD_INSTALL_DATA} src/msgno.h $(INSTDIR)/include/msgno.h
+ ${BSD_INSTALL_DATA} $(SONAME) $(INSTDIR)/lib
+ ln -sf $(SONAME) $(INSTDIR)/lib/lib$(LIBNAME).so
clean:
rm $(OBJS) $(SONAME) $(INSTDIR)/include/dom.h $(INSTDIR)/include/msgno.h $(INSTDIR)/lib/$(SONAME) $(INSTDIR)/lib/$(SOVERSION) $(INSTDIR)/lib/lib$(LIBNAME).so
if [ -f examples/d5.o ]; then $(MAKE) -C examples clean; fi
.c.o:
- gcc -Wall -I../include -Isrc -Lsrc -fPIC -DPIC -c -o $*.o $<
+ ${CC} ${CFLAGS} -I${LOCALBASE}/include/xml -I../include -Isrc -Lsrc -fPIC -DPIC -c -o $*.o $<

View file

@ -1,10 +0,0 @@
--- src/expatls.c.orig Thu Dec 20 19:00:30 2001
+++ src/expatls.c Sun Dec 30 11:34:02 2001
@@ -25,6 +25,7 @@
/* expatls.c - DOM_DocumentLS
*/
+#include <sys/types.h>
#include <stdlib.h>
#include <limits.h>
#include <ctype.h>

View file

@ -1 +0,0 @@
A light weight implementation of the DOM in ANSI C

View file

@ -1,5 +0,0 @@
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/

View file

@ -1,8 +0,0 @@
include/dom.h
include/msgno.h
lib/libdomc.so
lib/libdomc.so.%%SHLIB_MAJOR%%
%%PORTDOCS%%share/doc/domc/domc.html
%%PORTDOCS%%share/doc/domc/index.html
%%PORTDOCS%%share/doc/domc/todo.txt
%%PORTDOCS%%@dirrm share/doc/domc

View file

@ -50,6 +50,7 @@
SUBDIR += docproj
SUBDIR += docproj-jadetex
SUBDIR += docproj-nojadetex
SUBDIR += domc
SUBDIR += dsssl-docbook-cygnus
SUBDIR += dsssl-docbook-modular
SUBDIR += dtd-catalogs

View file

@ -8,7 +8,7 @@
PORTNAME= domc
PORTVERSION= 0.5.8
CATEGORIES= devel
CATEGORIES= textproc
MASTER_SITES= http://auditorymodels.org/domc/src/
EXTRACT_SUFX= .tgz