1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/lang/chicken/Makefile
2009-09-07 12:16:58 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: CHICKEN
# Date created: 31 December 2002
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#
PORTNAME= chicken
PORTVERSION= 4.1.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
MAKE_FLAGS+= HOST=${HOST} PREFIX=${PREFIX} PLATFORM=${PLATFORM}
PLATFORM= bsd
NEW_ARCH= ${ARCH:S/i386/x86/:S/amd64/x86-64/}
MAN1= chicken.1 chicken-bug.1 chicken-install.1 chicken-profile.1 \
chicken-status.1 chicken-uninstall.1 csc.1 csi.1
.include <bsd.port.pre.mk>
.if ${ARCH} != ${NEW_ARCH}
post-patch:
${MV} ${WRKSRC}/apply-hack.${NEW_ARCH}.s ${WRKSRC}/apply-hack.${ARCH}.s
.endif
post-install:
@${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}/benchmarks
${CP} -R ${WRKSRC}/benchmarks/* ${EXAMPLESDIR}/benchmarks/
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
.include <bsd.port.post.mk>