openbsd-ports/www/w3m/Makefile

55 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.13 2000/08/25 02:24:10 brad Exp $
1999-10-26 10:20:07 -04:00
DISTNAME= w3m-0.1.10
1999-10-26 10:20:07 -04:00
CATEGORIES= www
NEED_VERSION= 1.310
2000-02-15 13:59:02 -05:00
MASTER_SITES= ftp://ftp.firedrake.org/w3m/ \
ftp://ei5nazha.yz.yamagata-u.ac.jp/w3m/ \
2000-02-09 00:38:34 -05:00
http://www.instinct.org/w3m/
1999-10-26 10:20:07 -04:00
HOMEPAGE= http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng/
1999-10-26 10:20:07 -04:00
MAINTAINER= dugsong@monkey.org
2000-02-15 13:59:02 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
1999-10-26 10:20:07 -04:00
CONFIGURE_STYLE= simple
CONFIGURE_ARGS= -nonstop -prefix="${PREFIX}" -cflags="${CFLAGS} -Wall" \
-model=monster
CONFIGURE_ENV= use_nntp=y dmail=mail ded=vi dbrowser=lynx dcc="${CC}" \
dtermlib="${TERMLIB}" def_helpdir="${PREFIX}/share/w3m" \
def_libdir="${PREFIX}/libexec/w3m"
FLAVORS= kanji
FLAVOR?=
.if ${FLAVOR:L:Mkanji}
CATEGORIES+= japanese
CONFIGURE_ARGS+= -lang=ja
# XXX w3m resets kterm to jis before displaying a page anyway.
CONFIGURE_ARGS+= -code=n
.else
CONFIGURE_ARGS+= -lang=en
.endif
DOCS= FAQ.html HISTORY MANUAL.html \
README README.cygwin README.dict README.func STORY.html \
keymap.default keymap.lynx menu.default menu.submenu
post-install:
2000-02-15 13:59:02 -05:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/w3m
${INSTALL_MAN} ${WRKSRC}/doc/w3m.1 ${PREFIX}/man/man1
cd ${WRKSRC}/doc; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/w3m
1999-10-26 10:20:07 -04:00
.include <bsd.port.mk>
# XXX Tweak PKGNAME
.if ${FLAVOR:L:Mkanji}
PKGNAME:= ja-${PKGNAME:S/-kanji//}
PKG_ARGS+= -C 'w3m-*'
.else
PKG_ARGS+= -C 'ja-w3m-*'
.endif