diff options
author | Max Khon <fjoe@FreeBSD.org> | 2003-08-11 19:11:29 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2003-08-11 19:11:29 +0000 |
commit | 6bbe6ce14b81a3271207bbad82824423c3654948 (patch) | |
tree | 614af5de940d4c50fd7085d1df7e3f7120d2bbad /misc | |
parent | 54a943871cadba2cc68b60d2baad265dfaa6ec6f (diff) | |
download | ports-6bbe6ce14b81a3271207bbad82824423c3654948.tar.gz ports-6bbe6ce14b81a3271207bbad82824423c3654948.zip |
- Properly register intl manpages [1].
- Properly remove po directories.
- Bump port revision.
PR: 55233 (partially) [1]
Submitted by: vassily ragosin <vr@vrgraphics.ru>
Notes
Notes:
svn path=/head/; revision=86775
Diffstat (limited to 'misc')
-rw-r--r-- | misc/mc/Makefile | 7 | ||||
-rw-r--r-- | misc/mc/files/patch-doc::ru::Makefile.in | 11 | ||||
-rw-r--r-- | misc/mc/pkg-plist | 16 |
3 files changed, 33 insertions, 1 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile index ae3308a65de0..ef37e9e21b08 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -7,7 +7,7 @@ PORTNAME= mc PORTVERSION= 4.6.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= misc shells MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= utils/file/managers/mc/ @@ -61,6 +61,11 @@ CONFIGURE_ARGS+=--without-subshell .endif MAN1= mc.1 mcedit.1 mcview.1 +_MAN1= mc.1 +_MANLANG= es hu it pl ru.KOI8-R +.for lang in ${_MANLANG} +_MANPAGES+= ${_MAN1:S%^%${MAN1PREFIX}/man/${lang}/man1/%} +.endfor post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/zip|${LOCALBASE}/bin/zip|' \ diff --git a/misc/mc/files/patch-doc::ru::Makefile.in b/misc/mc/files/patch-doc::ru::Makefile.in new file mode 100644 index 000000000000..f0330a3a6a7d --- /dev/null +++ b/misc/mc/files/patch-doc::ru::Makefile.in @@ -0,0 +1,11 @@ +--- doc/ru/Makefile.in.orig Tue Aug 12 01:13:27 2003 ++++ doc/ru/Makefile.in Tue Aug 12 01:12:53 2003 +@@ -174,7 +174,7 @@ + libdir = @libdir@ + libexecdir = @libexecdir@ + localstatedir = @localstatedir@ +-mandir = @mandir@/ru ++mandir = @mandir@/ru.KOI8-R + oldincludedir = @oldincludedir@ + prefix = @prefix@ + program_transform_name = @program_transform_name@ diff --git a/misc/mc/pkg-plist b/misc/mc/pkg-plist index 72d26c61ea91..3e8128a1d7c9 100644 --- a/misc/mc/pkg-plist +++ b/misc/mc/pkg-plist @@ -135,3 +135,19 @@ share/mc/term/xterm.ti @dirrm share/mc/extfs @dirrm share/mc/bin @dirrm share/mc +@unexec rmdir %D/share/locale/wa/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/wa 2>/dev/null || true +@unexec rmdir %D/share/locale/hu/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/hu 2>/dev/null || true +@unexec rmdir %D/man/es/man1 2>/dev/null || true +@unexec rmdir %D/man/es/cat1 2>/dev/null || true +@unexec rmdir %D/man/es 2>/dev/null || true +@unexec rmdir %D/man/hu/man1 2>/dev/null || true +@unexec rmdir %D/man/hu/cat1 2>/dev/null || true +@unexec rmdir %D/man/hu 2>/dev/null || true +@unexec rmdir %D/man/it/man1 2>/dev/null || true +@unexec rmdir %D/man/it/cat1 2>/dev/null || true +@unexec rmdir %D/man/it 2>/dev/null || true +@unexec rmdir %D/man/pl/man1 2>/dev/null || true +@unexec rmdir %D/man/pl/cat1 2>/dev/null || true +@unexec rmdir %D/man/pl 2>/dev/null || true |