aboutsummaryrefslogtreecommitdiffstats
path: root/misc/sls/Makefile
blob: 8e8c3ebc67ff1979c9ab938166a23e1cd6e6edc6 (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
# Created by: sec@42.org
# $FreeBSD$

PORTNAME=   sls
PORTVERSION=    1.00
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= dannyboy
DISTNAME=   ${PORTNAME}

MAINTAINER= sec@42.org
COMMENT=    List information about file(s) and directories

WRKSRC=     ${WRKDIR}/sls

PLIST_FILES=    bin/sls \
        man/man1/sls.1.gz

ALL_TARGET= sls

post-patch:
    @${REINPLACE_CMD} -e 's|CFLAGS|#&|' ${WRKSRC}/Makefile

do-install:
    ${CP} ${WRKSRC}/sls ${STAGEDIR}${PREFIX}/bin
    ${CP} ${WRKSRC}/sls.1 ${STAGEDIR}${PREFIX}/man/man1

.include <bsd.port.mk>