openbsd-ports/www/elinks/Makefile
jasper d1539b7276 Update to elinks 0.11.2, which includes a security update:
CVE-2006-5925: smbclient command injection via smb URL metacharacters

no response from MAINTAINER.

ok steven@
2006-12-07 21:43:53 +00:00

55 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2006/12/07 21:43:53 jasper Exp $
COMMENT= "full-featured text WWW browser"
DISTNAME= elinks-0.11.2
EXTRACT_SUFX= .tar.bz2
CATEGORIES= www
MASTER_SITES= http://elinks.cz/download/
HOMEPAGE= http://elinks.cz/
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
CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-bzlib \
--without-spidermonkey \
--disable-xbel \
--enable-gopher \
--with-libiconv=${LOCALBASE}
LIB_DEPENDS+= bz2::archivers/bzip2 \
idn::devel/libidn
USE_GMAKE= Yes
RUN_DEPENDS= ::devel/gettext
WANTLIB= crypto c z ssl
MODULES= converters/libiconv
FLAVORS= lua no_x11
FLAVOR?=
.if ${FLAVOR:L:Mlua}
CONFIGURE_ARGS+= --with-lua
LIB_DEPENDS+= lua.>=5.1::lang/lua
WANTLIB+= m
.else
CONFIGURE_ARGS+= --without-lua
.endif
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --without-x
.else
CONFIGURE_ARGS+= --with-x
USE_X11= Yes
WANTLIB+= X11
.endif
.include <bsd.port.mk>