2018-03-14 21:50:56 +00:00

27 lines
560 B
Makefile

# $OpenBSD: Makefile,v 1.35 2018/03/14 21:50:56 naddy Exp $
COMMENT= ls(1) that can use color to display file attributes
VERSION= 6.2
DISTNAME= ls-${VERSION}
PKGNAME= colorls-${VERSION}
CATEGORIES= sysutils
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://shell.uugrn.org/~naddy/
WANTLIB= c curses util
WRKDIST= ${WRKDIR}/ls
NO_TEST= Yes
# copy file and substitute a string near a CVS keyword
pre-patch:
sed 's/^\.Dt LS/.Dt COLORLS/' ${WRKSRC}/ls.1 >${WRKSRC}/colorls.1
.include <bsd.port.mk>