FreeBSD Bugzilla – Attachment 73273 Details for
Bug 106252
[patch] can't account for partially translated man pages with just MANLANG and MAN[N]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
bsd.port.mk.patch
bsd.port.mk.patch (text/plain), 1.24 KB, created by
Nick Barkas
on 2006-12-03 07:20:20 UTC
(
hide
)
Description:
bsd.port.mk.patch
Filename:
MIME Type:
Creator:
Nick Barkas
Created:
2006-12-03 07:20:20 UTC
Size:
1.24 KB
patch
obsolete
>--- bsd.port.mk.orig Sat Sep 30 12:25:45 2006 >+++ bsd.port.mk Thu Nov 16 21:52:23 2006 >@@ -621,6 +621,20 @@ > # Default: "yes" if USE_IMAKE is set and NO_INSTALL_MANPAGES > # is not set, and "no" otherwise. > # >+# MAN_PARTIAL_TRANSLATIONS >+# - Use this to define a list of two letter codes for langauges >+# your port has one or more man page translations for, but not >+# every page that is defined in the MAN<sect> variables. >+# MAN<sect>_<lang> >+# - These variables define the man pages your port only installs >+# some pages for. For example, if you have English man pages >+# foo.1 and bar.1, and and only the foo.1 man page in German, >+# you would set >+# MANLANG= "" >+# MAN1= foo.1 bar.1 >+# MAN_PARTIAL_TRANSLATIONS= de >+# MAN1_DE= foo.1 >+# > # Set the following to specify all .info files your port installs. > # > # INFO - A list of .info files (omitting the trailing ".info"); >@@ -2959,6 +2973,14 @@ > .endif > .endfor > >+.endfor >+ >+.for mantrans in ${MAN_PARTIAL_TRANSLATIONS} >+.for sect in 1 2 3 4 5 6 7 8 9 L N >+.if defined(MAN${sect}_${mantrans:U}) >+_MANPAGES+= ${MAN${sect}_${mantrans:U}:S%^%${MAN${sect}PREFIX}/man/${mantrans}/man${sect:L}/%} >+.endif >+.endfor > .endfor > > .if !defined(_TMLINKS)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 106252
: 73273 |
73274