From owner-freebsd-ports Fri Nov 23 2:41:20 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7332C37B421 for ; Fri, 23 Nov 2001 02:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fANAe1m97010; Fri, 23 Nov 2001 02:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B9AB437B417 for ; Fri, 23 Nov 2001 02:34:00 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fANAY0H96353; Fri, 23 Nov 2001 02:34:00 -0800 (PST) (envelope-from nobody) Message-Id: <200111231034.fANAY0H96353@freefall.freebsd.org> Date: Fri, 23 Nov 2001 02:34:00 -0800 (PST) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/32215: Update port: devel/domc to 0.5.1 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32215 >Category: ports >Synopsis: Update port: devel/domc to 0.5.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 23 02:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.4-RELEASE i386 >Organization: >Environment: >Description: - Update to version 0.5.1 >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/domc/Makefile devel/domc/Makefile --- /usr/ports/devel/domc/Makefile Tue Oct 9 14:44:37 2001 +++ devel/domc/Makefile Thu Nov 22 03:42:09 2001 @@ -7,7 +7,7 @@ # PORTNAME= domc -PORTVERSION= 0.5.0 +PORTVERSION= 0.5.1 CATEGORIES= devel MASTER_SITES= http://auditorymodels.org/domc/src/ EXTRACT_SUFX= .tgz @@ -16,19 +16,20 @@ LIB_DEPENDS= expat.1:${PORTSDIR}/textproc/expat -CFLAGS+= -I${LOCALBASE}/include/xml SHLIB_MAJOR= 0 + +MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}" 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 + ${INSTALL_DATA} ${WRKSRC}/libdomc.so.${SHLIB_MAJOR} ${PREFIX}/lib + ${LN} -sf libdomc.so.${SHLIB_MAJOR} ${PREFIX}/lib/libdomc.so +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/*.* ${DOCSDIR} +.endif .include diff -urN /usr/ports/devel/domc/distinfo devel/domc/distinfo --- /usr/ports/devel/domc/distinfo Tue Oct 9 14:44:37 2001 +++ devel/domc/distinfo Thu Nov 22 03:22:30 2001 @@ -1 +1 @@ -MD5 (domc-0.5.0.tgz) = cb2acc946cedc4fb6c3e5d2816949e41 +MD5 (domc-0.5.1.tgz) = 73f1dc3cd9df88446804a218b750f3e9 diff -urN /usr/ports/devel/domc/files/patch-Makefile devel/domc/files/patch-Makefile --- /usr/ports/devel/domc/files/patch-Makefile Tue Oct 9 14:44:38 2001 +++ devel/domc/files/patch-Makefile Thu Nov 22 03:39:08 2001 @@ -1,9 +1,27 @@ ---- 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 +--- Makefile.orig Sat Oct 27 13:40:45 2001 ++++ Makefile Thu Nov 22 03:34:09 2001 +@@ -1,13 +1,13 @@ +-INSTDIR = /usr/local ++INSTDIR = ${PREFIX} + OBJS = lib/expatls.o lib/events.o lib/node.o lib/dom.o lib/stack.o + LIBNAME = domc +-SONAME = lib$(LIBNAME).so.0.5.0 +-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 +@@ -25,5 +25,5 @@ + @echo "Expat was not removed however" .c.o: - gcc -Wall -Iinclude -Llib -fPIC -DPIC -c -o $*.o $< -+ gcc %%CFLAGS%% -Wall -Iinclude -Llib -fPIC -DPIC -c -o $*.o $< ++ ${CC} ${CFLAGS} -I${LOCALBASE}/include/xml -Iinclude -Llib -fPIC -DPIC -c -o $*.o $< diff -urN /usr/ports/devel/domc/pkg-comment devel/domc/pkg-comment --- /usr/ports/devel/domc/pkg-comment Tue Oct 9 14:44:37 2001 +++ devel/domc/pkg-comment Thu Nov 22 03:49:23 2001 @@ -1 +1 @@ -DOMC is a light weight implementation of the DOM in ANSI C +A light weight implementation of the DOM in ANSI C diff -urN /usr/ports/devel/domc/pkg-plist devel/domc/pkg-plist --- /usr/ports/devel/domc/pkg-plist Tue Oct 9 14:44:37 2001 +++ devel/domc/pkg-plist Thu Nov 22 03:48:21 2001 @@ -1,3 +1,7 @@ include/dom.h lib/libdomc.so lib/libdomc.so.%%SHLIB_MAJOR%% +%%PORTDOCS%%share/doc/domc/apinotes.html +%%PORTDOCS%%share/doc/domc/index.html +%%PORTDOCS%%share/doc/domc/todo.txt +%%PORTDOCS%%@dirrm share/doc/domc >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message