pkgsrc/lang/librep/Makefile

47 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.63 2015/06/22 16:22:21 jperkin Exp $
#
DISTNAME= librep-0.92.3
CATEGORIES= lang devel
MASTER_SITES= http://download.tuxfamily.org/librep/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sawfish.wikia.com/
COMMENT= Emacs Lisp-like runtime library, interpreter, compiler and VM
USE_TOOLS+= gmake makeinfo gzip
USE_LIBTOOL= yes
# we have a symlink to libtool
DEPENDS+= libtool-base-[0-9]*:../../devel/libtool-base
INFO_FILES= yes
PKGCONFIG_OVERRIDE= librep.pc.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-readline
CONFIGURE_ARGS+= --with-gmp
CONFIGURE_ARGS+= --enable-static
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "x86_64"
CONFIGURE_ARGS+= --with-stack-direction=-1
.endif
REPLACE_INTERPRETER+= rep
REPLACE.rep.old= .*/bin/rep
REPLACE.rep.new= ${PREFIX}/bin/rep
REPLACE_FILES.rep= src/rep-xgettext.jl
SUBST_CLASSES+= fixwrap
SUBST_STAGE.fixwrap= post-build
SUBST_FILES.fixwrap= libtool
SUBST_SED.fixwrap= -e "s,${WRAPPER_BINDIR}/libtool,${PKG_LIBTOOL},g"
.include "../../databases/gdbm/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../devel/libffi/buildlink3.mk"
# uses rl_basic_quote_characters
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"