freebsd-ports/sysutils/abck/files/patch-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

12 lines
505 B
Text

--- Makefile.orig 2002-09-04 21:55:45 UTC
+++ Makefile
@@ -4,7 +4,5 @@
all: # Do nothing - this is a python script that needs no build
install:
- install -c -o root -g wheel -m 700 ./abck ${PREFIX}/bin
- mkdir ${PREFIX}/share/doc/abck
- install -c -o root -g wheel -m 644 ./abck.1.gz ${PREFIX}/man/man1
- install -c -o root -g wheel -m 644 ./abck-License.txt ${PREFIX}/share/doc/abck
+ ${BSD_INSTALL_SCRIPT} ./abck ${DESTDIR}${PREFIX}/bin
+ ${BSD_INSTALL_MAN} ./abck.1.gz ${DESTDIR}${PREFIX}/man/man1