50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.2 2008/08/19 23:45:58 espie Exp $
|
|
|
|
COMMENT = embeddable common-lisp
|
|
CATEGORIES = lang
|
|
|
|
DISTNAME = ecl-0.9l
|
|
PKGNAME = ecl-0.9l
|
|
WRKDIST = ${WRKDIR}/ecl-0.9l
|
|
EXTRACT_SUFX = .tgz
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ecls/}
|
|
HOMEPAGE = http://ecls.sourceforge.net/
|
|
|
|
# GPLv2 or later
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
USE_GMAKE = Yes
|
|
USE_LIBTOOL = Yes
|
|
NO_REGRESS = Yes
|
|
CONFIGURE_ENV += LDFLAGS='-pthread -L${LOCALBASE}/lib' \
|
|
CPPFLAGS=-I${LOCALBASE}/include \
|
|
CFLAGS='${CFLAGS} -pthread'
|
|
|
|
CONFIGURE_ARGS += --enable-boehm=system \
|
|
--with-system-gmp \
|
|
--with-gmp-prefix=${LOCALBASE}
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS = ${WRKDIST} \
|
|
${WRKDIST}/src \
|
|
${WRKDIST}/src/gc \
|
|
${WRKDIST}/src/gmp
|
|
|
|
LIB_DEPENDS += gmp::devel/gmp \
|
|
gc::devel/boehm-gc
|
|
|
|
WANTLIB += c m pthread
|
|
|
|
post-build:
|
|
cd ${WRKBUILD}/build/doc && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET}
|
|
|
|
post-install:
|
|
cd ${WRKBUILD}/build/doc && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${ALL_FAKE_FLAGS} ${INSTALL_TARGET}
|
|
|
|
|
|
.include <bsd.port.mk>
|