pkgsrc-wip/elinks-libmm/Makefile
Blair Sadewitz 423d0bd108 Development version of elinks (0.13) with a little code I wrote
to allocate memory via libmm.  On NetBSD, this gives the speed
of shared, anonymous memory and also contains nearly all of elinks'
memory access within the shared memory pool, which is destroyed upon
exit.  I like it much better like this. ;)

Also, I added some GNU code which is (or at least claims to be) a safe
wrapper for alloca() for additional safety.  Use of alloca() is
disabled in dcigettext.c; I did not have the energy to step through
it and replace all the instances of free().

If you use or are curious about using elinks, this is probably the way
to go.
2008-02-17 03:30:10 +00:00

47 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2008/02/17 03:30:10 bsadewitz Exp $
DISTNAME= elinks-current-0.13
PKGNAME= elinks-0.13
CATEGORIES= www
MASTER_SITES= http://elinks.or.cz/download/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://elinks.or.cz/
COMMENT= Extended/Enhanced Links
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
CONFIGURE_ARGS+= --datadir=${ELINKS_DATADIR:Q}
CONFGIURE_ARGS+= --enable-utf-8=yes
ELINKS_DATADIR= ${PREFIX}/share/${PKGBASE}
ELINKS_LOCALEDIR= ${ELINKS_DATADIR}/locale
CONFIGURE_ENV+= AUTOCONF=${TRUE}
CONFIGURE_ENV+= AUTOMAKE=${TRUE}
MAKE_ENV+= PKGLOCALEDIR=${ELINKS_LOCALEDIR:Q}
LIBS+= -lmm
.include "options.mk"
post-extract:
${MV} ${WRKDIR}/elinks-0.13-* ${WRKDIR}/${PKGNAME_NOREV}
${CP} ${FILESDIR}/malloca.? ${WRKSRC}/src/util
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/libmm/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"