aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gnuls/Makefile
blob: 3f10365b6925300a8826a8bd177f374bfe918579 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    GNU colorized `ls'
# Date created:             06 January 1996
# Whom:                 bmc@WillsCreek.COM
#
# $FreeBSD$
#

PORTNAME=   gnuls
PORTVERSION=    7.2
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= coreutils
DISTNAME=   coreutils-${PORTVERSION}

MAINTAINER= bmc@clapper.org
COMMENT=    GNU colorized 'ls'

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-nls
MAN1=       gnuls.1 dircolors.1 dir.1 vdir.1

PLIST_FILES=    bin/dir \
        bin/dircolors \
        bin/gnuls \
        bin/vdir

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/dir ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/src/dircolors ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/src/ls ${PREFIX}/bin/gnuls
    ${INSTALL_PROGRAM} ${WRKSRC}/src/vdir ${PREFIX}/bin
    ${CP} ${WRKSRC}/man/ls.1 ${WRKSRC}/man/gnuls.1
    ${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/man/,} ${MAN1PREFIX}/man/man1

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 800039
EXTRA_PATCHES=  ${PATCHDIR}/extra-patch-stty.c
.endif

.include <bsd.port.post.mk>