aboutsummaryrefslogtreecommitdiffstats
path: root/lang/chicken/Makefile
blob: e344dead85a04a97f0752892aef4e3dd96e43f15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    CHICKEN
# Date created:             31 December 2002
# Whom:                 Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#

PORTNAME=   chicken
PORTVERSION=    1.0
CATEGORIES= lang
MASTER_SITES=   http://www.call-with-current-continuation.org/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A Scheme-to-C compiler

ONLY_FOR_ARCHS= i386

USE_REINPLACE=  yes
USE_LIBTOOL=    yes
INSTALLS_SHLIB= yes

MAN1=       chicken-config.1 chicken.1 csc.1 csi.1

post-patch:
    ${REINPLACE_CMD} -e 's/\(install-data-am: \)install-data-local/\1/' \
        ${WRKSRC}/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
    ${MKDIR} ${DOCSDIR}
    ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>