1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Update to 2.9

- Add libsigsegv and NLS support
- Remove timestamp precision patch (now supported by default)
- Grab maintainership
This commit is contained in:
Johan van Selst 2010-02-13 15:59:37 +00:00
parent 25154f7586
commit e26983152c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249776
4 changed files with 48 additions and 37 deletions

View File

@ -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
.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 <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -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

View File

@ -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
================================================================================

View File

@ -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