From e26983152c37ddc4b934e7a02732354f5420418d Mon Sep 17 00:00:00 2001 From: Johan van Selst Date: Sat, 13 Feb 2010 15:59:37 +0000 Subject: [PATCH] - Update to 2.9 - Add libsigsegv and NLS support - Remove timestamp precision patch (now supported by default) - Grab maintainership --- textproc/diffutils/Makefile | 29 +++++++++++------------------ textproc/diffutils/distinfo | 9 +++------ textproc/diffutils/pkg-message | 13 ------------- textproc/diffutils/pkg-plist | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 48 insertions(+), 37 deletions(-) delete mode 100644 textproc/diffutils/pkg-message create mode 100644 textproc/diffutils/pkg-plist diff --git a/textproc/diffutils/Makefile b/textproc/diffutils/Makefile index 7d0e790fad85..1adc42b1e54c 100644 --- a/textproc/diffutils/Makefile +++ b/textproc/diffutils/Makefile @@ -6,35 +6,28 @@ # PORTNAME= diffutils -PORTVERSION= 2.8.1 -PORTREVISION= 1 +PORTVERSION= 2.9 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= diffutils -MAINTAINER= ports@FreeBSD.org +MAINTAINER= johans@stack.nl COMMENT= The GNU diff utilities +LIB_DEPENDS= sigsegv:${PORTSDIR}/devel/libsigsegv + GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=g INFO= diff MAN1= gcmp.1 gdiff.1 gdiff3.1 gsdiff.1 -PLIST_FILES= bin/gcmp bin/gdiff bin/gdiff3 bin/gsdiff -OPTIONS= TIMESTAMP_PRECISION "With nano second timestamp precision" off - -.include - -.if defined(WITH_TIMESTAMP_PRECISION) -PATCH_SITES+= http://izb.knu.ac.kr/~bh/diffs/ -PATCHFILES+= diffutils-2.8.1-timestamp_precision.diff -PATCH_DIST_STRIP+= -p1 +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" .endif -.if defined(WITH_TIMESTAMP_PRECISION) -post-install: - @${CAT} ${PKGMESSAGE} -.endif - -.include +.include diff --git a/textproc/diffutils/distinfo b/textproc/diffutils/distinfo index aa9629f1aa3d..0ec66346c8dc 100644 --- a/textproc/diffutils/distinfo +++ b/textproc/diffutils/distinfo @@ -1,6 +1,3 @@ -MD5 (diffutils-2.8.1.tar.gz) = 71f9c5ae19b60608f6c7f162da86a428 -SHA256 (diffutils-2.8.1.tar.gz) = c5001748b069224dd98bf1bb9ee877321c7de8b332c8aad5af3e2a7372d23f5a -SIZE (diffutils-2.8.1.tar.gz) = 780086 -MD5 (diffutils-2.8.1-timestamp_precision.diff) = 1ac049df51ef80fe9acaba123b2a4128 -SHA256 (diffutils-2.8.1-timestamp_precision.diff) = b9732e8f63e8999d47e9c0eaf9048d1b08de5dc8da825236fd2af04c373c4128 -SIZE (diffutils-2.8.1-timestamp_precision.diff) = 1989 +MD5 (diffutils-2.9.tar.gz) = d6bc1bdc874ddb14cfed4d1655a0dbbe +SHA256 (diffutils-2.9.tar.gz) = 6cf91c2e3107dbda45a94fbfad1018843962a88ae230fc332e028591de208744 +SIZE (diffutils-2.9.tar.gz) = 1773474 diff --git a/textproc/diffutils/pkg-message b/textproc/diffutils/pkg-message deleted file mode 100644 index 1e09effe4efe..000000000000 --- a/textproc/diffutils/pkg-message +++ /dev/null @@ -1,13 +0,0 @@ -================================================================================ - -In order to make nano second timestamp precision work, run - - $ sysctl vfs.timestamp_precision=1 - -or put - - vfs.timestamp_precision=1 - -in /etc/sysctl.conf - -================================================================================ diff --git a/textproc/diffutils/pkg-plist b/textproc/diffutils/pkg-plist new file mode 100644 index 000000000000..64a8f12d37d4 --- /dev/null +++ b/textproc/diffutils/pkg-plist @@ -0,0 +1,34 @@ +bin/gcmp +bin/gdiff +bin/gdiff3 +bin/gsdiff +%%NLS%%share/locale/ca/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/cs/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/da/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/de/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/el/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/eo/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/es/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/fi/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/fr/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/ga/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/gl/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/he/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/hu/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/id/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/it/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/ja/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/lv/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/ms/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/nl/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/pl/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/ro/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/ru/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/sr/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/sv/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/tr/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/uk/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/vi/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/diffutils.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/diffutils.mo