forked from Lainports/freebsd-ports
- cp now correctly copies files with a hole at the end of the file, and extents allocated beyond the apparent size of the file. That combination resulted in the trailing hole not being reproduced. - cut --fields no longer outputs extraneous characters on some uClibc configs. - install -D again copies relative file names when absolute file names are also specified along with an absolute destination directory name. - ls no longer prematurely wraps lines when printing short file names. - mv no longer causes data loss due to removing a source directory specified multiple times, when that directory is also specified as the destination. - shred again uses defined patterns for all iteration counts. - sort --debug -b now correctly marks the matching extents for keys that specify an offset for the first field. - tail -F now works with initially non existent files on a remote file system. Please note: usability issue for 'ls' is discussed in http://lists.gnu.org/archive/html/coreutils/2016-02/msg00000.html PR: 206512 Submitted by: w.schwarzenfeld@aon.at Approved by: jharris@widomaker.com (maintainer)
53 lines
1.2 KiB
Makefile
53 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= coreutils
|
|
PORTVERSION= 8.25
|
|
CATEGORIES= sysutils textproc
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= jharris@widomaker.com
|
|
COMMENT= Free Software Foundation core utilities
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
CONFLICTS= idutils-[0-9]*
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
# 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/
|
|
CONFIGURE_ENV= FORCE_UNSAFE_CONFIGURE=1
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
|
|
USES= cpe gmake iconv perl5 charsetfix tar:xz
|
|
USE_PERL5= build # build - required for tests and man page generation
|
|
USE_LDCONFIG= yes
|
|
|
|
INFO= coreutils
|
|
CPE_VENDOR= gnu
|
|
|
|
OPTIONS_DEFINE= GMP NLS
|
|
OPTIONS_DEFAULT=NLS
|
|
OPTIONS_SUB= yes
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
GMP_LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
|
|
GMP_CONFIGURE_WITH= gmp
|
|
|
|
post-build:
|
|
@${REINPLACE_CMD} -e "s/ lib / /g" ${WRKSRC}/Makefile
|
|
@${TOUCH} ${WRKSRC}/doc/coreutils.info
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/g* \
|
|
${STAGEDIR}${PREFIX}/libexec/coreutils/libstdbuf.so
|
|
|
|
#regression-test: build
|
|
# (cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check)
|
|
|
|
.include <bsd.port.mk>
|