pkgsrc/lang/ecl/Makefile
2021-12-08 16:01:42 +00:00

36 lines
1,001 B
Makefile

# $NetBSD: Makefile,v 1.29 2021/12/08 16:05:20 adam Exp $
DISTNAME= ecl-21.2.1
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= https://common-lisp.net/project/ecl/static/files/release/
EXTRACT_SUFX= .tgz
MAINTAINER= asau@inbox.ru
HOMEPAGE= https://common-lisp.net/project/ecl/
COMMENT= Embeddable Common Lisp
LICENSE= gnu-lgpl-v2
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake makeinfo
INFO_FILES= yes
TEXINFO_REQD= 5.2
CONFIGURE_ARGS+= --enable-boehm=system --enable-gmp=system
SUBST_CLASSES+= fix-libffi-include
SUBST_STAGE.fix-libdir= pre-configure
SUBST_MESSAGE.fix-libdir= Fixing libffi layout.
SUBST_FILES.fix-libdir= src/c/ffi.d
SUBST_SED.fix-libdir= -e '/include.*<ffi/ffi.h>/s:ffi/ffi.h:ffi.h:'
.include "options.mk"
PLIST_SUBST= PKGVERSION_MAJOR_MINOR=${PKGVERSION_NOREV:R} \
PKGVERSION_MAJOR=${PKGVERSION_NOREV:R:R}
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"