78 lines
1.9 KiB
Makefile
78 lines
1.9 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2002/02/02 03:21:33 naddy Exp $
|
|
|
|
ONLY_FOR_ARCHS= i386 sparc m68k
|
|
|
|
COMMENT= "multi-script text-based web browser/pager"
|
|
COMMENT-image= "multi-script web browser with inline image support"
|
|
COMMENT-japanese= "Japanese multi-script text-based web browser/pager"
|
|
COMMENT-japanese-image= "Japanese multi-script web browser with image support"
|
|
|
|
VERSION= 0.2.5-20020202
|
|
|
|
PKGNAME= w3m-m17n-${VERSION:C/.*-//}
|
|
DISTNAME= w3m-${VERSION:C/-.*//}-m17n-${VERSION:C/.*-//}
|
|
CATEGORIES= www
|
|
NEED_VERSION= 1.498
|
|
HOMEPAGE= http://www2u.biglobe.ne.jp/~hsaka/w3m/index.html#m17n
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://www2u.biglobe.ne.jp/~hsaka/w3m/patch/
|
|
|
|
FLAVORS= image japanese
|
|
FLAVOR?=
|
|
|
|
CONFIGURE_STYLE= simple
|
|
CONFIGURE_ARGS= --nonstop \
|
|
--prefix="${PREFIX}" \
|
|
--sysconfdir="${SYSCONFDIR}/w3m-m17n" \
|
|
--model=monster \
|
|
--mimetypes=/var/www/mime.types \
|
|
--charset=UTF-8
|
|
CONFIGURE_ENV= use_ssl_verify=y \
|
|
dmail=mail ded=vi dbrowser=lynx
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
DOCS= FAQ.html HISTORY MANUAL.html \
|
|
README README.dict README.func README.m17n STORY.html \
|
|
keymap.default keymap.lynx menu.default menu.submenu
|
|
|
|
.if ${FLAVOR:L:Mimage}
|
|
LIB_DEPENDS= Imlib.19::graphics/imlib
|
|
CONFIGURE_ENV+= use_image=y
|
|
DOCS+= README.img
|
|
.endif
|
|
|
|
.if ${FLAVOR:L:Mjapanese}
|
|
|
|
. if ${FLAVOR:L:Mimage}
|
|
FULLPKGNAME= ja-${PKGNAME}-image
|
|
. else
|
|
FULLPKGNAME= ja-${PKGNAME}
|
|
. endif
|
|
CATEGORIES+= japanese
|
|
CONFIGURE_ARGS+= --lang=ja --code=n
|
|
DOCS+= README.SSL README.cookie README.keymap \
|
|
README.mailcap README.menu
|
|
DOCSRC= ${WRKSRC}/doc-jp
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --lang=en
|
|
DOCSRC= ${WRKSRC}/doc
|
|
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/w3m-m17n
|
|
${INSTALL_MAN} ${DOCSRC}/w3m.1 ${PREFIX}/man/man1/w3m-m17n.1
|
|
cd ${DOCSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/w3m-m17n
|
|
|
|
.include <bsd.port.mk>
|