aboutsummaryrefslogtreecommitdiffstats
path: root/www/w3m
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2004-02-02 22:58:44 +0800
committernobutaka <nobutaka@FreeBSD.org>2004-02-02 22:58:44 +0800
commit8e184b70808c2efdb71a213fdfcc3f43dfe84f75 (patch)
treef4b2b39dd8dcd6e329f8027bcefc41e67133da90 /www/w3m
parentf9dfe3905cb4b419c23f04691b7b84b68d30bcc7 (diff)
downloadfreebsd-ports-gnome-8e184b70808c2efdb71a213fdfcc3f43dfe84f75.tar.gz
freebsd-ports-gnome-8e184b70808c2efdb71a213fdfcc3f43dfe84f75.tar.zst
freebsd-ports-gnome-8e184b70808c2efdb71a213fdfcc3f43dfe84f75.zip
1. Correct pkg-plist.
2. Set dependency on devel/gettext-old only if JAPANESE is defined. 3. Remove WITHOUT_NLS knob and add --disable-nls to CONFIGURE_ARGS by default (except when JAPANESE is defined). Submitted by: des [1]
Diffstat (limited to 'www/w3m')
-rw-r--r--www/w3m/Makefile16
-rw-r--r--www/w3m/pkg-plist2
2 files changed, 4 insertions, 14 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile
index d3fb4442ce34..9fb17a46911a 100644
--- a/www/w3m/Makefile
+++ b/www/w3m/Makefile
@@ -7,6 +7,7 @@
PORTNAME= w3m
PORTVERSION= ${W3M_VERSION}
+PORTREVISION= 1
CATEGORIES+= www ipv6
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= nobutaka
@@ -52,21 +53,15 @@ PLIST_SUB+= M17N="@comment "
.endif
.if defined(JAPANESE)
+LIB_DEPENDS+= intl.5:${PORTSDIR}/devel/gettext-old
CONFIGURE_ARGS+= --enable-m17n --enable-japanese=E --with-migemo=yes
DOCS_JP= ${DOCS} README.SSL README.cookie README.keymap README.mailcap \
README.menu README.migemo
PLIST_SUB+= JAPANESE="" M17N=""
.else
-PLIST_SUB+= JAPANESE="@comment "
-.endif
-
-.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
-LIB_DEPENDS+= intl.5:${PORTSDIR}/devel/gettext-old
-PLIST_SUB+= NLS=""
+PLIST_SUB+= JAPANESE="@comment "
.endif
.if defined(INLINE_IMAGE)
@@ -113,11 +108,6 @@ pre-everything::
.else
@${ECHO_MSG} "===> WITHOUT_SSL"
.endif
-.if defined(WITHOUT_NLS)
- @${ECHO_MSG} "===> WITHOUT_NLS (disabled)"
-.else
- @${ECHO_MSG} "===> WITHOUT_NLS"
-.endif
@${ECHO_MSG} "===>"
post-patch:
diff --git a/www/w3m/pkg-plist b/www/w3m/pkg-plist
index 06a478fe86c8..c761aa0e0864 100644
--- a/www/w3m/pkg-plist
+++ b/www/w3m/pkg-plist
@@ -41,7 +41,7 @@ libexec/w3m/xface2xpm
%%PORTDOCS%%%%DOCSDIR%%/keymap.lynx
%%PORTDOCS%%%%DOCSDIR%%/menu.default
%%PORTDOCS%%%%DOCSDIR%%/menu.submenu
-%%NLS%%share/locale/ja/LC_MESSAGES/w3m.mo
+%%JAPANESE%%share/locale/ja/LC_MESSAGES/w3m.mo
share/w3m/w3mhelp-funcdesc.en.pl
share/w3m/w3mhelp-funcdesc.ja.pl
share/w3m/w3mhelp-funcname.pl