diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2004-01-17 21:22:59 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2004-01-17 21:22:59 +0000 |
commit | d4dd54dce4296bb46850368139811c872fc698d5 (patch) | |
tree | 8ecd09f24e6a6abf602091bd82ebef697b5c3fce /www | |
parent | - Update to 0.3.1 (diff) |
Add WITHOUT_NLS knob. [1]
Make cosmetic changes.
Submitted by: Phil Pennock <pdp@nl.demon.net> [1]
Notes
Notes:
svn path=/head/; revision=98419
Diffstat (limited to 'www')
-rw-r--r-- | www/w3m/Makefile | 32 | ||||
-rw-r--r-- | www/w3m/pkg-plist | 2 |
2 files changed, 26 insertions, 8 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile index 5c08d104df0f..63d77deb01b5 100644 --- a/www/w3m/Makefile +++ b/www/w3m/Makefile @@ -17,8 +17,7 @@ DISTNAME= w3m-${W3M_VERSION}.${SNAPDATE} MAINTAINER?= nobutaka@FreeBSD.org COMMENT?= A pager/text-based WWW browser -LIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc \ - intl.5:${PORTSDIR}/devel/gettext +LIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc W3M_VERSION= 0.4.2 SNAPDATE= 20040111 @@ -62,6 +61,14 @@ PLIST_SUB+= JAPANESE="" M17N="" 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 +PLIST_SUB+= NLS="" +.endif + .if defined(INLINE_IMAGE) USE_GNOME= gdkpixbuf CONFIGURE_ARGS+= --with-imagelib=gdk-pixbuf @@ -80,10 +87,14 @@ PKGMESSAGE= ${NONEXISTENT} .endif pre-everything:: -.if defined(M17N) @${ECHO_MSG} "===>" @${ECHO_MSG} "===> You can enable some features by defining following variables." @${ECHO_MSG} "===>" +.if defined(M17N) + @${ECHO_MSG} "===> M17N (multilingualization, enabled)" +.else + @${ECHO_MSG} "===> M17N (multilingualization)" +.endif .if defined(JAPANESE) @${ECHO_MSG} "===> JAPANESE (Japanese messages and migemo support, enabled)" .else @@ -95,12 +106,19 @@ pre-everything:: @${ECHO_MSG} "===> INLINE_IMAGE (inline image support)" .endif @${ECHO_MSG} "===>" + @${ECHO_MSG} "===> You can disable some features by defining following variables." + @${ECHO_MSG} "===>" +.if defined(WITHOUT_SSL) + @${ECHO_MSG} "===> WITHOUT_SSL (disabled)" +.else + @${ECHO_MSG} "===> WITHOUT_SSL" .endif - -pre-extract: -.if !defined(WITHOUT_SSL) - @${ECHO_MSG} "You can disable support for SSL by defining WITHOUT_SSL." +.if defined(WITHOUT_NLS) + @${ECHO_MSG} "===> WITHOUT_NLS (disabled)" +.else + @${ECHO_MSG} "===> WITHOUT_NLS" .endif + @${ECHO_MSG} "===>" post-patch: @${REINPLACE_CMD} -e \ diff --git a/www/w3m/pkg-plist b/www/w3m/pkg-plist index 7fc70e48fd5e..06a478fe86c8 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 -%%M17N%%share/locale/ja/LC_MESSAGES/w3m.mo +%%NLS%%share/locale/ja/LC_MESSAGES/w3m.mo share/w3m/w3mhelp-funcdesc.en.pl share/w3m/w3mhelp-funcdesc.ja.pl share/w3m/w3mhelp-funcname.pl |