c661754e80
Version 1.7.0 - Allow user/group names up to 32 characters before clipping. - Made -i compress XML and JSON output as much as possible by eliminating extraneous whitespace. - Added --caseinsensitive (renamed --ignore-case ala grep) flag so patterns match without regard to case, courtesy of Jason A Donenfeld. - Added --matchdirs option courtesy of Brian Mattern & Jason A. Donenfeld <Jason@zx2c4.com>. - Fixed possible buffer overflow on large uid/gids w/o user names/group names (Alexandre Wendling <alexandrerw@celepar.pr.gov.br>) - Added JSON support courtesy of Florian Sesser <fs@it-agenten.com>. - Fixed formatting error with HTML output when -L 1 specified. (Sascha Zorn <sascha.zorn@gmail.com>) - Added file size sorting (Philipp M?ller <philippausmuensing@googlemail.com>) - Added '--sort[=]<name>' option, ala ls. - Fixed OS X makefile problems (Ryan Hollis <theryanhollis@gmail.com>) - Fixed possible memory overflow in read_dir (path/lbuf not equal in size to pathsize/lbufsize.) (Han Hui <hanhui03@163.com>) - Fix S_ISDOOR/S_IFDOOR spelling mistake for Solaris. (Tim Mooney <Tim.Mooney@ndsu.edu>) - Make tree more reliably detect UTF-8 locales. (Mantas Mikulnas <grawity@gmail.com> and others.) - Return non-zero exit status on option errors, print usage to stdout when not an error, add the posix '--' option terminator, Change -S description to mean CP437 (console) output codes, not ASCII. (Ivan Shmakov <oneingray@gmail.com>)
28 lines
864 B
Makefile
28 lines
864 B
Makefile
# $NetBSD: Makefile,v 1.11 2014/04/29 07:07:26 wiz Exp $
|
|
|
|
DISTNAME= tree-1.7.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://mama.indstate.edu/linux/tree/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://mama.indstate.edu/users/ice/tree/
|
|
COMMENT= Print a text or HTML tree diagram of a directory structure
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_TOOLS+= gmake
|
|
NO_CONFIGURE= yes
|
|
|
|
CFLAGS+= -Wall -fomit-frame-pointer
|
|
CFLAGS.linux+= -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
|
|
|
MAKE_FLAGS+= prefix=${PREFIX:Q}
|
|
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
|
|
MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
|
|
MAKE_FLAGS+= MANSUBDIR=${PKGMANDIR:Q}
|
|
MAKE_FLAGS+= INSTALL_PROGRAM_DIR=${INSTALL_PROGRAM_DIR:Q}
|
|
MAKE_FLAGS+= INSTALL_PROGRAM=${INSTALL_PROGRAM:Q}
|
|
MAKE_FLAGS+= INSTALL_MAN_DIR=${INSTALL_MAN_DIR:Q}
|
|
MAKE_FLAGS+= INSTALL_MAN=${INSTALL_MAN:Q}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|