aboutsummaryrefslogtreecommitdiffstats
path: root/lang/elk/Makefile
blob: f5a112c11e0919ac34d556f3a6824a7fc7c8b3be (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
37
38
39
40
41
42
43
# New ports collection makefile for:    elk
# Date created:     08 March 1995
# Whom:         Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   elk
PORTVERSION=    3.0.3
CATEGORIES= lang scheme
MASTER_SITES=   http://www-rn.informatik.uni-bremen.de/software/elk/dist/
DISTNAME=   elk-3.0

MAINTAINER= ports@FreeBSD.org
COMMENT=    An embeddable Scheme interpreter

USE_XLIB=   yes
ALL_TARGET= default
MAN1=       elk.1

post-patch:
    @${CP} ${WRKSRC}/config/untested/386pc-freebsd2.1-cc \
        ${WRKSRC}/config/system
    @${CP} ${WRKSRC}/config/sites/386pc-freebsd2.1 \
        ${WRKSRC}/config/site

pre-install:
    @${MKDIR} ${PREFIX}/share/elk

#
# we install the scheme binary as ${PREFIX}/bin/elk
# to avoid a clash with mit-scheme.
#
post-install:
    ${INSTALL_PROGRAM} ${PREFIX}/share/elk/bin/scheme ${PREFIX}/bin/elk
    @${MKDIR} ${PREFIX}/include/elk
    ${CP} -R ${PREFIX}/share/elk/include/* ${PREFIX}/include/elk
.for dir in bin include
    @${RM} -rf ${PREFIX}/share/elk/${dir}
.endfor
    @${INSTALL_MAN} ${WRKSRC}/doc/man/elk.1 ${PREFIX}/man/man1

.include <bsd.port.mk>