summaryrefslogtreecommitdiff
path: root/sysutils/tdir/files/patch-Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-02-19 14:01:41 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-02-19 14:01:41 +0000
commitb2848559e094e4299b22c2576d9d3865b6475470 (patch)
treef6b80cf70664c939dd4ccf1368d6d5352754ef10 /sysutils/tdir/files/patch-Makefile
parentdevel/tcllib, devel/tcllibc: update to 1.19 (diff)
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
Notes
Notes: svn path=/head/; revision=462320
Diffstat (limited to 'sysutils/tdir/files/patch-Makefile')
-rw-r--r--sysutils/tdir/files/patch-Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/tdir/files/patch-Makefile b/sysutils/tdir/files/patch-Makefile
new file mode 100644
index 000000000000..76848f8fb2a2
--- /dev/null
+++ b/sysutils/tdir/files/patch-Makefile
@@ -0,0 +1,13 @@
+--- Makefile.orig 2014-02-12 18:24:13 UTC
++++ Makefile
+@@ -3,8 +3,5 @@
+ all: # Do nothing - this is a python script that needs no build
+
+ install:
+- install -c -o root -g wheel -m 755 ./tdir ${PREFIX}/bin
+- install -c -o root -g wheel -m 644 ./tdir.1.gz ${PREFIX}/man/man1
+- mkdir ${PREFIX}/share/doc/tdir
+- install -c -o root -g wheel -m 644 ./tdir-license.txt ${PREFIX}/share/doc/tdir
+-
++ ${BSD_INSTALL_SCRIPT} ./tdir ${DESTDIR}${PREFIX}/bin
++ ${BSD_INSTALL_MAN} ./tdir.1.gz ${DESTDIR}${PREFIX}/man/man1