openbsd-ports/www/w3m/Makefile

81 lines
2.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.53 2002/12/12 01:18:54 naddy Exp $
1999-10-26 10:20:07 -04:00
2002-02-04 10:05:32 -05:00
COMMENT= "pager/text-based web browser"
VERSION= 0.3.2.2
M17N_VERSION= 20021207
REVISION=
DISTNAME= w3m-${VERSION}
PKGNAME= ${DISTNAME}${REVISION}
CATEGORIES= www
HOMEPAGE= http://w3m.sourceforge.net/
1999-10-26 10:20:07 -04:00
MAINTAINER= Christian Weisgerber <naddy@openbsd.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
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=w3m/}
MASTER_SITES0= http://www2u.biglobe.ne.jp/~hsaka/w3m/patch/
2002-02-04 10:05:32 -05:00
SUPDISTFILES= w3m-${VERSION}${EXTRACT_SUFX} \
w3m-${VERSION}-stable-m17n-${M17N_VERSION}${EXTRACT_SUFX}:0
2002-02-04 10:05:32 -05:00
LIB_DEPENDS= gc.1::devel/boehm-gc
2002-02-04 10:05:32 -05:00
FLAVORS= image japanese m17n
FLAVOR?=
CONFIGURE_STYLE= simple
2001-12-20 17:36:10 -05:00
CONFIGURE_ARGS= --nonstop \
--prefix="${PREFIX}" \
--gc-includedir="${LOCALBASE}/include" \
--gc-libdir="${LOCALBASE}/lib" \
2001-12-20 17:36:10 -05:00
--sysconfdir="${SYSCONFDIR}/w3m" \
--model=monster \
--mimetypes=/var/www/mime.types
CONFIGURE_ENV= use_ssl_verify=y \
dmail=mail ded=vi dbrowser=lynx \
use_bundled_gclib=n
2001-12-20 17:36:10 -05:00
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:Mimage}
LIB_DEPENDS+= gdk_pixbuf.2,gdk_pixbuf_xlib.2::graphics/gdk-pixbuf
CONFIGURE_ENV+= use_image=y
DOCS+= README.img
.endif
.if ${FLAVOR:L:Mjapanese}
2002-02-04 10:05:32 -05:00
FULLPKGNAME= ja-${PKGNAME}${FLAVOR_EXT:S/-japanese//}
CATEGORIES+= japanese
2001-12-20 17:36:10 -05:00
CONFIGURE_ARGS+= --lang=ja --code=n
DOCS+= README.SSL README.cookie README.keymap \
README.mailcap README.menu
DOCSRC= ${WRKSRC}/doc-jp
.else
2001-12-20 17:36:10 -05:00
CONFIGURE_ARGS+= --lang=en
DOCSRC= ${WRKSRC}/doc
2002-02-04 10:05:32 -05:00
.endif
2002-02-04 10:05:32 -05:00
.if ${FLAVOR:L:Mm17n}
DISTNAME= w3m-${VERSION}-stable-m17n-${M17N_VERSION}
PKGNAME= w3m-${VERSION}.${M17N_VERSION}${REVISION}
2002-03-11 18:00:24 -05:00
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:0
2002-02-04 10:05:32 -05:00
CONFIGURE_ARGS+= --suffix="" --charset=UTF-8
DOCS+= README.m17n
.endif
post-install:
2000-02-15 13:59:02 -05:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/w3m
cd ${DOCSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/w3m
1999-10-26 10:20:07 -04:00
.include <bsd.port.mk>