b2848559e0
- Add LICENSE It explicitly requires user agreement (thus no-auto-accept) and forbids distribution for a fee `beyond reasonable duplication charges` which is too vague I don't think can be guaranteed in any case (thus no-*-sell) tdir port uses another variant of license, which also forbids modification, and since the port requires shebangfix and Makefile patching, also mark it no-pkg-mirror and BROKEN. - Don't install licenses with documentation, since our license framework already handles this - Fix python shebangs - Limit python version to 2.7, as no port is compatible with python3 - Add NO_ARCH - User options targets helpers - Simplify installation in a few cases Approved by: portmgr blanket
31 lines
820 B
Makefile
31 lines
820 B
Makefile
# Created by: Tim Daneliuk <tren@tundraware.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tren
|
|
PORTVERSION= 1.242
|
|
PORTREVISION= 3
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= http://www.tundraware.com/Software/tren/
|
|
|
|
MAINTAINER= tren@tundraware.com
|
|
COMMENT= Powerful File And Directory Batch Renaming Tool
|
|
|
|
LICENSE= TundraWare
|
|
LICENSE_NAME= TundraWare 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.7,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_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|