aboutsummaryrefslogtreecommitdiff
path: root/archivers/sharutils
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-03-13 12:43:19 +0000
committerRenato Botelho <garga@FreeBSD.org>2014-03-13 12:43:19 +0000
commited70ca358fd7ccf328ef3411ef3bbeea9a371f4e (patch)
treea7e6be244ead147d0537933e538a866b1bfcef98 /archivers/sharutils
parent6d38c115f45a35060592166b71cf46f535ff49d5 (diff)
downloadports-ed70ca358fd7ccf328ef3411ef3bbeea9a371f4e.tar.gz
ports-ed70ca358fd7ccf328ef3411ef3bbeea9a371f4e.zip
. Update to 4.14
. Replace USE_XZ=yes by USES=tar:xz
Notes
Notes: svn path=/head/; revision=348058
Diffstat (limited to 'archivers/sharutils')
-rw-r--r--archivers/sharutils/Makefile8
-rw-r--r--archivers/sharutils/distinfo4
-rw-r--r--archivers/sharutils/pkg-plist1
3 files changed, 7 insertions, 6 deletions
diff --git a/archivers/sharutils/Makefile b/archivers/sharutils/Makefile
index 02e19fb1620b..20f817fd1dc2 100644
--- a/archivers/sharutils/Makefile
+++ b/archivers/sharutils/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= sharutils
-PORTVERSION= 4.13.5
-PORTREVISION= 1
+PORTVERSION= 4.14
CATEGORIES= archivers
MASTER_SITES= GNU
@@ -14,12 +13,11 @@ LICENSE= GPLv3
OPTIONS_DEFINE= NLS
-USE_XZ= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g --disable-uucode
INSTALL_TARGET= install install-man
INFO= sharutils
-USES= charsetfix perl5
+USES= charsetfix perl5 tar:xz
OPTIONS_SUB= yes
NLS_USES= gettext
@@ -27,6 +25,8 @@ NLS_CONFIGURE_ON= --with-libintl-prefix="${LOCALBASE}"
NLS_CONFIGURE_OFF= --disable-nls
post-patch:
+ @${REINPLACE_CMD} -e '/Please include config.h first./ s,^.*$$,#include <config.h>,' \
+ ${WRKSRC}/lib/unistd.in.h
.for man in shar.1 unshar.1
@${REINPLACE_CMD} \
-e 's, SHAR , GSHAR ,' \
diff --git a/archivers/sharutils/distinfo b/archivers/sharutils/distinfo
index 9f5fa04f5ecc..47b183118e49 100644
--- a/archivers/sharutils/distinfo
+++ b/archivers/sharutils/distinfo
@@ -1,2 +1,2 @@
-SHA256 (sharutils-4.13.5.tar.xz) = c73a828368647679f8f843eda11b78de5bc659fa059e782a405ae20ddd88b1f0
-SIZE (sharutils-4.13.5.tar.xz) = 1066016
+SHA256 (sharutils-4.14.tar.xz) = eae388efcf52aba0b081f09053189e0a3ad238561d88716b880b5c0676c07a0c
+SIZE (sharutils-4.14.tar.xz) = 1089052
diff --git a/archivers/sharutils/pkg-plist b/archivers/sharutils/pkg-plist
index 859d2bdc54c0..e10510800b2e 100644
--- a/archivers/sharutils/pkg-plist
+++ b/archivers/sharutils/pkg-plist
@@ -21,6 +21,7 @@ man/man1/gunshar.1.gz
%%NLS%%share/locale/ja/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/nl/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/pl/LC_MESSAGES/sharutils.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/ru/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/sr/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/sv/LC_MESSAGES/sharutils.mo