mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
328cb67cf6
PR: 128685 Submitted by: Timothy Beyer <beyert@cs.ucr.edu> Approved by: maintainer timeout
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# New ports collection makefile for: CHICKEN
|
|
# Date created: 31 December 2002
|
|
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= chicken
|
|
PORTVERSION= 3.4.0
|
|
CATEGORIES= lang scheme
|
|
MASTER_SITES= http://www.call-with-current-continuation.org/ \
|
|
http://chicken.wiki.br/releases/${PORTVERSION}/
|
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
|
COMMENT= A Scheme-to-C compiler
|
|
|
|
USE_GMAKE= yes
|
|
USE_LDCONFIG= yes
|
|
MAKE_ARGS+= PLATFORM=bsd PREFIX=${PREFIX} TOPMANDIR="${PREFIX}/man"
|
|
PLATFORM= bsd
|
|
|
|
OPTIONS= PCRE "Enable PCRE support" off
|
|
|
|
MAN1= chicken-bug.1 chicken-profile.1 chicken-setup.1 chicken.1 csc.1 csi.1
|
|
INFO= chicken
|
|
INFODIR= ${PREFIX}/${INFO_PATH}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_PCRE)
|
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
|
MAKE_ARGS+= USE_HOST_PCRE=yes
|
|
.endif
|
|
|
|
MAKE_FLAGS+= HOST=${HOST} PREFIX=${PREFIX} PLATFORM=${PLATFORM} INFODIR=${PREFIX}/info
|
|
|
|
post-patch:
|
|
${MV} ${WRKSRC}/apply-hack.x86.s ${WRKSRC}/apply-hack.i386.s
|
|
${MV} ${WRKSRC}/apply-hack.x86-64.s ${WRKSRC}/apply-hack.amd64.s
|
|
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/lib/${PORTNAME}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} LICENSE NEWS README \
|
|
${DOCSDIR}
|
|
@${MKDIR} ${EXAMPLESDIR}/benchmarks
|
|
${CP} -R ${WRKSRC}/benchmarks/* ${EXAMPLESDIR}/benchmarks/
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|