Upgrade to using fileutils-4.0.
Add a few tweaks to make building simpler, and to enable NLS if you want.
This commit is contained in:
parent
fbda2d5864
commit
1a906e6713
@ -1,25 +1,35 @@
|
||||
# New ports collection makefile for: Linux-style colorized `ls'
|
||||
# Version required: 3.12.0.2 (GNU fileutils 3.12)
|
||||
# Date created: 06 January 1996
|
||||
# Whom: bmc@WillsCreek.COM
|
||||
#
|
||||
# $FreeBSD: Makefile,v 1.7 1997/09/18 17:40:24 fenner Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 1999/03/07 01:38:59 brad Exp $
|
||||
# original taken from FreeBSD
|
||||
# $OpenBSD: Makefile,v 1.3 1999/04/22 17:30:48 espie Exp $
|
||||
#
|
||||
|
||||
DISTNAME= fileutils-3.16
|
||||
PKGNAME= gnuls-3.16
|
||||
DISTNAME= fileutils-4.0
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= fileutils
|
||||
SEPARATE_BUILD=concurrent
|
||||
|
||||
#WANT_NLS=yes
|
||||
|
||||
.if defined(WANT_NLS)
|
||||
NLS_CHOICE=--enable-nls
|
||||
RUN_DEPENDS= gettext:${PORTSDIR}/devel/gettext
|
||||
LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext
|
||||
PLIST=${PKGDIR}/PLIST.nls
|
||||
PKGNAME=gnuls-4.0-nls
|
||||
.else
|
||||
NLS_CHOICE=--disable-nls
|
||||
PKGNAME= gnuls-4.0
|
||||
.endif
|
||||
|
||||
MAINTAINER= ports@openbsd.org
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS=--program-transform-name=s,ls,gnuls, ${NLS_CHOICE}
|
||||
|
||||
post-install:
|
||||
@${LN} -fs gnuls.1 ${PREFIX}/man/man1/linuxls.1
|
||||
@${LN} -fs gnuls.1 ${PREFIX}/man/man1/vdir.1
|
||||
@${LN} -fs gnuls.1 ${PREFIX}/man/man1/dir.1
|
||||
@for i in linuxls vdir dir; \
|
||||
do cd ${PREFIX}/man/man1 && ${LN} -fs gnuls.1 $$i.1; \
|
||||
cd ${PREFIX}/bin && ${LN} -f gnuls $$i; \
|
||||
done
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (fileutils-3.16.tar.gz) = b64c38f1f14ec82d55d8b967035ede8f
|
||||
RMD160 (fileutils-3.16.tar.gz) = 7830115488563e99ff1bf966745ecf4257afbe8c
|
||||
SHA1 (fileutils-3.16.tar.gz) = 65bfd48bc04fa43ebcc51f9cea16ff374bad50ea
|
||||
MD5 (fileutils-4.0.tar.gz) = 082ab37b7f37c00e768b04e37bc736be
|
||||
RMD160 (fileutils-4.0.tar.gz) = 2045fecb6e97079d18f001d665441e8ba201d4cd
|
||||
SHA1 (fileutils-4.0.tar.gz) = 7fe286ff074e37dc573d5f8a23512d6693a66385
|
||||
|
@ -1,20 +1,12 @@
|
||||
*** Makefile.in.orig Sun Aug 10 17:06:15 1997
|
||||
--- Makefile.in Sun Aug 10 17:07:03 1997
|
||||
***************
|
||||
*** 49,55 ****
|
||||
|
||||
AUTOMAKE_OPTIONS = gnits 1.1k
|
||||
|
||||
! SUBDIRS = lib intl src doc man m4 po
|
||||
|
||||
acdir = m4
|
||||
ACLOCAL = $(top_srcdir)/aclocal.m4
|
||||
--- 49,56 ----
|
||||
|
||||
AUTOMAKE_OPTIONS = gnits 1.1k
|
||||
|
||||
! #SUBDIRS = lib intl src doc man m4 po
|
||||
! SUBDIRS = lib intl src man
|
||||
|
||||
acdir = m4
|
||||
ACLOCAL = $(top_srcdir)/aclocal.m4
|
||||
--- Makefile.in.orig Thu Apr 22 14:06:03 1999
|
||||
+++ Makefile.in Thu Apr 22 14:06:26 1999
|
||||
@@ -92,7 +92,8 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = gnits 1.2h
|
||||
|
||||
-SUBDIRS = lib intl src doc man m4 po tests
|
||||
+#SUBDIRS = lib intl src doc man m4 po tests
|
||||
+SUBDIRS = lib intl src man po
|
||||
|
||||
# Remove this file here (it is created via configure), not from within intl.
|
||||
DISTCLEANFILES = intl/libintl.h
|
||||
|
@ -1,20 +1,16 @@
|
||||
*** intl/Makefile.in.orig Sun Aug 10 18:05:44 1997
|
||||
--- intl/Makefile.in Sun Aug 10 18:06:26 1997
|
||||
***************
|
||||
*** 97,103 ****
|
||||
# where configure found a previously installed GNU gettext library.
|
||||
# If you want to use the one which comes with this version of the
|
||||
# package, you have to use `configure --with-included-gettext'.
|
||||
! install: install-exec install-data
|
||||
install-exec: all
|
||||
if test "$(PACKAGE)" = "gettext" \
|
||||
&& test '@INTLOBJS@' = '$(GETTOBJS)'; then \
|
||||
--- 97,104 ----
|
||||
# where configure found a previously installed GNU gettext library.
|
||||
# If you want to use the one which comes with this version of the
|
||||
# package, you have to use `configure --with-included-gettext'.
|
||||
! install:
|
||||
! @echo "Nothing to install in intl"
|
||||
install-exec: all
|
||||
if test "$(PACKAGE)" = "gettext" \
|
||||
&& test '@INTLOBJS@' = '$(GETTOBJS)'; then \
|
||||
--- src/Makefile.in.orig Thu Apr 22 13:55:15 1999
|
||||
+++ src/Makefile.in Thu Apr 22 13:56:00 1999
|
||||
@@ -95,9 +95,10 @@
|
||||
EXTRAdir = $(bindir)
|
||||
EXTRA_PROGRAMS = df mvdir
|
||||
|
||||
-bin_PROGRAMS = chgrp chown chmod cp dd dircolors du \
|
||||
-ginstall ln dir vdir ls mkdir \
|
||||
-mkfifo mknod mv rm rmdir sync touch @DF_PROG@
|
||||
+#bin_PROGRAMS = chgrp chown chmod cp dd dircolors du \
|
||||
+#ginstall ln dir vdir ls mkdir \
|
||||
+#mkfifo mknod mv rm rmdir sync touch @DF_PROG@
|
||||
+bin_PROGRAMS= dircolors ls
|
||||
|
||||
libexec_PROGRAMS = @MVDIR_PROG@
|
||||
datadir = $(prefix)/@DATADIRNAME@
|
||||
|
@ -1,53 +1,3 @@
|
||||
*** src/Makefile.in.orig Sun Aug 10 17:14:46 1997
|
||||
--- src/Makefile.in Sun Aug 10 19:14:33 1997
|
||||
***************
|
||||
*** 49,57 ****
|
||||
EXTRAdir = $(bindir)
|
||||
EXTRA_PROGRAMS = df mvdir
|
||||
|
||||
! bin_PROGRAMS = chgrp chown chmod cp dd dircolors du \
|
||||
! ginstall ln dir vdir ls mkdir \
|
||||
! mkfifo mknod mv rm rmdir sync touch @DF_PROG@
|
||||
|
||||
libexec_PROGRAMS = @MVDIR_PROG@
|
||||
datadir = $(prefix)/@DATADIRNAME@
|
||||
--- 49,55 ----
|
||||
EXTRAdir = $(bindir)
|
||||
EXTRA_PROGRAMS = df mvdir
|
||||
|
||||
! bin_PROGRAMS = dircolors gnuls
|
||||
|
||||
libexec_PROGRAMS = @MVDIR_PROG@
|
||||
datadir = $(prefix)/@DATADIRNAME@
|
||||
***************
|
||||
*** 247,252 ****
|
||||
--- 245,253 ----
|
||||
$(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
|
||||
else :; fi; \
|
||||
done
|
||||
+ ln -f $(bindir)/gnuls $(bindir)/linuxls
|
||||
+ ln -f $(bindir)/gnuls $(bindir)/vdir
|
||||
+ ln -f $(bindir)/gnuls $(bindir)/dir
|
||||
|
||||
uninstall-binPROGRAMS:
|
||||
list="$(bin_PROGRAMS)"; for p in $$list; do \
|
||||
***************
|
||||
*** 392,398 ****
|
||||
$(LINK) $(vdir_LDFLAGS) $(vdir_OBJECTS) $(vdir_LDADD) $(LIBS)
|
||||
$(ls_OBJECTS): ../config.h
|
||||
|
||||
! ls: $(ls_OBJECTS) $(ls_DEPENDENCIES)
|
||||
$(LINK) $(ls_LDFLAGS) $(ls_OBJECTS) $(ls_LDADD) $(LIBS)
|
||||
$(mkdir_OBJECTS): ../config.h
|
||||
|
||||
--- 393,399 ----
|
||||
$(LINK) $(vdir_LDFLAGS) $(vdir_OBJECTS) $(vdir_LDADD) $(LIBS)
|
||||
$(ls_OBJECTS): ../config.h
|
||||
|
||||
! gnuls: $(ls_OBJECTS) $(ls_DEPENDENCIES)
|
||||
$(LINK) $(ls_LDFLAGS) $(ls_OBJECTS) $(ls_LDADD) $(LIBS)
|
||||
$(mkdir_OBJECTS): ../config.h
|
||||
|
||||
*** src/dircolors.c.orig Sun Jan 26 00:54:17 1997
|
||||
--- src/dircolors.c Sat Oct 25 16:00:40 1997
|
||||
***************
|
||||
|
@ -1,183 +1,16 @@
|
||||
*** man/Makefile.in.orig Sun Jan 26 21:26:52 1997
|
||||
--- man/Makefile.in Sun Aug 10 19:50:02 1997
|
||||
***************
|
||||
*** 47,58 ****
|
||||
LN = @LN@
|
||||
RM = @RM@
|
||||
|
||||
! man_MANS = chgrp.1 chmod.1 chown.1 cp.1 dd.1 df.1 dircolors.1 du.1 install.1 \
|
||||
! ln.1 ls.1 mkdir.1 mkfifo.1 mknod.1 mv.1 rm.1 rmdir.1 touch.1
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
! MANS = chgrp.1 chmod.1 chown.1 cp.1 dd.1 df.1 dircolors.1 du.1 install.1 ln.1 ls.1 mkdir.1 mkfifo.1 mknod.1 mv.1 rm.1 rmdir.1 touch.1
|
||||
|
||||
|
||||
NROFF = nroff
|
||||
--- 47,57 ----
|
||||
LN = @LN@
|
||||
RM = @RM@
|
||||
|
||||
! man_MANS = dircolors.1 gnuls.1
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
! MANS = dircolors.1 ls.1
|
||||
|
||||
|
||||
NROFF = nroff
|
||||
***************
|
||||
*** 80,211 ****
|
||||
$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(mandir)/man1
|
||||
sect=1; \
|
||||
! inst=`echo "ln" | sed '$(transform)'`.1; \
|
||||
! if test -f $(srcdir)/ln.1; then file=$(srcdir)/ln.1; \
|
||||
! else file=ln.1; fi; \
|
||||
! $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
! sect=1; \
|
||||
! inst=`echo "chgrp" | sed '$(transform)'`.1; \
|
||||
! if test -f $(srcdir)/chgrp.1; then file=$(srcdir)/chgrp.1; \
|
||||
! else file=chgrp.1; fi; \
|
||||
! $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
! sect=1; \
|
||||
! inst=`echo "ls" | sed '$(transform)'`.1; \
|
||||
if test -f $(srcdir)/ls.1; then file=$(srcdir)/ls.1; \
|
||||
else file=ls.1; fi; \
|
||||
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
sect=1; \
|
||||
- inst=`echo "chmod" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/chmod.1; then file=$(srcdir)/chmod.1; \
|
||||
- else file=chmod.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
- inst=`echo "mkdir" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/mkdir.1; then file=$(srcdir)/mkdir.1; \
|
||||
- else file=mkdir.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
- inst=`echo "chown" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/chown.1; then file=$(srcdir)/chown.1; \
|
||||
- else file=chown.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
- inst=`echo "mkfifo" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/mkfifo.1; then file=$(srcdir)/mkfifo.1; \
|
||||
- else file=mkfifo.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
- inst=`echo "cp" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/cp.1; then file=$(srcdir)/cp.1; \
|
||||
- else file=cp.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
- inst=`echo "mknod" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/mknod.1; then file=$(srcdir)/mknod.1; \
|
||||
- else file=mknod.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
- inst=`echo "dd" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/dd.1; then file=$(srcdir)/dd.1; \
|
||||
- else file=dd.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
- inst=`echo "mv" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/mv.1; then file=$(srcdir)/mv.1; \
|
||||
- else file=mv.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
- inst=`echo "df" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/df.1; then file=$(srcdir)/df.1; \
|
||||
- else file=df.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
- inst=`echo "rm" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/rm.1; then file=$(srcdir)/rm.1; \
|
||||
- else file=rm.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
inst=`echo "dircolors" | sed '$(transform)'`.1; \
|
||||
if test -f $(srcdir)/dircolors.1; then file=$(srcdir)/dircolors.1; \
|
||||
else file=dircolors.1; fi; \
|
||||
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
- inst=`echo "rmdir" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/rmdir.1; then file=$(srcdir)/rmdir.1; \
|
||||
- else file=rmdir.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
- inst=`echo "du" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/du.1; then file=$(srcdir)/du.1; \
|
||||
- else file=du.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
- inst=`echo "touch" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/touch.1; then file=$(srcdir)/touch.1; \
|
||||
- else file=touch.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
- sect=1; \
|
||||
- inst=`echo "install" | sed '$(transform)'`.1; \
|
||||
- if test -f $(srcdir)/install.1; then file=$(srcdir)/install.1; \
|
||||
- else file=install.1; fi; \
|
||||
- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
|
||||
uninstall-man:
|
||||
- inst=`echo "ln" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "chgrp" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
inst=`echo "ls" | sed '$(transform)'`.1; \
|
||||
rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "chmod" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "mkdir" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "chown" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "mkfifo" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "cp" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "mknod" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "dd" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "mv" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "df" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "rm" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
inst=`echo "dircolors" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "rmdir" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "du" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "touch" | sed '$(transform)'`.1; \
|
||||
- rm -f $(mandir)/man1/$$inst
|
||||
- inst=`echo "install" | sed '$(transform)'`.1; \
|
||||
rm -f $(mandir)/man1/$$inst
|
||||
|
||||
tags: TAGS
|
||||
--- 79,98 ----
|
||||
$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(mandir)/man1
|
||||
sect=1; \
|
||||
! inst=`echo "gnuls" | sed '$(transform)'`.1; \
|
||||
if test -f $(srcdir)/ls.1; then file=$(srcdir)/ls.1; \
|
||||
else file=ls.1; fi; \
|
||||
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
sect=1; \
|
||||
inst=`echo "dircolors" | sed '$(transform)'`.1; \
|
||||
if test -f $(srcdir)/dircolors.1; then file=$(srcdir)/dircolors.1; \
|
||||
else file=dircolors.1; fi; \
|
||||
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
||||
|
||||
uninstall-man:
|
||||
inst=`echo "ls" | sed '$(transform)'`.1; \
|
||||
rm -f $(mandir)/man1/$$inst
|
||||
inst=`echo "dircolors" | sed '$(transform)'`.1; \
|
||||
rm -f $(mandir)/man1/$$inst
|
||||
|
||||
tags: TAGS
|
||||
--- man/Makefile.in.orig Thu Apr 22 13:57:47 1999
|
||||
+++ man/Makefile.in Thu Apr 22 13:58:39 1999
|
||||
@@ -88,9 +88,10 @@
|
||||
YACC = @YACC@
|
||||
l = @l@
|
||||
|
||||
-man_MANS = chgrp.1 chmod.1 chown.1 cp.1 dir.1 dd.1 df.1 dircolors.1 \
|
||||
- du.1 ginstall.1 ln.1 ls.1 mkdir.1 mkfifo.1 mknod.1 mv.1 rm.1 rmdir.1 \
|
||||
- sync.1 touch.1 vdir.1
|
||||
+#man_MANS = chgrp.1 chmod.1 chown.1 cp.1 dir.1 dd.1 df.1 dircolors.1 \
|
||||
+# du.1 ginstall.1 ln.1 ls.1 mkdir.1 mkfifo.1 mknod.1 mv.1 rm.1 rmdir.1 \
|
||||
+# sync.1 touch.1 vdir.1
|
||||
+man_MANS = dircolors.1 ls.1
|
||||
man_aux = $(man_MANS:.1=.x)
|
||||
|
||||
EXTRA_DIST = $(man_MANS) $(HELP2MAN) $(man_aux) \
|
||||
|
@ -1,90 +1,29 @@
|
||||
*** man/ls.1.orig Sun Aug 10 17:54:52 1997
|
||||
--- man/ls.1 Sun Aug 10 17:55:42 1997
|
||||
***************
|
||||
*** 1,8 ****
|
||||
! .TH LS 1 "GNU File Utilities" "FSF" \" -*- nroff -*-
|
||||
.SH NAME
|
||||
! ls, dir, vdir \- list contents of directories
|
||||
.SH SYNOPSIS
|
||||
! .B ls
|
||||
[\-abcdfgiklmnpqrstuxABCFGLNQRSUX1] [\-w cols] [\-T cols] [\-I pattern]
|
||||
[\-\-all] [\-\-escape] [\-\-directory] [\-\-inode] [\-\-kilobytes]
|
||||
[\-\-numeric-uid-gid] [--no-group] [\-\-hide-control-chars] [\-\-reverse]
|
||||
--- 1,8 ----
|
||||
! .TH GNULS 1 "GNU File Utilities" "FSF" \" -*- nroff -*-
|
||||
.SH NAME
|
||||
! gnuls, dir, vdir \- list contents of directories
|
||||
.SH SYNOPSIS
|
||||
! .B gnuls
|
||||
[\-abcdfgiklmnpqrstuxABCFGLNQRSUX1] [\-w cols] [\-T cols] [\-I pattern]
|
||||
[\-\-all] [\-\-escape] [\-\-directory] [\-\-inode] [\-\-kilobytes]
|
||||
[\-\-numeric-uid-gid] [--no-group] [\-\-hide-control-chars] [\-\-reverse]
|
||||
***************
|
||||
*** 19,34 ****
|
||||
.PP
|
||||
This manual page
|
||||
documents the GNU version of
|
||||
! .BR ls .
|
||||
.B dir
|
||||
and
|
||||
.B vdir
|
||||
are versions of
|
||||
! .B ls
|
||||
with different default output formats.
|
||||
These programs list each given file or directory name. Directory contents are
|
||||
sorted alphabetically. For
|
||||
! .BR ls ,
|
||||
files are by default listed in columns, sorted
|
||||
vertically, if the standard output is a terminal; otherwise they are
|
||||
listed one per line. For
|
||||
--- 19,34 ----
|
||||
.PP
|
||||
This manual page
|
||||
documents the GNU version of
|
||||
! .BR gnuls .
|
||||
.B dir
|
||||
and
|
||||
.B vdir
|
||||
are versions of
|
||||
! .B gnuls
|
||||
with different default output formats.
|
||||
These programs list each given file or directory name. Directory contents are
|
||||
sorted alphabetically. For
|
||||
! .BR gnuls ,
|
||||
files are by default listed in columns, sorted
|
||||
vertically, if the standard output is a terminal; otherwise they are
|
||||
listed one per line. For
|
||||
***************
|
||||
*** 163,169 ****
|
||||
stored on the disk. This option is not called
|
||||
.I \-f
|
||||
because the Unix
|
||||
! .B ls
|
||||
.I \-f
|
||||
option also enables
|
||||
.I \-a
|
||||
--- 163,169 ----
|
||||
stored on the disk. This option is not called
|
||||
.I \-f
|
||||
because the Unix
|
||||
! .B gnuls
|
||||
.I \-f
|
||||
option also enables
|
||||
.I \-a
|
||||
***************
|
||||
*** 229,235 ****
|
||||
When using the
|
||||
.I "\-\-color"
|
||||
option, this version of
|
||||
! .B ls
|
||||
will colorize the file names printed according to the name and type of
|
||||
file. By default, this colorization is by type only, and the codes
|
||||
used are ISO 6429 (ANSI) compliant.
|
||||
--- 229,235 ----
|
||||
When using the
|
||||
.I "\-\-color"
|
||||
option, this version of
|
||||
! .B gnuls
|
||||
will colorize the file names printed according to the name and type of
|
||||
file. By default, this colorization is by type only, and the codes
|
||||
used are ISO 6429 (ANSI) compliant.
|
||||
--- man/ls.1.orig Wed Nov 11 05:53:31 1998
|
||||
+++ man/ls.1 Thu Apr 22 13:46:08 1999
|
||||
@@ -1,9 +1,9 @@
|
||||
." DO NOT MODIFY THIS FILE! It was generated by help2man 1.5.1.2.
|
||||
-.TH LS 1 "November 1998" "GNU fileutils 4.0" "FSF"
|
||||
+.TH GNULS 1 "November 1998" "GNU fileutils 4.0" "FSF"
|
||||
.SH NAME
|
||||
-ls \- list directory contents
|
||||
+gnuls \- list directory contents
|
||||
.SH SYNOPSIS
|
||||
-.B ls
|
||||
+.B gnuls
|
||||
[\fIOPTION\fR]... [\fIFILE\fR]...
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
@@ -171,11 +171,11 @@
|
||||
Report bugs to <bug-fileutils@gnu.org>.
|
||||
.SH "SEE ALSO"
|
||||
The full documentation for
|
||||
-.B ls
|
||||
+.B gnuls
|
||||
is maintained as a Texinfo manual. If the
|
||||
.B info
|
||||
and
|
||||
-.B ls
|
||||
+.B gnuls
|
||||
programs are properly installed at your site, the command
|
||||
.IP
|
||||
.B info ls
|
||||
|
@ -1,36 +0,0 @@
|
||||
*** lib/mountlist.c.orig Thu Apr 16 18:27:16 1998
|
||||
--- lib/mountlist.c Thu Apr 16 18:27:54 1998
|
||||
***************
|
||||
*** 127,133 ****
|
||||
}
|
||||
#endif /* MOUNTED_GETMNTENT1. */
|
||||
|
||||
! #if defined (MOUNTED_GETMNTINFO) && !defined (__NetBSD__)
|
||||
static char *
|
||||
fstype_to_string (t)
|
||||
short t;
|
||||
--- 127,133 ----
|
||||
}
|
||||
#endif /* MOUNTED_GETMNTENT1. */
|
||||
|
||||
! #if defined (MOUNTED_GETMNTINFO) && !defined (__NetBSD__) && !defined(__OpenBSD__)
|
||||
static char *
|
||||
fstype_to_string (t)
|
||||
short t;
|
||||
***************
|
||||
*** 345,351 ****
|
||||
me = (struct mount_entry *) xmalloc (sizeof (struct mount_entry));
|
||||
me->me_devname = xstrdup (fsp->f_mntfromname);
|
||||
me->me_mountdir = xstrdup (fsp->f_mntonname);
|
||||
! #ifdef __NetBSD__
|
||||
me->me_type = xstrdup (fsp->f_fstypename);
|
||||
#else
|
||||
me->me_type = fstype_to_string (fsp->f_type);
|
||||
--- 345,351 ----
|
||||
me = (struct mount_entry *) xmalloc (sizeof (struct mount_entry));
|
||||
me->me_devname = xstrdup (fsp->f_mntfromname);
|
||||
me->me_mountdir = xstrdup (fsp->f_mntonname);
|
||||
! #if defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
me->me_type = xstrdup (fsp->f_fstypename);
|
||||
#else
|
||||
me->me_type = fstype_to_string (fsp->f_type);
|
@ -19,7 +19,7 @@ NOTES:
|
||||
(the latter available from the ports collection).
|
||||
|
||||
3. This colorized `ls' program is not the same as the `colorls' program
|
||||
available from the ports collection.
|
||||
available from the FreeBSD ports collection.
|
||||
|
||||
Brian Clapper <bmc@WillsCreek.COM>
|
||||
10 August 1997
|
||||
|
24
misc/gnuls/pkg/PLIST.nls
Normal file
24
misc/gnuls/pkg/PLIST.nls
Normal file
@ -0,0 +1,24 @@
|
||||
bin/dir
|
||||
bin/dircolors
|
||||
bin/gnuls
|
||||
bin/linuxls
|
||||
bin/vdir
|
||||
man/man1/dircolors.1
|
||||
man/man1/gnuls.1
|
||||
man/man1/linuxls.1
|
||||
man/man1/vdir.1
|
||||
man/man1/dir.1
|
||||
share/locale/de/LC_MESSAGES/fileutils.mo
|
||||
share/locale/es/LC_MESSAGES/fileutils.mo
|
||||
share/locale/fr/LC_MESSAGES/fileutils.mo
|
||||
share/locale/ko/LC_MESSAGES/fileutils.mo
|
||||
share/locale/nl/LC_MESSAGES/fileutils.mo
|
||||
share/locale/no/LC_MESSAGES/fileutils.mo
|
||||
share/locale/pl/LC_MESSAGES/fileutils.mo
|
||||
share/locale/pt/LC_MESSAGES/fileutils.mo
|
||||
share/locale/sl/LC_MESSAGES/fileutils.mo
|
||||
share/locale/sv/LC_MESSAGES/fileutils.mo
|
||||
share/locale/ru/LC_MESSAGES/fileutils.mo
|
||||
share/locale/cs/LC_MESSAGES/fileutils.mo
|
||||
share/locale/el/LC_MESSAGES/fileutils.mo
|
||||
share/locale/sk/LC_MESSAGES/fileutils.mo
|
Loading…
Reference in New Issue
Block a user