aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ici/Makefile
blob: 161d9b2c1b3b770b6c169420de0cdf982cb58143 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# New ports collection makefile for:   ici
# Date created:        18 December 1997
# Whom:                andy
#
# $FreeBSD$
#

PORTNAME=   ici
PORTVERSION=    4.1.2
CATEGORIES= lang
MASTER_SITES=   http://www.zeta.org.au/~atrn/ici/distfiles/

MAINTAINER= atrn@zeta.org.au
COMMENT=    An interpretive language with C's feel and high level data types

MAKEFILE=   Makefile.bsd

MAN1=       ici.1 icifuncs.1 icioo.1 iciops.1 icire.1 \
        icistmt.1 icitypes.1

MANCOMPRESSED=  yes

ALL_TARGET= all ici.h

ICIHDRS=    ici.h icistr-setup.h

ICIDOCS=    doc/ici.pdf

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
BROKEN=     does not compile on amd64
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ici ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/libici4.a ${PREFIX}/lib
.for f in ${MAN1}
    ${INSTALL_MAN} ${WRKSRC}/${f}.gz ${PREFIX}/man/man1
.endfor
    ${MKDIR} ${PREFIX}/lib/ici4
    ${INSTALL_DATA} ${WRKSRC}/ici4core.ici ${PREFIX}/lib/ici4
    ${INSTALL_DATA} ${WRKSRC}/ici4core1.ici ${PREFIX}/lib/ici4
    ${INSTALL_DATA} ${WRKSRC}/ici4core2.ici ${PREFIX}/lib/ici4
    ${INSTALL_DATA} ${WRKSRC}/ici4core3.ici ${PREFIX}/lib/ici4
    ${MKDIR} ${PREFIX}/include
.for f in ${ICIHDRS}
    ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/include
.endfor
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/ici4
.for f in ${ICIDOCS}
    ${INSTALL_MAN} ${WRKSRC}/$f ${PREFIX}/share/doc/ici4
.endfor
.endif

.include <bsd.port.post.mk>