# $NetBSD: Makefile,v 1.26 2012/04/07 16:30:05 schwarz Exp $ # DISTNAME= diffutils-3.2 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 LICENSE= gnu-gpl-v2 PKG_INSTALLATION_TYPES= overwrite pkgviews PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= YES INFO_FILES= YES # PLIST CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "SunOS" CONFIGURE_ENV+= ac_cv_sys_xsi_stack_overflow_heuristic=no .endif .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= src/Makefile.in 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"