2003-04-04 23:40:54 +02:00
|
|
|
# New ports collection makefile for: CHICKEN
|
|
|
|
# Date created: 31 December 2002
|
|
|
|
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= chicken
|
2004-02-12 06:56:08 +01:00
|
|
|
PORTVERSION= 1.33
|
2003-08-28 02:09:58 +02:00
|
|
|
CATEGORIES= lang scheme
|
2003-04-04 23:40:54 +02:00
|
|
|
MASTER_SITES= http://www.call-with-current-continuation.org/
|
|
|
|
|
2003-04-30 02:49:11 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-04-04 23:40:54 +02:00
|
|
|
COMMENT= A Scheme-to-C compiler
|
|
|
|
|
2004-02-12 06:56:08 +01:00
|
|
|
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
|
|
|
|
|
2003-04-04 23:40:54 +02:00
|
|
|
USE_REINPLACE= yes
|
2004-07-09 19:43:11 +02:00
|
|
|
USE_INC_LIBTOOL_VER=13
|
2004-02-12 06:56:08 +01:00
|
|
|
USE_GNOME= lthack
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
2003-04-04 23:40:54 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2004-02-12 06:56:08 +01:00
|
|
|
MAN1= chicken-config.1 chicken-setup.1 chicken.1 csc.1 csi.1
|
2003-04-04 23:40:54 +02:00
|
|
|
|
2004-03-15 12:11:20 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
|
|
|
BROKEN= "Coredump during build on amd64 and ia64"
|
|
|
|
.endif
|
|
|
|
|
2003-04-04 23:40:54 +02:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's/\(install-data-am: \)install-data-local/\1/' \
|
2003-04-30 02:49:11 +02:00
|
|
|
${WRKSRC}/Makefile.in
|
2003-08-28 02:09:58 +02:00
|
|
|
${REINPLACE_CMD} -e 's|"/usr/local/include" ||' ${WRKSRC}/csc.in
|
2003-04-04 23:40:54 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2004-03-15 12:11:20 +01:00
|
|
|
.include <bsd.port.post.mk>
|