openbsd-ports/lang/ecl/Makefile

57 lines
1.2 KiB
Makefile
Raw Normal View History

2010-10-24 17:06:28 -04:00
# $OpenBSD: Makefile,v 1.7 2010/10/24 21:06:28 sthen Exp $
COMMENT = embeddable common-lisp
CATEGORIES = lang
BROKEN-hppa = infinite loop during build
V = 8.12.0
DISTNAME = ecl-$V
2010-10-24 17:06:28 -04:00
REVISION = 0
SHARED_LIBS += ecl 0.0
HOMEPAGE = http://ecls.sourceforge.net/
SUBST_VARS = V
# GPLv2 or later
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ecls/}
CONFIGURE_STYLE = gnu
USE_GMAKE = Yes
USE_LIBTOOL = Yes
2010-10-18 15:20:41 -04:00
USE_GROFF = Yes
NO_REGRESS = Yes
CONFIGURE_ENV += LDFLAGS='-pthread -L${LOCALBASE}/lib' \
CPPFLAGS=-I${LOCALBASE}/include \
CFLAGS='${CFLAGS} -pthread' \
ECLLIB_VERSION=${LIBecl_VERSION}
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
2010-10-24 17:06:28 -04:00
LIB_DEPENDS += ::devel/gmp \
::devel/boehm-gc
2010-10-24 17:06:28 -04:00
WANTLIB += c gc gmp 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>