Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 2015 01:12:13 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r392402 - in head/sysutils/reptyr: . files
Message-ID:  <201507180112.t6I1CDFv084371@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Jul 18 01:12:12 2015
New Revision: 392402
URL: https://svnweb.freebsd.org/changeset/ports/392402

Log:
  sysutils/reptyr: fix manual page location
  
  PR:		200720
  Submitted by:	makc

Modified:
  head/sysutils/reptyr/Makefile
  head/sysutils/reptyr/files/patch-Makefile
  head/sysutils/reptyr/pkg-plist

Modified: head/sysutils/reptyr/Makefile
==============================================================================
--- head/sysutils/reptyr/Makefile	Sat Jul 18 00:56:35 2015	(r392401)
+++ head/sysutils/reptyr/Makefile	Sat Jul 18 01:12:12 2015	(r392402)
@@ -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>

Modified: head/sysutils/reptyr/files/patch-Makefile
==============================================================================
--- head/sysutils/reptyr/files/patch-Makefile	Sat Jul 18 00:56:35 2015	(r392401)
+++ head/sysutils/reptyr/files/patch-Makefile	Sat Jul 18 01:12:12 2015	(r392402)
@@ -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)

Modified: head/sysutils/reptyr/pkg-plist
==============================================================================
--- head/sysutils/reptyr/pkg-plist	Sat Jul 18 00:56:35 2015	(r392401)
+++ head/sysutils/reptyr/pkg-plist	Sat Jul 18 01:12:12 2015	(r392402)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507180112.t6I1CDFv084371>