2003-11-05 01:05:06 +01:00
|
|
|
# $NetBSD: Makefile,v 1.12 2003/11/05 00:05:06 recht Exp $
|
2003-04-10 15:18:36 +02:00
|
|
|
|
|
|
|
DISTNAME= coreutils-5.0
|
2003-11-05 01:05:06 +01:00
|
|
|
PKGREVISION= 3
|
2003-04-10 15:18:36 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2003-09-14 20:13:48 +02:00
|
|
|
MAINTAINER= recht@NetBSD.org
|
2003-04-10 15:18:36 +02:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/coreutils/
|
|
|
|
COMMENT= GNU basic file, shell and text manipulation utilities
|
|
|
|
|
|
|
|
BUILD_USES_MSGFMT= YES
|
|
|
|
|
2003-04-11 13:36:03 +02:00
|
|
|
CONFLICTS= sh-utils-* fileutils-* textutils-*
|
2003-04-10 15:18:36 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_BUILDLINK2= YES
|
|
|
|
USE_PERL5= build
|
|
|
|
|
2003-08-05 15:51:21 +02:00
|
|
|
INFO_FILES= coreutils.info
|
|
|
|
|
2003-08-09 09:45:46 +02:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2003-04-10 15:18:36 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --program-prefix=${GNU_PROGRAM_PREFIX}
|
|
|
|
# devel/id-utils installs a 'gid' program, so conflict with it if
|
|
|
|
# GNU_PROGRAM_PREFIX == 'g'
|
2003-06-17 19:36:59 +02:00
|
|
|
.if ${GNU_PROGRAM_PREFIX} == "g"
|
2003-04-11 13:36:03 +02:00
|
|
|
CONFLICTS+= id-utils-[0-9]* gnome-utils<1.4.1.2nb2
|
2003-06-17 19:36:59 +02:00
|
|
|
.endif
|
2003-06-17 17:08:18 +02:00
|
|
|
# print/teTeX*-bin installs a 'readlink' program, so conflict with it if
|
|
|
|
# GNU_PROGRAM_PREFIX == ''
|
2003-06-17 19:36:59 +02:00
|
|
|
.if ${GNU_PROGRAM_PREFIX} == ""
|
2003-06-17 17:10:05 +02:00
|
|
|
CONFLICTS+= teTeX-bin-[0-9]*
|
2003-04-10 15:18:36 +02:00
|
|
|
.endif
|
|
|
|
PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX}
|
|
|
|
BUILD_DEFS+= GNU_PROGRAM_PREFIX
|
|
|
|
|
|
|
|
.include "../../converters/libiconv/buildlink2.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink2.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|