pkgsrc/devel/diffutils/Makefile
mef 191667455a Updated devel/diffutils to 3.5
------------------------------
* Noteworthy changes in release 3.5 (2016-08-20) [stable]
** Bug fixes
  diff3 no longer malfunctions due to use-after-free
  [bug introduced in 3.4]

  diff --color no longer colorizes when TERM=dumb
2017-01-04 14:04:30 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.37 2017/01/04 14:04:30 mef Exp $
#
DISTNAME= diffutils-3.5
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=diffutils/}
EXTRACT_SUFX= .tar.xz
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
GNU_CONFIGURE= YES
INFO_FILES= YES # PLIST
CONFIGURE_ARGS+= --program-prefix=g
CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes
CONFIGURE_ENV.SunOS+= ac_cv_sys_xsi_stack_overflow_heuristic=no
AUTO_MKDIRS= yes
SUBST_CLASSES+= diff
SUBST_STAGE.diff= pre-configure
SUBST_FILES.diff= src/Makefile.in
SUBST_SED.diff= -e 's;%DEFAULT_DIFF_PROGRAM%;${PREFIX}/bin/gdiff;'
post-install:
.for f in cmp diff diff3 sdiff
${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f}
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}.1
.endfor
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"