blob: 39ac001055cca300372878c5fd65abe7ba948d37 (
plain)
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
|
# $NetBSD: Makefile,v 1.20 2008/05/15 20:01:03 tnn Exp $
#
.include "../../sysutils/coreutils/Makefile.common"
PKGNAME= ${DISTNAME:S/coreutils/gnuls/}
CATEGORIES= misc
COMMENT= GNU ls utility with color support
CONFLICTS= coreutils-[0-9]* linuxls-[0-9]*
do-build:
${RUN} cd ${WRKSRC}/lib && ${BUILD_MAKE_CMD} all
${RUN} cd ${WRKSRC}/src && ${BUILD_MAKE_CMD} dircolors ls
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/dircolors \
${DESTDIR}${PREFIX}/bin/${GNU_PROGRAM_PREFIX}dircolors
${INSTALL_PROGRAM} ${WRKSRC}/src/ls \
${DESTDIR}${PREFIX}/bin/${GNU_PROGRAM_PREFIX}ls
${INSTALL_DATA} ${WRKSRC}/man/dircolors.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${GNU_PROGRAM_PREFIX}dircolors.1
${INSTALL_DATA} ${WRKSRC}/man/ls.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${GNU_PROGRAM_PREFIX}ls.1
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|