aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2013-05-05 02:07:19 +0800
committerjohans <johans@FreeBSD.org>2013-05-05 02:07:19 +0800
commit2043a7653b5c044d38cc198c735070ede1140a12 (patch)
treebe2ee8e12763f1c3a97f2d9f02a73fd0f91d8b2a /textproc
parentdc787bd3cc31eefc15372df471d155128d2d961d (diff)
downloadfreebsd-ports-gnome-2043a7653b5c044d38cc198c735070ede1140a12.tar.gz
freebsd-ports-gnome-2043a7653b5c044d38cc198c735070ede1140a12.tar.zst
freebsd-ports-gnome-2043a7653b5c044d38cc198c735070ede1140a12.zip
- Update diffutils to 3.3
- Add patch to fix install
Diffstat (limited to 'textproc')
-rw-r--r--textproc/diffutils/Makefile9
-rw-r--r--textproc/diffutils/distinfo4
-rw-r--r--textproc/diffutils/pkg-plist1
3 files changed, 10 insertions, 4 deletions
diff --git a/textproc/diffutils/Makefile b/textproc/diffutils/Makefile
index c65a8761004a..763a3adec2aa 100644
--- a/textproc/diffutils/Makefile
+++ b/textproc/diffutils/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= diffutils
-PORTVERSION= 3.2
+PORTVERSION= 3.3
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= diffutils
@@ -13,16 +13,21 @@ COMMENT= The GNU diff utilities
LIB_DEPENDS= sigsegv:${PORTSDIR}/devel/libsigsegv
USES= charsetfix
+USE_XZ= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
INFO= diffutils
MAN1= gcmp.1 gdiff.1 gdiff3.1 gsdiff.1
+post-patch:
+ @${REINPLACE_CMD} -e '/^mkdir/s:@mkdir_p@:${MKDIR}:' \
+ ${WRKSRC}/po/Makefile.in.in
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
+USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
diff --git a/textproc/diffutils/distinfo b/textproc/diffutils/distinfo
index 45b52fb1c509..3e6de449550f 100644
--- a/textproc/diffutils/distinfo
+++ b/textproc/diffutils/distinfo
@@ -1,2 +1,2 @@
-SHA256 (diffutils-3.2.tar.gz) = 2aaaebef615be7dc365306a14caa5d273a4fc174f9f10abca8b60e082c054ed3
-SIZE (diffutils-3.2.tar.gz) = 2023539
+SHA256 (diffutils-3.3.tar.xz) = a25e89a8ab65fded1731e4186be1bb25cda967834b6df973599cdcd5abdfc19c
+SIZE (diffutils-3.3.tar.xz) = 1197832
diff --git a/textproc/diffutils/pkg-plist b/textproc/diffutils/pkg-plist
index 2dc6349c388e..831f44bfda30 100644
--- a/textproc/diffutils/pkg-plist
+++ b/textproc/diffutils/pkg-plist
@@ -14,6 +14,7 @@ bin/gsdiff
%%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/hr/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