Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2018 15:47:22 +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: r461597 - head/sysutils/tren
Message-ID:  <201802121547.w1CFlM6Y013646@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Feb 12 15:47:22 2018
New Revision: 461597
URL: https://svnweb.freebsd.org/changeset/ports/461597

Log:
  - Add license
  
  It explicitly requires user to read and agree with it, so no-auto-accept;
  it also requires that `no fee beyond reasonable duplication charges
  may be charged for 'tren'`. I don't think we can guarantee that,
  so no-*-sell also.
  
  - Add NO_BUILD
  - Fix shebang
  - Update WWW:
  
  Approved by:	portmgr blanket

Modified:
  head/sysutils/tren/Makefile
  head/sysutils/tren/pkg-descr

Modified: head/sysutils/tren/Makefile
==============================================================================
--- head/sysutils/tren/Makefile	Mon Feb 12 15:42:58 2018	(r461596)
+++ head/sysutils/tren/Makefile	Mon Feb 12 15:47:22 2018	(r461597)
@@ -3,21 +3,29 @@
 
 PORTNAME=	tren
 PORTVERSION=	1.242
+PORTREVISION=	1
 CATEGORIES=	sysutils python
 MASTER_SITES=	http://www.tundraware.com/Software/tren/
 
 MAINTAINER=	tren@tundraware.com
 COMMENT=	Powerful File And Directory Batch Renaming Tool
 
-USES=		python
+LICENSE=	TREN
+LICENSE_NAME=	Tren license
+LICENSE_FILE=	${WRKSRC}/tren-license.txt
+LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell no-auto-accept
+
+USES=		python:2,run shebangfix
+SHEBANG_FILES=	tren.py
 PLIST_FILES=	bin/tren.py man/man1/tren.1.gz
 PORTDOCS=	WHATSNEW.txt tren-license.txt tren.html tren.pdf tren.ps tren.rst
+NO_BUILD=	yes
 NO_ARCH=	yes
 
 OPTIONS_DEFINE=	DOCS
 
 post-install-DOCS-on:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}/
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/
 	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>

Modified: head/sysutils/tren/pkg-descr
==============================================================================
--- head/sysutils/tren/pkg-descr	Mon Feb 12 15:42:58 2018	(r461596)
+++ head/sysutils/tren/pkg-descr	Mon Feb 12 15:47:22 2018	(r461597)
@@ -4,4 +4,4 @@ batches of files and/or directories with a single comm
 invocation. tren eliminates the tedium of having to script simpler
 tools to provide higher-level renaming capabilities.
 
-WWW: http://www.tundraware.com/Software/tren/
+WWW: https://www.tundraware.com/Software/tren/



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