diff options
-rw-r--r-- | sysutils/reptyr/Makefile | 3 | ||||
-rw-r--r-- | sysutils/reptyr/files/patch-Makefile | 11 | ||||
-rw-r--r-- | sysutils/reptyr/pkg-plist | 4 |
3 files changed, 13 insertions, 5 deletions
diff --git a/sysutils/reptyr/Makefile b/sysutils/reptyr/Makefile index 5230d5fc2671..fd19fdb9883c 100644 --- a/sysutils/reptyr/Makefile +++ b/sysutils/reptyr/Makefile @@ -3,6 +3,7 @@ PORTNAME= reptyr PORTVERSION= 0.6.3a +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= andoriyu@gmail.com @@ -36,7 +37,5 @@ post-install: ${STAGEDIR}${PREFIX}/etc/bash_completion.d/reptyr .endif ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/reptyr - ${GZIP_CMD} ${STAGEDIR}${PREFIX}/share/man/man1/reptyr.1 - ${GZIP_CMD} ${STAGEDIR}${PREFIX}/share/man/fr/man1/reptyr.1 .include <bsd.port.post.mk> diff --git a/sysutils/reptyr/files/patch-Makefile b/sysutils/reptyr/files/patch-Makefile index 9ec540889357..9d561161cdc7 100644 --- a/sysutils/reptyr/files/patch-Makefile +++ b/sysutils/reptyr/files/patch-Makefile @@ -1,11 +1,20 @@ --- Makefile.orig 2015-06-05 21:41:48 UTC +++ Makefile +@@ -14,7 +14,7 @@ endif + # e.g. install to /usr with `make PREFIX=/usr` + PREFIX=/usr/local + BINDIR=$(PREFIX)/bin +-MANDIR=$(PREFIX)/share/man ++MANDIR=$(PREFIX)/man + + PKG_CONFIG ?= pkg-config + @@ -43,7 +43,7 @@ ptrace.o: ptrace.h platform/platform.h $ clean: rm -f reptyr $(OBJS) test/victim.o test/victim -BASHCOMPDIR ?= $(shell $(PKG_CONFIG) --variable=completionsdir bash-completion 2>/dev/null) -+BASHCOMPDIR ?= /usr/local/share/bash-completion/completions ++BASHCOMPDIR ?= $(PREFIX)/share/bash-completion/completions install: reptyr install -d -m 755 $(DESTDIR)$(BINDIR) diff --git a/sysutils/reptyr/pkg-plist b/sysutils/reptyr/pkg-plist index 0e8f6f11e77a..a915cee8acab 100644 --- a/sysutils/reptyr/pkg-plist +++ b/sysutils/reptyr/pkg-plist @@ -1,5 +1,5 @@ %%BASH%%etc/bash_completion.d/reptyr %%BASH%%share/bash-completion/completions/reptyr bin/reptyr -share/man/fr/man1/reptyr.1.gz -share/man/man1/reptyr.1.gz +man/fr/man1/reptyr.1.gz +man/man1/reptyr.1.gz |