pkgsrc/www/elinks/Makefile

39 lines
1,013 B
Makefile

# $NetBSD: Makefile,v 1.61 2016/09/19 13:04:28 wiz Exp $
DISTNAME= elinks-0.12pre6
PKGNAME= ${DISTNAME:S/pre/rc/}
PKGREVISION= 11
CATEGORIES= www
MASTER_SITES= http://elinks.or.cz/download/ \
http://ftp.icm.edu.pl/packages/elinks/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://elinks.or.cz/
COMMENT= Extended/Enhanced Links
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/${PKGBASE}
CONFIGURE_ARGS+= --enable-256-colors
CONFIGURE_ARGS+= --enable-utf-8
CONFIGURE_ARGS+= --without-lzma
.include "../../mk/bsd.prefs.mk"
# for backtrace
.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
LIBS+= -lexecinfo
.endif
.include "options.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"