2007-09-15 16:38:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2007/09/15 20:38:21 merdely Exp $
|
2005-07-22 00:21:30 -04:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= full-featured text WWW browser
|
2006-12-07 16:43:53 -05:00
|
|
|
DISTNAME= elinks-0.11.2
|
2005-07-22 00:21:30 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
CATEGORIES= www
|
2006-01-29 10:41:00 -05:00
|
|
|
MASTER_SITES= http://elinks.cz/download/
|
2005-07-22 00:21:30 -04:00
|
|
|
|
2006-01-29 10:41:00 -05:00
|
|
|
HOMEPAGE= http://elinks.cz/
|
2005-07-22 00:21:30 -04:00
|
|
|
|
|
|
|
MAINTAINER= James Prevatt <jprevatt+bsd@paunix.org>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2006-01-29 10:41:00 -05:00
|
|
|
CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include \
|
|
|
|
LDFLAGS=-L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ARGS+= --with-bzlib \
|
2006-11-03 19:51:17 -05:00
|
|
|
--without-spidermonkey \
|
2006-01-29 10:41:00 -05:00
|
|
|
--disable-xbel \
|
|
|
|
--enable-gopher \
|
|
|
|
--with-libiconv=${LOCALBASE}
|
2006-06-23 08:32:33 -04:00
|
|
|
LIB_DEPENDS+= bz2::archivers/bzip2 \
|
|
|
|
idn::devel/libidn
|
2005-07-22 00:21:30 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
RUN_DEPENDS= ::devel/gettext
|
|
|
|
WANTLIB= crypto c z ssl
|
2006-01-29 10:41:00 -05:00
|
|
|
MODULES= converters/libiconv
|
2005-07-22 00:21:30 -04:00
|
|
|
|
2006-01-29 10:41:00 -05:00
|
|
|
FLAVORS= lua no_x11
|
2005-07-22 00:21:30 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mlua}
|
2006-01-29 10:41:00 -05:00
|
|
|
CONFIGURE_ARGS+= --with-lua
|
2006-10-21 13:56:48 -04:00
|
|
|
LIB_DEPENDS+= lua.>=5.1::lang/lua
|
2005-07-22 00:21:30 -04:00
|
|
|
WANTLIB+= m
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-lua
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
|
|
|
.else
|
2006-01-29 10:41:00 -05:00
|
|
|
CONFIGURE_ARGS+= --with-x
|
2005-07-22 00:21:30 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
WANTLIB+= X11
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|