diff options
author | garga <garga@FreeBSD.org> | 2011-11-17 05:19:48 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2011-11-17 05:19:48 +0800 |
commit | 5f2a83b734ca94d1152a2095b8b7c4c521c29bf2 (patch) | |
tree | c249a827937397011dddee36a6173754854801f2 /archivers/sharutils | |
parent | 03674fac061e40b9431eb6f5f496e19c13118cad (diff) | |
download | freebsd-ports-gnome-5f2a83b734ca94d1152a2095b8b7c4c521c29bf2.tar.gz freebsd-ports-gnome-5f2a83b734ca94d1152a2095b8b7c4c521c29bf2.tar.zst freebsd-ports-gnome-5f2a83b734ca94d1152a2095b8b7c4c521c29bf2.zip |
- Fix gshar.1 and gunshar.1
- Pet portlint
PR: ports/161761
Submitted by: Takefu <takefu@airport.fm>
Feature safe: yes
Diffstat (limited to 'archivers/sharutils')
-rw-r--r-- | archivers/sharutils/Makefile | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/archivers/sharutils/Makefile b/archivers/sharutils/Makefile index b134135a9588..14c475f76983 100644 --- a/archivers/sharutils/Makefile +++ b/archivers/sharutils/Makefile @@ -14,6 +14,8 @@ MASTER_SITES= GNU MAINTAINER= garga@FreeBSD.org COMMENT= Pack, send and unpack shell archives; synchronize via e-mail +LICENSE= GPLv3 + USE_BZIP2= yes USE_PERL5= yes GNU_CONFIGURE= yes @@ -23,8 +25,6 @@ INSTALL_TARGET= install install-man MAN1= gshar.1 gunshar.1 INFO= sharutils -LICENSE= GPLv3 - .if defined(WITHOUT_NLS) PLIST_SUB+= NLS="@comment " CONFIGURE_ARGS+=--disable-nls @@ -34,4 +34,24 @@ USE_GETTEXT= yes CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}" .endif +post-patch: +.for man in shar.1 unshar.1 + @${REINPLACE_CMD} \ + -e 's, SHAR , GSHAR ,' \ + -e 's,Shar,Gshar,' \ + -e 's, shar , gshar ,g' \ + -e 's,^shar ,gshar ,' \ + -e 's, UNSHAR , GUNSHAR ,' \ + -e 's,Unshar,Gunshar,' \ + -e 's,^unshar ,gunshar ,' \ + -e 's,f2shar\\f1,f2gshar\\f1,' \ + -e 's, unshar , gunshar ,g' \ + -e 's,gshar file,shar file,g' \ + -e 's,shar\,,gshar\,,' \ + -e 's,shar(,gshar(,' \ + -e 's,unshar(,gunshar(,' \ + -e 's, shar\$$, gshar,' \ + ${WRKSRC}/doc/${man} +.endfor + .include <bsd.port.mk> |