1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/misc/gnuls/Makefile
Tijl Coosemans a8980fdc7a - Update misc/gnuls to 8.22. [1]
- Add NLS option, USES=gmake, staging.

PR:		ports/186516 [1]
Approved by:	Brian Clapper <bmc@clapper.org> (maintainer) [1]
2014-03-04 12:16:41 +00:00

47 lines
1.2 KiB
Makefile

# Created by: bmc@WillsCreek.COM
# $FreeBSD$
PORTNAME= gnuls
PORTVERSION= 8.22
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= coreutils
DISTNAME= coreutils-${PORTVERSION}
MAINTAINER= bmc@clapper.org
COMMENT= GNU colorized 'ls'
OPTIONS_DEFINE= NLS
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" FORCE_UNSAFE_CONFIGURE=1
CPPFLAGS+= -I${LOCALBASE}/include
USES= gmake perl5
USE_LDCONFIG= yes
USE_PERL5= build
USE_XZ= yes
PLIST_FILES= bin/dir \
bin/dircolors \
bin/gnuls \
bin/vdir \
man/man1/dir.1.gz \
man/man1/dircolors.1.gz \
man/man1/gnuls.1.gz \
man/man1/vdir.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/dir ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/dircolors ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/ls ${STAGEDIR}${PREFIX}/bin/gnuls
${INSTALL_PROGRAM} ${WRKSRC}/src/vdir ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/dir.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/dircolors.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/ls.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/gnuls.1
${INSTALL_MAN} ${WRKSRC}/man/vdir.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>