1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

- Update to version 4.6.4

- Define LICENSE (GPLv2) and remove it (and some other useless files) from
  PORTDOCS
- Remove pkg-plist; use PLIST_FILES/PORTDOCS instead
- Adjust COMMENT and canonicalize Makefile header
- Always include large file support as it seems there is no reason not to
  enable it these days
- Remove useless MASTER_SITE_SUBDIR and add missing USE_NCURSES knobs
- Deorbit custom do-install target; instead use post-install for PORTDOCS
- Unmute installation commands

Submitted by:	zeus@ibs.dn.ua (version update; cleanups and bugs are mine)
Approved by:	maintainer timeout (over 6 months)
This commit is contained in:
Alexey Dokuchaev 2012-02-02 14:13:30 +00:00
parent 5830e12953
commit 43140d23fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290307
5 changed files with 49 additions and 36 deletions

View File

@ -1,4 +1,4 @@
# Ports collection makefile for: clex-tty
# New ports collection makefile for: CLEX File Manager
# Date created: Tue Oct 30, 2002
# Whom: Michael L. Hostbaek <mich@freebsdcluster.org>
#
@ -6,34 +6,34 @@
#
PORTNAME= clex
PORTVERSION= 3.18
PORTVERSION= 4.6.4
CATEGORIES= misc
MASTER_SITES= http://www.clex.sk/download/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= mich@FreeBSD.org
COMMENT= A commandline file manager
COMMENT= A command line file manager
LICENSE= GPLv2
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_NCURSES= yes
DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
MAN1= clex.1
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS= LARGE_FILES "Enable support for large files" on
PLIST_FILES= bin/clex bin/cfg-clex bin/kbd-test
PORTDOCS= AUTHORS ChangeLog README
MAN1= clex.1 cfg-clex.1 kbd-test.1
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e '18s,^,#include <stdio.h>,' \
${WRKSRC}/src/preview.c
.if !defined(WITH_LARGE_FILES)
CONFIGURE_ARGS+= --disable-largefile
.endif
do-install:
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
@${INSTALL_MAN} ${WRKSRC}/src/${MAN1} ${MAN1PREFIX}/man/man1
@${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (clex-3.18.tar.gz) = e71dbe391234de3b237948231d9baa739cf3956a668dff7cb96af8fc0b7a0576
SIZE (clex-3.18.tar.gz) = 206303
SHA256 (clex-4.6.4.tar.gz) = 3b0fdd4ba7511edf542bf96dfd16556338cde8756863c4d1a3e40eebe63afceb
SIZE (clex-4.6.4.tar.gz) = 243297

View File

@ -0,0 +1,21 @@
--- src/control.c.old 2011-07-14 21:48:59.000000000 +0200
+++ src/control.c 2011-07-14 21:54:55.000000000 +0200
@@ -395,12 +395,12 @@
};
static KEY_BINDING tab_log[] = {
- { 0, 0, WCH_CTRL('M'), cx_pan_home, 0 },
- { 1, 0, KEY_LEFT, cx_log_left, 0 },
- { 1, 0, KEY_RIGHT, cx_log_right, 0 },
- { 1, 0, KEY_HOME, cx_log_home, 0 },
- { 0, 0, L'm', cx_log_mark, 0 },
- { 0, 1, L'l', cx_trans_return, 0 },
+ { 0, 0, WCH_CTRL('M'), cx_pan_home, 0 },
+ { 1, 0, KEY_LEFT, cx_log_left, OPT_NOFILT },
+ { 1, 0, KEY_RIGHT, cx_log_right, OPT_NOFILT },
+ { 1, 0, KEY_HOME, cx_log_home, OPT_NOFILT },
+ { 0, 0, L'm', cx_log_mark, OPT_NOFILT },
+ { 0, 1, L'l', cx_trans_return, 0 },
END_TABLE
};

View File

@ -1,11 +1,11 @@
CLEX is a file manager with a full-screen user interface
written in C with the curses library. It displays directory
contents (including file status details) and provides
features like command history, filename insertion, or name
completion in order to help the user to construct commands
to be executed by the shell (there are no built-in commands).
CLEX is easily configurable and all its features are
explained in the on-line help.
CLEX (pronounced KLEKS) is a file manager with full-screen user interface.
It displays directory contents, including file status details, and provides
features like command history, filename insertion, or name completion, in
order to help users to create commands to be executed by the shell.
CLEX is versatile tool for system administrators and all users that utilize
the enormous power of the command line. Its unique one-panel user interface
enhances productivity and lessens the probability of mistake. There are no
built-in commands; CLEX is an add-on to your favorite shell.
Author: Vlado Potisk <clex@clex.sk>
WWW: http://www.clex.sk/

View File

@ -1,8 +0,0 @@
bin/clex
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%