aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ici/Makefile
blob: 71b1c8c681f2954675c36ae127ee398f48bf00f7 (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
# Created by: andy
# $FreeBSD$

PORTNAME=   ici
PORTVERSION=    4.1.2
PORTREVISION=   1
CATEGORIES= lang
MASTER_SITES=   http://atrn.org/ici/distfiles

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

MAKEFILE=   Makefile.bsd

ALL_TARGET= all ici.h
ICIHDRS=    ici.h icistr-setup.h
ICIDOCS=    doc/ici.pdf

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ici ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/libici4.a ${STAGEDIR}${PREFIX}/lib
    ${INSTALL_MAN} ${WRKSRC}/*.gz ${STAGEDIR}${PREFIX}/man/man1
    ${MKDIR} ${STAGEDIR}${PREFIX}/lib/ici4
    ${INSTALL_DATA} ${WRKSRC}/ici4core.ici ${STAGEDIR}${PREFIX}/lib/ici4
    ${INSTALL_DATA} ${WRKSRC}/ici4core1.ici ${STAGEDIR}${PREFIX}/lib/ici4
    ${INSTALL_DATA} ${WRKSRC}/ici4core2.ici ${STAGEDIR}${PREFIX}/lib/ici4
    ${INSTALL_DATA} ${WRKSRC}/ici4core3.ici ${STAGEDIR}${PREFIX}/lib/ici4
    ${MKDIR} ${STAGEDIR}${PREFIX}/include
.for f in ${ICIHDRS}
    ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${PREFIX}/include
.endfor
    ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ici4
.for f in ${ICIDOCS}
    ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${PREFIX}/share/doc/ici4
.endfor

.include <bsd.port.mk>