2010-10-24 17:06:28 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2010/10/24 21:06:28 sthen 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
|
|
|
|
2010-09-20 14:02:47 -04:00
|
|
|
BROKEN-hppa = infinite loop during build
|
|
|
|
|
2009-03-16 07:19:12 -04:00
|
|
|
V = 8.12.0
|
|
|
|
DISTNAME = ecl-$V
|
2010-10-24 17:06:28 -04:00
|
|
|
REVISION = 0
|
2010-05-13 14:14:17 -04:00
|
|
|
SHARED_LIBS += ecl 0.0
|
|
|
|
|
|
|
|
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-10-18 15:20:41 -04:00
|
|
|
USE_GROFF = Yes
|
2009-03-16 07:19:12 -04:00
|
|
|
NO_REGRESS = Yes
|
2008-05-06 05:31:25 -04:00
|
|
|
CONFIGURE_ENV += LDFLAGS='-pthread -L${LOCALBASE}/lib' \
|
|
|
|
CPPFLAGS=-I${LOCALBASE}/include \
|
2009-03-16 07:19:12 -04:00
|
|
|
CFLAGS='${CFLAGS} -pthread' \
|
|
|
|
ECLLIB_VERSION=${LIBecl_VERSION}
|
2008-05-06 05:31:25 -04:00
|
|
|
|
|
|
|
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
|
2008-05-06 05:31:25 -04:00
|
|
|
|
2010-10-24 17:06:28 -04:00
|
|
|
WANTLIB += c gc gmp m pthread
|
2008-05-06 05:31:25 -04:00
|
|
|
|
|
|
|
post-build:
|
2010-05-13 14:14:17 -04:00
|
|
|
cd ${WRKBUILD}/build/doc && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
|
|
|
${MAKE_FLAGS} ${ALL_TARGET}
|
2008-05-06 05:31:25 -04:00
|
|
|
|
|
|
|
post-install:
|
2010-05-13 14:14:17 -04:00
|
|
|
cd ${WRKBUILD}/build/doc && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
|
|
|
${ALL_FAKE_FLAGS} ${INSTALL_TARGET}
|
2008-05-06 05:31:25 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|