2003-12-17 02:30:15 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= coreutils
|
2016-02-26 21:48:20 +01:00
|
|
|
PORTVERSION= 8.25
|
2003-12-17 02:30:15 +01:00
|
|
|
CATEGORIES= sysutils textproc
|
2014-01-24 02:01:53 +01:00
|
|
|
MASTER_SITES= GNU
|
2003-12-17 02:30:15 +01:00
|
|
|
|
2014-06-27 14:29:20 +02:00
|
|
|
MAINTAINER= jharris@widomaker.com
|
2014-06-10 14:35:48 +02:00
|
|
|
COMMENT= Free Software Foundation core utilities
|
2003-12-17 02:30:15 +01:00
|
|
|
|
2012-10-29 20:04:44 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2014-08-01 13:54:55 +02:00
|
|
|
CONFLICTS= idutils-[0-9]*
|
2003-12-17 02:30:15 +01:00
|
|
|
|
2012-10-30 22:21:48 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2003-12-17 02:30:15 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-11-02 18:33:16 +01:00
|
|
|
# A rather nasty hack to stop gnustat from conflicting with base gstat
|
|
|
|
# bugs.freebsd.org/160060
|
|
|
|
CONFIGURE_ARGS= --program-prefix=g \
|
|
|
|
--program-transform-name=s/stat/nustat/
|
2014-06-11 16:49:59 +02:00
|
|
|
CONFIGURE_ENV= FORCE_UNSAFE_CONFIGURE=1
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2003-12-17 02:30:15 +01:00
|
|
|
|
2015-03-17 19:57:10 +01:00
|
|
|
USES= cpe gmake iconv perl5 charsetfix tar:xz
|
2013-09-16 09:47:02 +02:00
|
|
|
USE_PERL5= build # build - required for tests and man page generation
|
2009-09-16 01:47:45 +02:00
|
|
|
USE_LDCONFIG= yes
|
2003-12-17 02:30:15 +01:00
|
|
|
|
|
|
|
INFO= coreutils
|
2015-03-17 19:57:10 +01:00
|
|
|
CPE_VENDOR= gnu
|
2003-12-17 02:30:15 +01:00
|
|
|
|
2012-09-09 12:24:25 +02:00
|
|
|
OPTIONS_DEFINE= GMP NLS
|
2014-01-24 02:01:53 +01:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
2015-03-17 19:57:10 +01:00
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2016-04-01 16:25:16 +02:00
|
|
|
GMP_LIB_DEPENDS= libgmp.so:math/gmp
|
2014-02-12 13:01:35 +01:00
|
|
|
GMP_CONFIGURE_WITH= gmp
|
2010-04-25 17:31:17 +02:00
|
|
|
|
2004-10-12 19:34:12 +02:00
|
|
|
post-build:
|
|
|
|
@${REINPLACE_CMD} -e "s/ lib / /g" ${WRKSRC}/Makefile
|
2014-08-01 21:36:55 +02:00
|
|
|
@${TOUCH} ${WRKSRC}/doc/coreutils.info
|
2004-10-12 19:34:12 +02:00
|
|
|
|
2014-01-24 02:01:53 +01:00
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/g* \
|
2016-02-26 21:48:20 +01:00
|
|
|
${STAGEDIR}${PREFIX}/libexec/coreutils/libstdbuf.so
|
2014-01-24 02:01:53 +01:00
|
|
|
|
2010-08-23 14:06:42 +02:00
|
|
|
#regression-test: build
|
2014-06-25 07:35:31 +02:00
|
|
|
# (cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check)
|
2003-12-17 02:30:15 +01:00
|
|
|
|
2014-01-24 02:01:53 +01:00
|
|
|
.include <bsd.port.mk>
|