aboutsummaryrefslogtreecommitdiff
path: root/textproc/diffutils
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2010-02-13 15:59:37 +0000
committerJohan van Selst <johans@FreeBSD.org>2010-02-13 15:59:37 +0000
commite26983152c37ddc4b934e7a02732354f5420418d (patch)
treef409faa874b8ced720e7d6527e4b1a1a4dfd8836 /textproc/diffutils
parent25154f758681f6e40ebccc0fb1858ba36a6f7aec (diff)
downloadports-e26983152c37ddc4b934e7a02732354f5420418d.tar.gz
ports-e26983152c37ddc4b934e7a02732354f5420418d.zip
- Update to 2.9
- Add libsigsegv and NLS support - Remove timestamp precision patch (now supported by default) - Grab maintainership
Notes
Notes: svn path=/head/; revision=249776
Diffstat (limited to 'textproc/diffutils')
-rw-r--r--textproc/diffutils/Makefile29
-rw-r--r--textproc/diffutils/distinfo9
-rw-r--r--textproc/diffutils/pkg-message13
-rw-r--r--textproc/diffutils/pkg-plist34
4 files changed, 48 insertions, 37 deletions
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 <bsd.port.pre.mk>
-
-.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
-.endif
-.if defined(WITH_TIMESTAMP_PRECISION)
-post-install:
- @${CAT} ${PKGMESSAGE}
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
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