2012-06-02 10:51:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.25 2012/06/02 08:51:37 cheusov Exp $
|
2004-02-12 00:06:42 +01:00
|
|
|
#
|
|
|
|
|
2008-05-15 22:01:03 +02:00
|
|
|
.include "../../sysutils/coreutils/Makefile.common"
|
|
|
|
|
2004-02-12 00:06:42 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/coreutils/gnuls/}
|
2012-06-02 10:51:37 +02:00
|
|
|
PKGREVISION= 2
|
2004-05-19 18:55:25 +02:00
|
|
|
CATEGORIES= misc
|
2004-02-12 00:06:42 +01:00
|
|
|
|
|
|
|
COMMENT= GNU ls utility with color support
|
|
|
|
|
|
|
|
CONFLICTS= coreutils-[0-9]* linuxls-[0-9]*
|
|
|
|
|
2008-05-15 22:01:03 +02:00
|
|
|
do-build:
|
|
|
|
${RUN} cd ${WRKSRC}/lib && ${BUILD_MAKE_CMD} all
|
2011-11-01 17:16:01 +01:00
|
|
|
${RUN} cd ${WRKSRC}/src && ${BUILD_MAKE_CMD} version.h
|
|
|
|
${RUN} cd ${WRKSRC}/src && ${BUILD_MAKE_CMD} dircolors ls
|
2004-02-12 00:06:42 +01:00
|
|
|
|
2012-06-02 10:51:37 +02:00
|
|
|
AUTO_MKDIRS= yes
|
2004-02-12 00:06:42 +01:00
|
|
|
|
|
|
|
do-install:
|
2012-06-02 10:51:37 +02:00
|
|
|
.for f in ls dircolors
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${f} \
|
|
|
|
${DESTDIR}${PREFIX}/bin/g${f}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/man/${f}.1 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/g${f}.1
|
|
|
|
${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/gnu/bin/${f}
|
|
|
|
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/gnu/man/man1/${f}.1
|
|
|
|
.endfor
|
2004-02-12 00:06:42 +01:00
|
|
|
|
2004-04-24 20:16:04 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2004-02-12 00:06:42 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|