1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/sysutils/tbku/Makefile
Dmitry Marakasov b2848559e0 Fix bunch of ports by TundraWare, which share a common set of problems
- 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
2018-02-19 14:01:41 +00:00

33 lines
945 B
Makefile

# Created by: tundra
# $FreeBSD$
PORTNAME= tbku
PORTVERSION= 1.120
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.tundraware.com/Software/tbku/
MAINTAINER= tbku@tundraware.com
COMMENT= Tool For Incremental And Imaging Backups
LICENSE= TundraWare
LICENSE_NAME= TundraWare license
LICENSE_FILE= ${WRKSRC}/tbku-license.txt
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell no-auto-accept
NO_ARCH= yes
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in WHATSNEW.txt tbku-license.txt tbku.html tbku.pdf tbku.ps tbku.txt \
Imaging-FreeBSD-With-tbku.txt Imaging-FreeBSD-With-tbku.html \
Imaging-FreeBSD-With-tbku.pdf Imaging-FreeBSD-With-tbku.ps \
Imaging-SUSE-Linux-With-tbku.txt Imaging-SUSE-Linux-With-tbku.html \
Imaging-SUSE-Linux-With-tbku.pdf Imaging-SUSE-Linux-With-tbku.ps
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>