- 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
29 lines
672 B
Makefile
29 lines
672 B
Makefile
# Created by: tundra
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tdir
|
|
PORTVERSION= 1.71
|
|
PORTREVISION= 2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.tundraware.com/Software/tdir/
|
|
|
|
MAINTAINER= tdir@tundraware.com
|
|
COMMENT= Advanced file directory display utility
|
|
|
|
BROKEN= license forbids modification, but the port cannot be used without it
|
|
|
|
LICENSE= TundraWare
|
|
LICENSE_NAME= TundraWare license
|
|
LICENSE_FILE= ${WRKSRC}/tdir-license.txt
|
|
LICENSE_PERMS= dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell no-auto-accept
|
|
|
|
USES= python:2.7,run shebangfix
|
|
SHEBANG_FILES= tdir
|
|
python_OLD_CMD= "/usr//bin/env python"
|
|
NO_ARCH= yes
|
|
|
|
PLIST_FILES= bin/tdir \
|
|
man/man1/tdir.1.gz
|
|
|
|
.include <bsd.port.mk>
|