From owner-svn-ports-all@freebsd.org Wed Dec 28 19:25:41 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB3F1C955D2; Wed, 28 Dec 2016 19:25:41 +0000 (UTC) (envelope-from amdmi3@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 mx1.freebsd.org (Postfix) with ESMTPS id A13231721; Wed, 28 Dec 2016 19:25:41 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBSJPe5F062247; Wed, 28 Dec 2016 19:25:40 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBSJPe0t062245; Wed, 28 Dec 2016 19:25:40 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201612281925.uBSJPe0t062245@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 28 Dec 2016 19:25:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429817 - head/www/tdom X-SVN-Group: ports-head 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.23 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: Wed, 28 Dec 2016 19:25:42 -0000 Author: amdmi3 Date: Wed Dec 28 19:25:40 2016 New Revision: 429817 URL: https://svnweb.freebsd.org/changeset/ports/429817 Log: - Add LICENSE - Make port more readable by not mixing declarations and targets - Switch to new test framework - No need to install LICENSE file with docs Approved by: portmgr blanket Modified: head/www/tdom/Makefile head/www/tdom/pkg-plist Modified: head/www/tdom/Makefile ============================================================================== --- head/www/tdom/Makefile Wed Dec 28 19:18:04 2016 (r429816) +++ head/www/tdom/Makefile Wed Dec 28 19:25:40 2016 (r429817) @@ -9,27 +9,30 @@ MASTER_SITES= GHC http://mirrors.rit.edu MAINTAINER= mi@aldan.algebra.com COMMENT= High performance XML data processing with Tcl (ARGS for OpenACS) -TDOMBASE= ${PREFIX}/lib/tdom${PORTVERSION} +LICENSE= MPL MIT +LICENSE_COMB= multi +LICENSE_FILE_MIT= ${WRKSRC}/expat/COPYING -OPTIONS_DEFINE= DOCS +TDOMBASE= ${PREFIX}/lib/tdom${PORTVERSION} USES= gmake tar:tgz tcl:tea USE_GITHUB= yes +CONFIGURE_ARGS= --enable-threads --disable-tdomalloc -pre-configure: - ${RM} ${WRKSRC}/generic/domalloc.? +TEST_TARGET= test +TEST_ENV= LANG=C -PLIST_SUB+= PORTVERSION=${PORTVERSION} +PLIST_SUB= PORTVERSION=${PORTVERSION} -DOCS= CHANGES LICENSE README README.AOL +DOCS= CHANGES README README.AOL HTMLDOCS= category-index.html dom.html domDoc.html domNode.html \ expat.html expatapi.html index.html keyword-index.html \ tdomcmd.html tnc.html -post-build test: - ${SETENV} LANG=C ${MAKE} -C ${WRKSRC} test +OPTIONS_DEFINE= DOCS -CONFIGURE_ARGS+=--enable-threads --disable-tdomalloc +pre-configure: + @${RM} ${WRKSRC}/generic/domalloc.? post-install: ${CHMOD} 755 ${STAGEDIR}${TDOMBASE} Modified: head/www/tdom/pkg-plist ============================================================================== --- head/www/tdom/pkg-plist Wed Dec 28 19:18:04 2016 (r429816) +++ head/www/tdom/pkg-plist Wed Dec 28 19:25:40 2016 (r429817) @@ -22,6 +22,5 @@ man/mann/tnc.n.gz %%PORTDOCS%%%%DOCSDIR%%/html/tdomcmd.html %%PORTDOCS%%%%DOCSDIR%%/html/tnc.html %%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/README.AOL