Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / misc / gnuls / Makefile
blob4cad513793a57aba0dbf963da298d0c715adff53
1 # $NetBSD: Makefile,v 1.24 2012/05/29 18:19:28 cheusov Exp $
4 .include "../../sysutils/coreutils/Makefile.common"
6 PKGNAME= ${DISTNAME:S/coreutils/gnuls/}
7 PKGREVISION= 2
8 CATEGORIES= misc
10 COMMENT= GNU ls utility with color support
12 CONFLICTS= coreutils-[0-9]* linuxls-[0-9]*
14 do-build:
15 ${RUN} cd ${WRKSRC}/lib && ${BUILD_MAKE_CMD} all
16 ${RUN} cd ${WRKSRC}/src && ${BUILD_MAKE_CMD} version.h
17 ${RUN} cd ${WRKSRC}/src && ${BUILD_MAKE_CMD} dircolors ls
19 AUTO_MKDIRS= yes
21 do-install:
22 .for f in ls dircolors
23 ${INSTALL_PROGRAM} ${WRKSRC}/src/${f} \
24 ${DESTDIR}${PREFIX}/bin/g${f}
25 ${INSTALL_DATA} ${WRKSRC}/man/${f}.1 \
26 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/g${f}.1
27 ${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/gnu/bin/${f}
28 ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/gnu/man/man1/${f}.1
29 .endfor
31 .include "../../converters/libiconv/buildlink3.mk"
32 .include "../../devel/gettext-lib/buildlink3.mk"
33 .include "../../mk/bsd.pkg.mk"