# $NetBSD: Makefile,v 1.24 2011/04/22 13:43:17 obache Exp $ # DISTNAME= diffutils-2.8.1 PKGREVISION= 5 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU:=diffutils/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.gnu.org/software/diffutils/diffutils.html COMMENT= GNU diff utilities - find the differences between files PKG_INSTALLATION_TYPES= overwrite pkgviews PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= YES INFO_FILES= # PLIST CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes .include "../../mk/bsd.prefs.mk" .if defined(GNU_PROGRAM_PREFIX) CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q} .endif PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q} BUILD_DEFS+= GNU_PROGRAM_PREFIX SUBST_CLASSES+= diff SUBST_STAGE.diff= pre-configure SUBST_FILES.diff= configure SUBST_SED.diff= -e 's;%DEFAULT_DIFF_PROGRAM%;${PREFIX}/bin/${GNU_PROGRAM_PREFIX}diff;' .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk"