2013-05-30 18:31:33 +02:00
|
|
|
# $NetBSD: Makefile,v 1.33 2013/05/30 16:31:33 richard Exp $
|
1999-03-12 16:38:07 +01:00
|
|
|
#
|
|
|
|
|
Update to 3.3
Changelog:
* Noteworthy changes in release 3.3 (2013-03-24) [stable]
** New features
--new-file (-N) and --unidirectional-new-file now allow comparisons to "-".
A standard input that's closed acts like a nonexistent file.
A file name containing spaces, double quotes, backslashes or control
characters is now encoded in a diff header as a double-quoted C string
literal. The escape sequences \\, \", \a, \b, \f, \n, \r, \t, \v and
\ooo (a three-digit octal number between 0 and 255) are used.
** Packaging
diffutils is now designed to build with Cygwin or MinGW rather than DJGPP.
The ms subdirectory has been removed.
2013-05-19 05:21:40 +02:00
|
|
|
DISTNAME= diffutils-3.3
|
1999-05-24 22:39:35 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=diffutils/}
|
Update to 3.3
Changelog:
* Noteworthy changes in release 3.3 (2013-03-24) [stable]
** New features
--new-file (-N) and --unidirectional-new-file now allow comparisons to "-".
A standard input that's closed acts like a nonexistent file.
A file name containing spaces, double quotes, backslashes or control
characters is now encoded in a diff header as a double-quoted C string
literal. The escape sequences \\, \", \a, \b, \f, \n, \r, \t, \v and
\ooo (a three-digit octal number between 0 and 255) are used.
** Packaging
diffutils is now designed to build with Cygwin or MinGW rather than DJGPP.
The ms subdirectory has been removed.
2013-05-19 05:21:40 +02:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
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
|
2012-12-06 12:38:19 +01:00
|
|
|
${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
|
2012-06-02 10:18:35 +02:00
|
|
|
.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"
|