2012-03-30 05:06:34 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2012/03/30 09:06:34 phessler Exp $
|
2008-05-06 05:31:25 -04:00
|
|
|
|
2009-03-16 07:19:12 -04:00
|
|
|
COMMENT = embeddable common-lisp
|
|
|
|
CATEGORIES = lang
|
2008-05-06 05:31:25 -04:00
|
|
|
|
2012-03-30 05:06:34 -04:00
|
|
|
BROKEN-sparc = infinite loop while building
|
|
|
|
|
2011-04-20 11:45:16 -04:00
|
|
|
V = 11.1.1
|
2009-03-16 07:19:12 -04:00
|
|
|
DISTNAME = ecl-$V
|
2011-09-16 06:31:20 -04:00
|
|
|
REVISION= 0
|
2011-04-20 11:45:16 -04:00
|
|
|
SHARED_LIBS += ecl 2.0
|
2010-05-13 14:14:17 -04:00
|
|
|
|
|
|
|
HOMEPAGE = http://ecls.sourceforge.net/
|
2009-03-16 07:19:12 -04:00
|
|
|
SUBST_VARS = V
|
2008-05-06 05:31:25 -04:00
|
|
|
|
|
|
|
# GPLv2 or later
|
2010-05-13 14:14:17 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
2008-05-06 05:31:25 -04:00
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
2010-05-13 14:14:17 -04:00
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2008-05-06 05:31:25 -04:00
|
|
|
|
2010-05-13 14:14:17 -04:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ecls/}
|
2008-05-06 05:31:25 -04:00
|
|
|
|
2009-03-16 07:19:12 -04:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
USE_LIBTOOL = Yes
|
2010-11-17 03:05:12 -05:00
|
|
|
USE_GROFF = Yes
|
2009-03-16 07:19:12 -04:00
|
|
|
NO_REGRESS = Yes
|
2011-04-20 11:45:16 -04:00
|
|
|
CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include \
|
2009-03-16 07:19:12 -04:00
|
|
|
ECLLIB_VERSION=${LIBecl_VERSION}
|
2010-12-04 09:36:19 -05:00
|
|
|
FLAVORS = debug
|
|
|
|
FLAVOR ?=
|
2008-05-06 05:31:25 -04:00
|
|
|
|
|
|
|
CONFIGURE_ARGS += --enable-boehm=system \
|
|
|
|
--with-system-gmp \
|
2011-06-13 17:04:58 -04:00
|
|
|
--with-gmp-prefix=${LOCALBASE}
|
|
|
|
# etags gets picked up if it's install, and dumps core while
|
|
|
|
# generating the tags. so override it for now untill etags is fixed.
|
|
|
|
CONFIGURE_ENV += ETAGS=/usr/bin/true
|
2010-12-04 09:36:19 -05:00
|
|
|
|
2011-12-02 09:36:13 -05:00
|
|
|
.if ${FLAVOR:Mdebug}
|
2010-12-04 09:36:19 -05:00
|
|
|
CONFIGURE_ARGS += --with-debug-cflags=-g
|
|
|
|
.endif
|
2008-05-06 05:31:25 -04:00
|
|
|
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS = ${WRKDIST} \
|
|
|
|
${WRKDIST}/src \
|
|
|
|
${WRKDIST}/src/gc \
|
|
|
|
${WRKDIST}/src/gmp
|
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
LIB_DEPENDS += devel/gmp \
|
2011-04-20 11:45:16 -04:00
|
|
|
devel/boehm-gc \
|
|
|
|
devel/libffi
|
|
|
|
|
|
|
|
WANTLIB += c ffi gc gmp m pthread
|
2008-05-06 05:31:25 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|