summaryrefslogtreecommitdiff
path: root/sysutils/jtop
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/jtop')
-rw-r--r--sysutils/jtop/Makefile3
-rw-r--r--sysutils/jtop/files/patch-Makefile15
2 files changed, 14 insertions, 4 deletions
diff --git a/sysutils/jtop/Makefile b/sysutils/jtop/Makefile
index c6245525c15f..38e13c93eed2 100644
--- a/sysutils/jtop/Makefile
+++ b/sysutils/jtop/Makefile
@@ -1,5 +1,6 @@
PORTNAME= jtop
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://ext.by/jtop/
@@ -11,7 +12,7 @@ BUILD_DEPENDS= p5-Term-ReadKey>=0:devel/p5-Term-ReadKey
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5 shebangfix
-PLIST_FILES= bin/jtop man/man1/jtop.1.gz
+PLIST_FILES= bin/jtop share/man/man1/jtop.1.gz
SHEBANG_FILES= jtop.pl
.include <bsd.port.mk>
diff --git a/sysutils/jtop/files/patch-Makefile b/sysutils/jtop/files/patch-Makefile
index 8d081fe0f709..eeabc4b8112a 100644
--- a/sysutils/jtop/files/patch-Makefile
+++ b/sysutils/jtop/files/patch-Makefile
@@ -1,6 +1,15 @@
---- Makefile.orig 2014-06-27 11:43:49.474359774 +0800
-+++ Makefile 2014-06-27 11:44:04.348361308 +0800
-@@ -40,8 +40,8 @@ clean:
+--- Makefile.orig 2004-03-24 04:54:58 UTC
++++ Makefile
+@@ -14,7 +14,7 @@ MAN_SFX=1
+ PKG=jtop
+
+ MAN_SFX=1
+-MAN_DIR=man/man1
++MAN_DIR=share/man/man1
+
+ TARGETS=${PKG} ${PKG}.${MAN_SFX}.gz
+
+@@ -40,8 +40,8 @@ install: all
${RM} -rf ${TARGETS}
install: all