- 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
34 lines
943 B
Makefile
34 lines
943 B
Makefile
# Created by: tundra
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= twander
|
|
PORTVERSION= 3.231
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11-fm
|
|
MASTER_SITES= http://www.tundraware.com/Software/twander/
|
|
|
|
MAINTAINER= twander@tundraware.com
|
|
COMMENT= Better Filesystem Browser
|
|
|
|
LICENSE= TundraWare
|
|
LICENSE_NAME= TundraWare license
|
|
LICENSE_FILE= ${WRKSRC}/twander-license.txt
|
|
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell no-auto-accept
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR}
|
|
|
|
USES= python:2.7 shebangfix
|
|
SHEBANG_FILES= twander.py
|
|
MAKE_ENV= PYTHON_CMD="${PYTHON_CMD}"
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in READ-1ST.txt WHATSNEW.txt .twander twander.html twander.pdf twander.ps twander.txt
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|