svn commit: r461597 - head/sysutils/tren

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Feb 12 15:47:23 UTC 2018


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 at 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/


More information about the svn-ports-head mailing list