Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2013 22:12:48 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331433 - in head/textproc/xmlto: . files
Message-ID:  <201310232212.r9NMCmir071098@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Wed Oct 23 22:12:47 2013
New Revision: 331433
URL: http://svnweb.freebsd.org/changeset/ports/331433

Log:
  Make sure to not read/pollute the building user's HOME.
  Add LICENSE. The port is GPLv2+. No longer install COPYING separately (which is
  another copy of the GPLv2 text).
  Remove MAKE_JOBS_UNSAFE.

Modified:
  head/textproc/xmlto/Makefile
  head/textproc/xmlto/files/patch-xmlto.in   (contents, props changed)

Modified: head/textproc/xmlto/Makefile
==============================================================================
--- head/textproc/xmlto/Makefile	Wed Oct 23 21:33:06 2013	(r331432)
+++ head/textproc/xmlto/Makefile	Wed Oct 23 22:12:47 2013	(r331433)
@@ -3,12 +3,15 @@
 
 PORTNAME=	xmlto
 PORTVERSION=	0.0.25
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	https://fedorahosted.org/releases/x/m/xmlto/
 
 MAINTAINER=	mandree@FreeBSD.org
 COMMENT=	Front-end to an XSL toolchain
 
+LICENSE=	GPLv2
+
 BUILD_DEPENDS=	${BASH_CMD}:${PORTSDIR}/shells/bash \
 		${GETOPT_CMD}:${PORTSDIR}/misc/getopt \
 		xmllint:${PORTSDIR}/textproc/libxml2 \
@@ -19,8 +22,6 @@ BUILD_DEPENDS=	${BASH_CMD}:${PORTSDIR}/s
 		${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-MAKE_JOBS_UNSAFE=	yes
-
 OPTIONS_DEFINE=		DBLATEX FOP PASSIVETEX
 DBLATEX_DESC=		Add dependency on Dblatex
 FOP_DESC=		Add dependency on FOP (needs Java)
@@ -36,10 +37,10 @@ GETOPT_CMD=	${LOCALBASE}/bin/getopt
 XSL_DIR=	${LOCALBASE}/share/xsl/docbook
 PDFXMLTEX_CMD=	${LOCALBASE}/bin/pdftex
 
-PORTDOCS=	AUTHORS COPYING ChangeLog NEWS THANKS
-# these two documentation files do not convey information useful for
-# the FreeBSD port at this time:
-# PORTDOCS+=	FAQ README
+PORTDOCS=	AUTHORS ChangeLog NEWS THANKS
+# these documentation files do not convey information useful for
+# the FreeBSD port at this time, or are provided by the ports framework:
+# PORTDOCS+=	COPYING FAQ README
 
 .include <bsd.port.pre.mk>
 

Modified: head/textproc/xmlto/files/patch-xmlto.in
==============================================================================
--- head/textproc/xmlto/files/patch-xmlto.in	Wed Oct 23 21:33:06 2013	(r331432)
+++ head/textproc/xmlto/files/patch-xmlto.in	Wed Oct 23 22:12:47 2013	(r331433)
@@ -1,5 +1,5 @@
---- ./xmlto.in.orig	2012-02-09 02:08:09.000000000 +0100
-+++ ./xmlto.in	2012-02-09 02:08:09.000000000 +0100
+--- ./xmlto.in.orig	2011-11-29 12:49:57.000000000 +0100
++++ ./xmlto.in	2013-10-07 23:52:57.000000000 +0200
 @@ -262,7 +262,7 @@
  
  # Process any options
@@ -9,3 +9,10 @@
  	-n xmlto -- x:m:o:p:v "$@")
  [ $? != 0 ] && { usage; exit 1; }
  eval set -- "$ARGS"
+@@ -611,4 +611,6 @@
+   # Extremely verbose
+   BASH="${BASH} -x"
+ fi
++make_temp -d temphome HOME || exit 1
++export HOME
+ ${BASH} "$FORMAT" post-process || exit 1



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