aboutsummaryrefslogtreecommitdiff
path: root/sysutils/reptyr
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-07-18 01:12:12 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-07-18 01:12:12 +0000
commit573d23baa85ab2c4098e5da56de7d6a39e03abb5 (patch)
treec794e58dfcb651598b36be64c4653f9ae7e40995 /sysutils/reptyr
parent5f8b523afa538f04f75bd18c90b33d7793aa4eb8 (diff)
downloadports-573d23baa85ab2c4098e5da56de7d6a39e03abb5.tar.gz
ports-573d23baa85ab2c4098e5da56de7d6a39e03abb5.zip
sysutils/reptyr: fix manual page location
PR: 200720 Submitted by: makc
Notes
Notes: svn path=/head/; revision=392402
Diffstat (limited to 'sysutils/reptyr')
-rw-r--r--sysutils/reptyr/Makefile3
-rw-r--r--sysutils/reptyr/files/patch-Makefile11
-rw-r--r--sysutils/reptyr/pkg-plist4
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