diff options
Diffstat (limited to 'sysutils/tdir')
-rw-r--r-- | sysutils/tdir/Makefile | 18 | ||||
-rw-r--r-- | sysutils/tdir/files/patch-Makefile | 13 |
2 files changed, 23 insertions, 8 deletions
diff --git a/sysutils/tdir/Makefile b/sysutils/tdir/Makefile index d3cd85d9d5ea..6d13d6fa00e7 100644 --- a/sysutils/tdir/Makefile +++ b/sysutils/tdir/Makefile @@ -3,24 +3,26 @@ PORTNAME= tdir PORTVERSION= 1.71 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://www.tundraware.com/Software/tdir/ MAINTAINER= tdir@tundraware.com COMMENT= Advanced file directory display utility -USES= python shebangfix +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" - -MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} +NO_ARCH= yes PLIST_FILES= bin/tdir \ man/man1/tdir.1.gz -PORTDOCS= tdir-license.txt - -post-patch: - @${REINPLACE_CMD} 's,-o root -g wheel,,' ${WRKSRC}/Makefile .include <bsd.port.mk> 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 |