2002-12-11 20:18:54 -05:00
|
|
|
# $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"
|
2001-03-30 12:19:08 -05:00
|
|
|
|
2002-12-11 20:10:53 -05:00
|
|
|
VERSION= 0.3.2.2
|
|
|
|
M17N_VERSION= 20021207
|
|
|
|
REVISION=
|
2002-01-20 17:17:51 -05:00
|
|
|
|
|
|
|
DISTNAME= w3m-${VERSION}
|
2002-12-01 18:41:32 -05:00
|
|
|
PKGNAME= ${DISTNAME}${REVISION}
|
2001-03-24 07:56:14 -05:00
|
|
|
CATEGORIES= www
|
2001-11-16 16:35:44 -05:00
|
|
|
HOMEPAGE= http://w3m.sourceforge.net/
|
1999-10-26 10:20:07 -04:00
|
|
|
|
2001-03-24 07:56:14 -05:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
2000-08-24 22:24:10 -04:00
|
|
|
|
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
|
|
|
|
2002-08-28 08:38:15 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=w3m/}
|
|
|
|
MASTER_SITES0= http://www2u.biglobe.ne.jp/~hsaka/w3m/patch/
|
2001-03-24 07:56:14 -05:00
|
|
|
|
2002-02-04 10:05:32 -05:00
|
|
|
SUPDISTFILES= w3m-${VERSION}${EXTRACT_SUFX} \
|
2002-12-11 20:10:53 -05:00
|
|
|
w3m-${VERSION}-stable-m17n-${M17N_VERSION}${EXTRACT_SUFX}:0
|
2002-02-04 10:05:32 -05:00
|
|
|
|
2002-08-28 08:38:15 -04:00
|
|
|
LIB_DEPENDS= gc.1::devel/boehm-gc
|
|
|
|
|
2002-02-04 10:05:32 -05:00
|
|
|
FLAVORS= image japanese m17n
|
2001-11-16 16:35:44 -05:00
|
|
|
FLAVOR?=
|
2001-07-31 11:27:08 -04:00
|
|
|
|
2000-08-24 22:24:10 -04:00
|
|
|
CONFIGURE_STYLE= simple
|
2001-12-20 17:36:10 -05:00
|
|
|
CONFIGURE_ARGS= --nonstop \
|
|
|
|
--prefix="${PREFIX}" \
|
2002-08-28 08:38:15 -04:00
|
|
|
--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 \
|
2002-08-28 08:38:15 -04:00
|
|
|
dmail=mail ded=vi dbrowser=lynx \
|
|
|
|
use_bundled_gclib=n
|
2001-12-20 17:36:10 -05:00
|
|
|
|
2001-11-16 21:36:40 -05:00
|
|
|
NO_REGRESS= Yes
|
2000-08-24 22:24:10 -04:00
|
|
|
|
2001-03-24 07:56:14 -05:00
|
|
|
DOCS= FAQ.html HISTORY MANUAL.html \
|
|
|
|
README README.dict README.func STORY.html \
|
|
|
|
keymap.default keymap.lynx menu.default menu.submenu
|
|
|
|
|
2002-01-20 17:17:51 -05:00
|
|
|
.if ${FLAVOR:L:Mimage}
|
2002-12-01 18:41:32 -05:00
|
|
|
LIB_DEPENDS+= gdk_pixbuf.2,gdk_pixbuf_xlib.2::graphics/gdk-pixbuf
|
2002-01-20 17:17:51 -05:00
|
|
|
CONFIGURE_ENV+= use_image=y
|
|
|
|
DOCS+= README.img
|
|
|
|
.endif
|
|
|
|
|
2001-11-16 16:35:44 -05:00
|
|
|
.if ${FLAVOR:L:Mjapanese}
|
2002-02-04 10:05:32 -05:00
|
|
|
FULLPKGNAME= ja-${PKGNAME}${FLAVOR_EXT:S/-japanese//}
|
2001-07-31 11:27:08 -04:00
|
|
|
CATEGORIES+= japanese
|
2001-12-20 17:36:10 -05:00
|
|
|
CONFIGURE_ARGS+= --lang=ja --code=n
|
2001-07-31 11:27:08 -04:00
|
|
|
DOCS+= README.SSL README.cookie README.keymap \
|
|
|
|
README.mailcap README.menu
|
|
|
|
DOCSRC= ${WRKSRC}/doc-jp
|
2000-07-14 13:50:13 -04:00
|
|
|
.else
|
2001-12-20 17:36:10 -05:00
|
|
|
CONFIGURE_ARGS+= --lang=en
|
2001-07-31 11:27:08 -04:00
|
|
|
DOCSRC= ${WRKSRC}/doc
|
2002-02-04 10:05:32 -05:00
|
|
|
.endif
|
2001-03-24 07:56:14 -05:00
|
|
|
|
2002-02-04 10:05:32 -05:00
|
|
|
.if ${FLAVOR:L:Mm17n}
|
2002-12-11 20:10:53 -05:00
|
|
|
DISTNAME= w3m-${VERSION}-stable-m17n-${M17N_VERSION}
|
2002-12-01 18:41:32 -05:00
|
|
|
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
|
2001-03-24 07:56:14 -05:00
|
|
|
.endif
|
2000-07-09 20:17:55 -04:00
|
|
|
|
|
|
|
post-install:
|
2000-02-15 13:59:02 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/w3m
|
2001-11-16 16:35:44 -05:00
|
|
|
cd ${DOCSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/w3m
|
|
|
|
|
1999-10-26 10:20:07 -04:00
|
|
|
.include <bsd.port.mk>
|