aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-22 13:29:55 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-22 14:02:03 +0000
commitaa24de6a2cf20713e05319153349c39047da6d49 (patch)
treeab44826036644533fe73cf09e7cd63371e4b99ad
parent54e21d698897bdc02a86cad826460fa5f7f4644b (diff)
downloadports-aa24de6a2cf20713e05319153349c39047da6d49.tar.gz
ports-aa24de6a2cf20713e05319153349c39047da6d49.zip
chinese/cless: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--chinese/cless/Makefile2
-rw-r--r--chinese/cless/files/patch-Makefile.in15
-rw-r--r--chinese/cless/pkg-plist4
3 files changed, 16 insertions, 5 deletions
diff --git a/chinese/cless/Makefile b/chinese/cless/Makefile
index 9704c6b56bce..88071f4f2cab 100644
--- a/chinese/cless/Makefile
+++ b/chinese/cless/Makefile
@@ -1,5 +1,6 @@
PORTNAME= cless
PORTVERSION= 290
+PORTREVISION= 1
CATEGORIES= chinese
MASTER_SITES= ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/c-utils/
@@ -10,6 +11,7 @@ LICENSE= BSD2CLAUSE
USES= ncurses
GNU_CONFIGURE= yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CFLAGS+= -DHANZI # LDFLAGS=-s datadir=/usr/local/lib/less
CPP= #
diff --git a/chinese/cless/files/patch-Makefile.in b/chinese/cless/files/patch-Makefile.in
index f42322dc35ae..5b14c61e41c5 100644
--- a/chinese/cless/files/patch-Makefile.in
+++ b/chinese/cless/files/patch-Makefile.in
@@ -1,6 +1,15 @@
---- Makefile.in.orig 1995-04-25 10:41:39.000000000 +0800
-+++ Makefile.in 2014-01-08 23:13:25.000000000 +0800
-@@ -73,24 +73,24 @@ lesskey: lesskey.${O} version.${O}
+--- Makefile.in.orig 1995-04-25 02:41:39 UTC
++++ Makefile.in
+@@ -27,7 +27,7 @@ datadir = ${prefix}/share
+ # Where the help file goes.
+ datadir = ${prefix}/share
+
+-mandir = ${prefix}/man/man${manext}
++mandir = ${prefix}/share/man/man${manext}
+ manext = 1
+ manprefix =
+
+@@ -73,24 +73,24 @@ filename.${O}: filename.c
${OBJ}: less.h defines.h funcs.h
filename.${O}: filename.c
diff --git a/chinese/cless/pkg-plist b/chinese/cless/pkg-plist
index 762aa48d6578..bda7b9206944 100644
--- a/chinese/cless/pkg-plist
+++ b/chinese/cless/pkg-plist
@@ -1,7 +1,7 @@
bin/cless
bin/clesskey
-man/man1/cless.1.gz
-man/man1/clesskey.1.gz
+share/man/man1/cless.1.gz
+share/man/man1/clesskey.1.gz
share/cless.bg5
share/cless.gb
share/cless.hlp