2012-10-31 12:16:30 +01:00
|
|
|
# $NetBSD: Makefile,v 1.29 2012/10/31 11:16:53 asau Exp $
|
1999-03-12 16:38:07 +01:00
|
|
|
#
|
|
|
|
|
2012-04-07 18:30:05 +02:00
|
|
|
DISTNAME= diffutils-3.2
|
2012-06-02 10:18:35 +02:00
|
|
|
PKGREVISION= 2
|
1999-05-24 22:39:35 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=diffutils/}
|
1999-03-12 16:38:07 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
1999-05-24 22:39:35 +02:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/diffutils/diffutils.html
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= GNU diff utilities - find the differences between files
|
2012-03-09 14:11:05 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
1999-03-12 16:38:07 +01:00
|
|
|
|
2004-05-18 13:58:04 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2001-01-13 17:17:48 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2012-04-07 18:30:05 +02:00
|
|
|
INFO_FILES= YES # PLIST
|
1999-03-12 16:38:07 +01:00
|
|
|
|
2006-07-20 19:09:14 +02:00
|
|
|
CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes
|
|
|
|
|
2002-12-22 18:39:07 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2012-03-09 14:11:05 +01:00
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
CONFIGURE_ENV+= ac_cv_sys_xsi_stack_overflow_heuristic=no
|
|
|
|
.endif
|
|
|
|
|
2012-06-02 10:18:35 +02:00
|
|
|
AUTO_MKDIRS= yes
|
2012-05-29 23:01:25 +02:00
|
|
|
|
|
|
|
post-install:
|
2012-06-02 10:18:35 +02:00
|
|
|
.for f in cmp diff diff3 sdiff
|
|
|
|
${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/gnu/bin/${f}
|
|
|
|
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/gnu/man/man1/${f}.1
|
|
|
|
.endfor
|
2012-05-29 23:01:25 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --program-prefix=g
|
2002-12-22 18:39:07 +01:00
|
|
|
|
2008-11-24 09:02:16 +01:00
|
|
|
SUBST_CLASSES+= diff
|
|
|
|
SUBST_STAGE.diff= pre-configure
|
2012-04-07 18:30:05 +02:00
|
|
|
SUBST_FILES.diff= src/Makefile.in
|
2012-05-29 23:01:25 +02:00
|
|
|
SUBST_SED.diff= -e 's;%DEFAULT_DIFF_PROGRAM%;${PREFIX}/bin/gdiff;'
|
2008-11-24 09:02:16 +01:00
|
|
|
|
2006-07-23 14:47:21 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
1999-03-12 16:38:07 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|