2003-04-04 21:40:54 +00:00
|
|
|
# New ports collection makefile for: CHICKEN
|
|
|
|
# Date created: 31 December 2002
|
|
|
|
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= chicken
|
2008-12-07 14:35:04 +00:00
|
|
|
PORTVERSION= 3.4.0
|
2003-08-28 00:09:58 +00:00
|
|
|
CATEGORIES= lang scheme
|
2008-06-27 23:20:26 +00:00
|
|
|
MASTER_SITES= http://www.call-with-current-continuation.org/ \
|
2008-07-17 22:50:55 +00:00
|
|
|
http://chicken.wiki.br/releases/${PORTVERSION}/
|
2003-04-04 21:40:54 +00:00
|
|
|
|
2006-04-09 13:08:16 +00:00
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
2003-04-04 21:40:54 +00:00
|
|
|
COMMENT= A Scheme-to-C compiler
|
|
|
|
|
2005-09-03 17:48:48 +00:00
|
|
|
USE_GMAKE= yes
|
2008-07-17 22:50:55 +00:00
|
|
|
USE_LDCONFIG= yes
|
2008-06-27 23:20:26 +00:00
|
|
|
MAKE_ARGS+= PLATFORM=bsd PREFIX=${PREFIX} TOPMANDIR="${PREFIX}/man"
|
|
|
|
PLATFORM= bsd
|
2003-04-04 21:40:54 +00:00
|
|
|
|
2007-04-14 20:31:24 +00:00
|
|
|
OPTIONS= PCRE "Enable PCRE support" off
|
2004-07-16 16:08:17 +00:00
|
|
|
|
2008-06-27 23:20:26 +00:00
|
|
|
MAN1= chicken-bug.1 chicken-profile.1 chicken-setup.1 chicken.1 csc.1 csi.1
|
|
|
|
INFO= chicken
|
|
|
|
INFODIR= ${PREFIX}/${INFO_PATH}
|
2004-07-16 16:08:17 +00:00
|
|
|
|
2004-03-15 11:11:20 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-07-16 16:08:17 +00:00
|
|
|
.if defined(WITH_PCRE)
|
2004-08-20 20:24:06 +00:00
|
|
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
2008-07-17 22:50:55 +00:00
|
|
|
MAKE_ARGS+= USE_HOST_PCRE=yes
|
2004-07-16 16:08:17 +00:00
|
|
|
.endif
|
|
|
|
|
2008-06-27 23:20:26 +00:00
|
|
|
MAKE_FLAGS+= HOST=${HOST} PREFIX=${PREFIX} PLATFORM=${PLATFORM} INFODIR=${PREFIX}/info
|
|
|
|
|
2003-04-04 21:40:54 +00:00
|
|
|
post-patch:
|
2008-06-28 00:09:16 +00:00
|
|
|
${MV} ${WRKSRC}/apply-hack.x86.s ${WRKSRC}/apply-hack.i386.s
|
|
|
|
${MV} ${WRKSRC}/apply-hack.x86-64.s ${WRKSRC}/apply-hack.amd64.s
|
2003-04-04 21:40:54 +00:00
|
|
|
|
|
|
|
post-install:
|
2005-09-03 17:48:48 +00:00
|
|
|
@${MKDIR} ${PREFIX}/lib/${PORTNAME}
|
2003-04-04 21:40:54 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2005-09-03 17:48:48 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2008-06-27 23:20:26 +00:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} LICENSE NEWS README \
|
2007-04-14 20:31:24 +00:00
|
|
|
${DOCSDIR}
|
2006-03-18 14:38:04 +00:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}/benchmarks
|
2006-10-31 02:28:05 +00:00
|
|
|
${CP} -R ${WRKSRC}/benchmarks/* ${EXAMPLESDIR}/benchmarks/
|
2003-04-04 21:40:54 +00:00
|
|
|
.endif
|
2008-12-07 14:35:04 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2003-04-04 21:40:54 +00:00
|
|
|
|
2004-03-15 11:11:20 +00:00
|
|
|
.include <bsd.port.post.mk>
|