openbsd-ports/lang/chicken/Makefile
2010-11-07 19:12:42 +00:00

46 lines
915 B
Makefile

# $OpenBSD: Makefile,v 1.15 2010/11/07 19:12:42 espie Exp $
COMMENT= practical and portable Scheme system
DISTNAME= chicken-2.6
REVISION= 3
SHARED_LIBS += chicken 1.0 # .0.0
SHARED_LIBS += uchicken 1.0 # .0.0
CATEGORIES= lang
HOMEPAGE= http://www.call-with-current-continuation.org/
MASTER_SITES= ${HOMEPAGE}
WANTLIB= c m
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
USE_GROFF = Yes
LIB_DEPENDS += ::devel/libffi
WANTLIB += ffi
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -pthread" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
REGRESS_TARGET= bench
REGRESS_DEPENDS= :${PKGNAME}:lang/chicken
CFLAGS+= -I${LOCALBASE}/include
pre-configure:
${SUBST_CMD} ${WRKSRC}/cscbench.scm
.include <bsd.port.mk>