Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2016 19:25:40 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429817 - head/www/tdom
Message-ID:  <201612281925.uBSJPe0t062245@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612281925.uBSJPe0t062245>