svn commit: r324422 - in head/textproc/domc: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Aug 9 09:03:24 UTC 2013
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 <ijliao at FreeBSD.org>
# $FreeBSD$
PORTNAME= domc
@@ -8,27 +8,26 @@ CATEGORIES= textproc
MASTER_SITES= http://www.ioplex.com/~miallen/domc/dl/
MAINTAINER= ports at 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 <bsd.port.pre.mk>
.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/
More information about the svn-ports-head
mailing list