From owner-svn-ports-all@freebsd.org Sun Feb 18 13:39:00 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0A47F08757; Sun, 18 Feb 2018 13:38:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AAF0377C40; Sun, 18 Feb 2018 13:38:58 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 239E14C03; Sun, 18 Feb 2018 13:38:58 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1IDcvKT061651; Sun, 18 Feb 2018 13:38:57 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1IDcvZV061647; Sun, 18 Feb 2018 13:38:57 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201802181338.w1IDcvZV061647@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 18 Feb 2018 13:38:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462246 - head/textproc/scew X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/textproc/scew X-SVN-Commit-Revision: 462246 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 13:39:00 -0000 Author: sunpoet Date: Sun Feb 18 13:38:57 2018 New Revision: 462246 URL: https://svnweb.freebsd.org/changeset/ports/462246 Log: Update to 1.1.9 - Simplify MASTER_SITES - Add LICENSE_FILE - Use USES=localbase - Convert to test framework - Sort PLIST - Update pkg-descr - Update WWW - Take maintainership Changes: https://savannah.nongnu.org/forum/forum.php?forum_id=9096 Modified: head/textproc/scew/Makefile head/textproc/scew/distinfo head/textproc/scew/pkg-descr head/textproc/scew/pkg-plist Modified: head/textproc/scew/Makefile ============================================================================== --- head/textproc/scew/Makefile Sun Feb 18 13:38:51 2018 (r462245) +++ head/textproc/scew/Makefile Sun Feb 18 13:38:57 2018 (r462246) @@ -2,39 +2,35 @@ # $FreeBSD$ PORTNAME= scew -PORTVERSION= 1.1.7 -PORTREVISION= 3 +PORTVERSION= 1.1.9 CATEGORIES= textproc -MASTER_SITES= SAVANNAH/${PORTNAME}/ +MASTER_SITES= SAVANNAH -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simple C Expat Wrapper LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 -USES= gmake libtool pathfix pkgconfig +OPTIONS_DEFINE= TEST +.if defined(MAINTAINER_MODE) +OPTIONS_DEFAULT=TEST +.endif + +USES= gmake libtool localbase pathfix pkgconfig +CONFIGURE_ARGS= enable_tests=yes GNU_CONFIGURE= yes -USE_LDCONFIG= yes INSTALL_TARGET= install-strip +USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +TEST_LIB_DEPENDS= libcheck.so:devel/check +TEST_VARS= TEST_TARGET=check TEST_WRKSRC=${WRKSRC}/tests -SCEW_EXAMPLES= print stream write - post-install: -.for ex in ${SCEW_EXAMPLES} - ${INSTALL_SCRIPT} \ - ${WRKSRC}/examples/${PORTNAME}_${ex}/${PORTNAME}_${ex} \ - ${STAGEDIR}${PREFIX}/bin -.endfor - -.ifdef MAINTAINER_MODE -LIB_DEPENDS+= libcheck.so:devel/check -regression-test: build - ${MAKE_CMD} -C ${WRKSRC}/tests check -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/examples/scew_print/scew_print ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/examples/scew_stream/scew_stream ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/examples/scew_write/scew_write ${STAGEDIR}${PREFIX}/bin/ .include Modified: head/textproc/scew/distinfo ============================================================================== --- head/textproc/scew/distinfo Sun Feb 18 13:38:51 2018 (r462245) +++ head/textproc/scew/distinfo Sun Feb 18 13:38:57 2018 (r462246) @@ -1,2 +1,3 @@ -SHA256 (scew-1.1.7.tar.gz) = 2b7b4d69723e1a6d550bbc294e68673d1c7c0d9825ce8a51415c46a565109a50 -SIZE (scew-1.1.7.tar.gz) = 475151 +TIMESTAMP = 1518875974 +SHA256 (scew-1.1.9.tar.gz) = 10009a9b5a4b72469bccbd8ad2e69a4287031f13e56747ee282ce46a19a12579 +SIZE (scew-1.1.9.tar.gz) = 506371 Modified: head/textproc/scew/pkg-descr ============================================================================== --- head/textproc/scew/pkg-descr Sun Feb 18 13:38:51 2018 (r462245) +++ head/textproc/scew/pkg-descr Sun Feb 18 13:38:57 2018 (r462246) @@ -1,5 +1,14 @@ -The aim of SCEW is to provide an easy interface around the Expat XML parser. -SCEW also incorporates functions to create and handle XML trees. That is, add -and delete nodes, change attribute names and values, etc. +The aim of SCEW is to provide an easy interface around the XML Expat parser, as +well as a simple interface for creating new XML documents. It provides functions +to load and access XML elements without the need to create Expat event handling +routines every time you want to load a new XML document. -WWW: http://www.nongnu.org/scew/ +These are the main SCEW features: +- Uses a DOM-like object model for new or parsed XML documents. +- Supports loading concatenated XML documents. +- Can copy and compare full XML documents, elements or attributes. +- Writes XML documents to multiple outputs. +- Allows adding new I/O sources easily. +- UTF-8, ISO-8859-1 and US-ASCII encodings (and UTF-16 in Windows). + +WWW: https://savannah.nongnu.org/projects/scew Modified: head/textproc/scew/pkg-plist ============================================================================== --- head/textproc/scew/pkg-plist Sun Feb 18 13:38:51 2018 (r462245) +++ head/textproc/scew/pkg-plist Sun Feb 18 13:38:57 2018 (r462246) @@ -1,11 +1,6 @@ bin/scew_print bin/scew_stream bin/scew_write -libdata/pkgconfig/scew.pc -lib/libscew.a -lib/libscew.so -lib/libscew.so.1 -lib/libscew.so.1.0.8 include/scew/attribute.h include/scew/bool.h include/scew/element.h @@ -23,3 +18,8 @@ include/scew/tree.h include/scew/writer.h include/scew/writer_buffer.h include/scew/writer_file.h +lib/libscew.a +lib/libscew.so +lib/libscew.so.1 +lib/libscew.so.1.0.10 +libdata/pkgconfig/scew.pc