aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2008-08-15 03:50:27 +0800
committernaddy <naddy@FreeBSD.org>2008-08-15 03:50:27 +0800
commitdbc2b7b3bc635249719628f889fe8e4f4470e946 (patch)
tree333e0129a42e0a65d2edafef6b7d5e88775d49cb /editors
parent2b8c992d7498a502f6bd402fac0c1b2edda1bc2f (diff)
downloadfreebsd-ports-gnome-dbc2b7b3bc635249719628f889fe8e4f4470e946.tar.gz
freebsd-ports-gnome-dbc2b7b3bc635249719628f889fe8e4f4470e946.tar.zst
freebsd-ports-gnome-dbc2b7b3bc635249719628f889fe8e4f4470e946.zip
Fix pkg-plist if WITHOUT_NLS is set (there are no french man pages).
PR: 126495 Submitted by: mm
Diffstat (limited to 'editors')
-rw-r--r--editors/nano/Makefile4
-rw-r--r--editors/nano/pkg-plist6
2 files changed, 5 insertions, 5 deletions
diff --git a/editors/nano/Makefile b/editors/nano/Makefile
index 2a592f3d66bb..ef00a41c75cd 100644
--- a/editors/nano/Makefile
+++ b/editors/nano/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nano
PORTVERSION= 2.0.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= http://www.nano-editor.org/dist/v2.0/ \
http://www.ewtoo.org/~astyanax/nano/dist/v2.0/
@@ -24,6 +24,7 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+MANLANG= "" fr
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
@@ -32,7 +33,6 @@ PLIST_SUB+= NLS="@comment "
INFO= nano
MAN1= nano.1 rnano.1
MAN5= nanorc.5
-MANLANG= "" fr
.include <bsd.port.pre.mk>
diff --git a/editors/nano/pkg-plist b/editors/nano/pkg-plist
index c655e893b31e..955f65307754 100644
--- a/editors/nano/pkg-plist
+++ b/editors/nano/pkg-plist
@@ -51,6 +51,6 @@ share/nano/tex.nanorc
@dirrm %%EXAMPLESDIR%%
%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/rw
-@dirrmtry man/fr/man5
-@dirrmtry man/fr/man1
-@dirrmtry man/fr
+%%NLS%%@dirrmtry man/fr/man5
+%%NLS%%@dirrmtry man/fr/man1
+%%NLS%%@dirrmtry man/fr