From owner-svn-ports-head@FreeBSD.ORG Fri Aug 9 09:03:24 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A9AC0CE2; Fri, 9 Aug 2013 09:03:24 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 953212910; Fri, 9 Aug 2013 09:03:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7993Op4046505; Fri, 9 Aug 2013 09:03:24 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7993OdA046497; Fri, 9 Aug 2013 09:03:24 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201308090903.r7993OdA046497@svn.freebsd.org> From: Alexey Dokuchaev Date: Fri, 9 Aug 2013 09:03:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324422 - in head/textproc/domc: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Aug 2013 09:03:24 -0000 Author: danfe Date: Fri Aug 9 09:03:23 2013 New Revision: 324422 URL: http://svnweb.freebsd.org/changeset/ports/324422 Log: - Unbreak parallel (-jX) builds and remove disgraceful MAKE_JOBS_UNSAFE - Standardize the header and COMMENT, renew LIB_DEPENDS, convert USE_GMAKE - Generally cleanup Makefile, sort the knobs, kill EOL space in pkg-descr Modified: head/textproc/domc/Makefile head/textproc/domc/files/patch-Makefile head/textproc/domc/pkg-descr Modified: head/textproc/domc/Makefile ============================================================================== --- head/textproc/domc/Makefile Fri Aug 9 08:39:09 2013 (r324421) +++ head/textproc/domc/Makefile Fri Aug 9 09:03:23 2013 (r324422) @@ -1,4 +1,4 @@ -# Created by: ijliao +# Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= domc @@ -8,27 +8,26 @@ CATEGORIES= textproc MASTER_SITES= http://www.ioplex.com/~miallen/domc/dl/ MAINTAINER= ports@FreeBSD.org -COMMENT= A light weight implementation of the DOM in ANSI C +COMMENT= Lightweight implementation of the DOM in ANSI C -LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \ - mba.0:${PORTSDIR}/devel/libmba +LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \ + libmba.so:${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 -MANCOMPRESSED= yes - -SHLIB_MAJOR= 0 +USES= gmake +MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}" INSTDIR=${PREFIX} +USE_LDCONFIG= yes -USE_GMAKE= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAKE_ENV+= SHLIB_MAJOR="${SHLIB_MAJOR}" INSTDIR=${PREFIX} -USE_LDCONFIG= yes -MAKE_JOBS_UNSAFE= yes +SHLIB_MAJOR= 0 PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" +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 +MANCOMPRESSED= yes + .include .if ${ARCH} == "sparc64" Modified: head/textproc/domc/files/patch-Makefile ============================================================================== --- head/textproc/domc/files/patch-Makefile Fri Aug 9 08:39:09 2013 (r324421) +++ head/textproc/domc/files/patch-Makefile Fri Aug 9 09:03:23 2013 (r324422) @@ -22,7 +22,7 @@ #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 -@@ -19,7 +17,7 @@ +@@ -19,12 +17,11 @@ all: $(ARNAME)($(OBJS)) $(SONAME) src/defines.h $(SONAME): $(OBJS) @@ -31,7 +31,12 @@ .c.a: $(CC) $(CFLAGS) -c -o $*.o $< -@@ -33,12 +31,10 @@ + ar rv $@ $*.o +- rm $*.o + + .c.o: + $(CC) $(CFLAGS) -fpic -c -o $*.o $< +@@ -33,12 +30,10 @@ install -d $(libdir) install -d $(includedir) install -d $(mandir)/man3 Modified: head/textproc/domc/pkg-descr ============================================================================== --- head/textproc/domc/pkg-descr Fri Aug 9 08:39:09 2013 (r324421) +++ head/textproc/domc/pkg-descr Fri Aug 9 09:03:23 2013 (r324422) @@ -1,5 +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. +recommendations. WWW: http://www.ioplex.com/~miallen/domc/