Skip to content

Commit

Permalink
chinese/cless: Moved man to share/man
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Feb 22, 2024
1 parent 54e21d6 commit aa24de6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
2 changes: 2 additions & 0 deletions chinese/cless/Makefile
Original file line number Diff line number Diff line change
@@ -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/

Expand All @@ -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= #

Expand Down
15 changes: 12 additions & 3 deletions chinese/cless/files/patch-Makefile.in
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions chinese/cless/pkg-plist
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit aa24de6

Please sign in to comment.