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 ,' \ + ${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