aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2008-08-14 19:50:27 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2008-08-14 19:50:27 +0000
commit2e18770cbcfefd0856f654a5ff5736d8c9364a01 (patch)
tree8c3ab474a30901485c450842977cd80e15f341c6 /editors
parent0d2a223697817c68afc104bdf83cf5bee95fc1f6 (diff)
downloadports-2e18770cbcfefd0856f654a5ff5736d8c9364a01.tar.gz
ports-2e18770cbcfefd0856f654a5ff5736d8c9364a01.zip
Fix pkg-plist if WITHOUT_NLS is set (there are no french man pages).
PR: 126495 Submitted by: mm
Notes
Notes: svn path=/head/; revision=218554
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