From owner-svn-ports-head@FreeBSD.ORG Sat Dec 20 18:15:52 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8450D9C; Sat, 20 Dec 2014 18:15:52 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9AF331BA4; Sat, 20 Dec 2014 18:15:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBKIFqqV060736; Sat, 20 Dec 2014 18:15:52 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBKIFqDo060734; Sat, 20 Dec 2014 18:15:52 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201412201815.sBKIFqDo060734@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 20 Dec 2014 18:15:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375056 - head/textproc/xerces-c3 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.18-1 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: Sat, 20 Dec 2014 18:15:52 -0000 Author: sunpoet Date: Sat Dec 20 18:15:51 2014 New Revision: 375056 URL: https://svnweb.freebsd.org/changeset/ports/375056 QAT: https://qat.redports.org/buildarchive/r375056/ Log: - Add LICENSE - Strip shared library - Use PKGNAMESUFFIX - Simplify MASTER_SITES - Use MAKE_CMD - Bump PORTREVISION for package change - Sort PLIST - Take maintainership Modified: head/textproc/xerces-c3/Makefile head/textproc/xerces-c3/pkg-plist Modified: head/textproc/xerces-c3/Makefile ============================================================================== --- head/textproc/xerces-c3/Makefile Sat Dec 20 18:15:46 2014 (r375055) +++ head/textproc/xerces-c3/Makefile Sat Dec 20 18:15:51 2014 (r375056) @@ -1,31 +1,35 @@ # Created by: gahr # $FreeBSD$ -PORTNAME= xerces-c3 +PORTNAME= xerces-c PORTVERSION= 3.1.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc -MASTER_SITES= ${MASTER_SITE_APACHE} -MASTER_SITE_SUBDIR= xerces/c/3/sources -DISTNAME= xerces-c-${PORTVERSION} +MASTER_SITES= APACHE/xerces/c/3/sources +PKGNAMESUFFIX= 3 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Validating XML parser from the Apache XML Project -CONFLICTS= xerces-c2-[0-9]* xerces-c2-devel-[0-9]* +LICENSE= APACHE20 -USES= gmake pathfix libtool -USE_LDCONFIG= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ +CONFLICTS_INSTALL= xerces-c2-[0-9]* xerces-c2-devel-[0-9]* + +CONFIGURE_ARGS= --enable-netaccessor-socket \ --enable-transcoder-iconv \ - --enable-netaccessor-socket -MAKE_ENV+= XERCESCROOT=${WRKSRC} + --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +MAKE_ENV= XERCESCROOT=${WRKSRC} +USE_LDCONFIG= yes +USES= gmake libtool pathfix + +PLIST_SUB= MAJOR_VER=${PORTVERSION:R} post-install: - ${LN} -sf libxerces-c-${PORTVERSION:R}.so ${STAGEDIR}${PREFIX}/lib/libxerces-c.so.${PORTVERSION:R:R} + ${LN} -s libxerces-c-${PORTVERSION:R}.so ${STAGEDIR}${PREFIX}/lib/libxerces-c.so.${PORTVERSION:R:R} -test: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check +regression-test test: build + cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include Modified: head/textproc/xerces-c3/pkg-plist ============================================================================== --- head/textproc/xerces-c3/pkg-plist Sat Dec 20 18:15:46 2014 (r375055) +++ head/textproc/xerces-c3/pkg-plist Sat Dec 20 18:15:51 2014 (r375056) @@ -14,11 +14,6 @@ bin/SCMPrint bin/SEnumVal bin/StdInParse bin/XInclude -libdata/pkgconfig/xerces-c.pc -lib/libxerces-c-3.1.so -lib/libxerces-c.so.3 -lib/libxerces-c.so -lib/libxerces-c.a include/xercesc/dom/DOM.hpp include/xercesc/dom/DOMAttr.hpp include/xercesc/dom/DOMCDATASection.hpp @@ -487,3 +482,8 @@ include/xercesc/validators/schema/identi include/xercesc/xinclude/XIncludeDOMDocumentProcessor.hpp include/xercesc/xinclude/XIncludeLocation.hpp include/xercesc/xinclude/XIncludeUtils.hpp +lib/libxerces-c-%%MAJOR_VER%%.so +lib/libxerces-c.a +lib/libxerces-c.so +lib/libxerces-c.so.3 +libdata/pkgconfig/xerces-c.pc