Date: Mon, 21 Feb 2005 11:47:56 +1100 (EST) From: Sam Lawrance <boris@brooknet.com.au> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/77816: [PATCH] textproc/domc: update to 0.8.0 (chase devel/libmba) Message-ID: <20050221004756.F3F5B1720@localhost> Resent-Message-ID: <200502210050.j1L0oHGC019391@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77816 >Category: ports >Synopsis: [PATCH] textproc/domc: update to 0.8.0 (chase devel/libmba) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Feb 21 00:50:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Sam Lawrance >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD dirk.no.domain 5.3-STABLE FreeBSD 5.3-STABLE #3: Wed Feb 9 00:12:24 EST >Description: - Update to 0.8.0 - Remove files/patch-node.c >How-To-Repeat: >Fix: --- domc-0.8.0_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/FreeBSD/ports/textproc/domc/Makefile,v retrieving revision 1.12 diff -u -u -r1.12 Makefile --- Makefile 17 Aug 2004 11:30:03 -0000 1.12 +++ Makefile 21 Feb 2005 00:20:05 -0000 @@ -7,7 +7,7 @@ # PORTNAME= domc -PORTVERSION= 0.6.0 +PORTVERSION= 0.8.0 PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.ioplex.com/~miallen/domc/dl/ @@ -16,8 +16,11 @@ COMMENT= A light weight implementation of the DOM in ANSI C LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 \ - mba:${PORTSDIR}/devel/libmba + mba.1:${PORTSDIR}/devel/libmba +MAN3= DOM_CharacterData.3m DOM_Document.3m DOM_Element.3m \ + DOM_Implementation.3m DOM_NamedNodeMap.3m DOM_Node.3m \ + DOM_NodeList.3m DOM_Text.3m SHLIB_MAJOR= 0 USE_REINPLACE= yes Index: distinfo =================================================================== RCS file: /home/ncvs/FreeBSD/ports/textproc/domc/distinfo,v retrieving revision 1.5 diff -u -u -r1.5 distinfo --- distinfo 29 Jan 2004 16:11:57 -0000 1.5 +++ distinfo 20 Feb 2005 15:12:41 -0000 @@ -1,2 +1,2 @@ -MD5 (domc-0.6.0.tar.gz) = e36cd468a58d6f272781c7d0f0c25cbe -SIZE (domc-0.6.0.tar.gz) = 39758 +MD5 (domc-0.8.0.tar.gz) = fd797a30dd78d3fa9d8db92e44ce4d93 +SIZE (domc-0.8.0.tar.gz) = 122571 Index: files/patch-Makefile =================================================================== RCS file: /home/ncvs/FreeBSD/ports/textproc/domc/files/patch-Makefile,v retrieving revision 1.4 diff -u -u -r1.4 patch-Makefile --- files/patch-Makefile 24 Sep 2002 08:01:07 -0000 1.4 +++ files/patch-Makefile 20 Feb 2005 15:25:05 -0000 @@ -1,30 +1,39 @@ ---- Makefile.orig Sun Mar 31 08:56:45 2002 -+++ Makefile Tue Sep 24 15:54:47 2002 -@@ -4,9 +4,9 @@ - version = 0.6.0 - OBJS = src/expatls.o src/events.o src/node.o src/dom.o - LIBNAME = domc --SONAME = lib$(LIBNAME).so.0.6.0 --SOVERSION = lib$(LIBNAME).so.0.6 --CFLAGS = -Wall -DMSGNO $(RPM_OPT_FLAGS) -+SONAME = lib$(LIBNAME).so.${SHLIB_MAJOR} -+SOVERSION = lib$(LIBNAME).so.${SHLIB_MAJOR} -+CFLAGS += -Wall -DMSGNO $(RPM_OPT_FLAGS) - - $(SONAME): $(OBJS) - gcc $(CFLAGS) -shared $(OBJS) -lc -lmba -lexpat -Wl,-soname -Wl,$(SOVERSION) -o $(SONAME) -@@ -18,11 +18,10 @@ - - install: $(SONAME) +--- Makefile.orig Fri Sep 10 08:31:42 2004 ++++ Makefile Mon Feb 21 02:24:55 2005 +@@ -2,16 +2,16 @@ + includedir = $(prefix)/include + libdir = $(prefix)/lib + mandir = $(prefix)/man +-CC = gcc ++CC = cc + LIBNAME = domc + MAJVERSION = 0.8 + MINVERSION = 0.8.0 + ARNAME = lib$(LIBNAME).a +-SONAME = lib$(LIBNAME).so.$(MINVERSION) +-SOVERSION = lib$(LIBNAME).so.$(MAJVERSION) ++SONAME = lib$(LIBNAME).so.${SHLIB_MAJOR} ++SOVERSION = lib$(LIBNAME).so.${SHLIB_MAJOR} + DISTRO = $(LIBNAME)-$(MINVERSION) + RPM_OPT_FLAGS = -O2 +-CFLAGS = -Wall -W -g -DMSGNO $(RPM_OPT_FLAGS) -I$(includedir) -L$(libdir) ++CFLAGS += -Wall -W -g -DMSGNO $(RPM_OPT_FLAGS) -I$(includedir) -L$(libdir) + #CFLAGS = -Wall -W -DMSGNO -I$(includedir) -L$(libdir) $(RPM_OPT_FLAGS) -ansi -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wtraditional -Wconversion -Waggregate-return -Wno-parentheses + OBJS = src/expatls.o src/events.o src/node.o src/nodelist.o src/namednodemap.o src/dom.o src/timestamp.o src/wcwidth.o src/mbs.o + MAN = DOM_CharacterData.3m.gz DOM_Document.3m.gz DOM_Element.3m.gz DOM_Implementation.3m.gz DOM_NamedNodeMap.3m.gz DOM_Node.3m.gz DOM_NodeList.3m.gz DOM_Text.3m.gz +@@ -33,12 +33,10 @@ install -d $(libdir) + install -d $(includedir) + install -d $(mandir)/man3 +- install -m 644 $(ARNAME) $(libdir) - install -m 755 $(SONAME) $(libdir) - cd $(libdir) && ln -sf $(SONAME) $(SOVERSION) && ln -sf $(SONAME) lib$(LIBNAME).so +- install -m 444 src/domc.h $(includedir) + ${BSD_INSTALL_DATA} $(SONAME) $(INSTDIR)/lib + cd $(INSTDIR)/lib ; ln -sf $(SONAME) $(INSTDIR)/lib/lib$(LIBNAME).so - install -d $(includedir) -- install -m 444 src/domc.h $(includedir) -- -/sbin/ldconfig $(libdir) + ${BSD_INSTALL_DATA} src/domc.h $(INSTDIR)/include + -install -m 444 docs/man/*.3m.gz $(mandir)/man3 +- -/sbin/ldconfig $(libdir) - example: - $(MAKE) -C examples + zip: + cd .. && zip -lr $(DISTRO)/.$(DISTRO).zip $(DISTRO) -x $(DISTRO)/.* $(DISTRO)/docs/man/* $(DISTRO)/tests/utf8* $(DISTRO)/domc.lib $(DISTRO)/domc.dll $(DISTRO)/domc_s.lib --- domc-0.8.0_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050221004756.F3F5B1720>