openbsd-ports/www/w3m/Makefile
naddy 95e9ec057e SECURITY update to 0.2.3.2:
Hironori Sakamoto found some vulnerabilities in w3m support scripts,
such as multipart.cgi, w3mman2html.cgi and w3mhelp.cgi.  Attacker
could run arbitrary commands on user's machine with user's privilege
by using malicious html pages.
2001-12-22 16:14:29 +00:00

63 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.34 2001/12/22 16:14:29 naddy Exp $
ONLY_FOR_ARCHS= i386 sparc m68k
COMMENT= "text-based web browser/pager"
COMMENT-japanese= "Japanese text-based web browser/pager"
DISTNAME= w3m-0.2.3.2
CATEGORIES= www
NEED_VERSION= 1.498
HOMEPAGE= http://w3m.sourceforge.net/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= w3m
FLAVORS= japanese
FLAVOR?=
CONFIGURE_STYLE= simple
CONFIGURE_ARGS= --nonstop \
--prefix="${PREFIX}" \
--sysconfdir="${SYSCONFDIR}/w3m" \
--model=monster \
--mimetypes=/var/www/mime.types
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 STORY.html \
keymap.default keymap.lynx menu.default menu.submenu
.if ${FLAVOR:L:Mjapanese}
FULLPKGNAME= ja-${PKGNAME}
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
${INSTALL_MAN} ${DOCSRC}/w3m.1 ${PREFIX}/man/man1
cd ${DOCSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/w3m
.include <bsd.port.mk>