aboutsummaryrefslogtreecommitdiffstats
path: root/math/lambda/Makefile
blob: 153c2cf5c99ba4544aa9a2e2aabb1f094f8cf332 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   lambda
PORTVERSION=    0.1.4
CATEGORIES= math
MASTER_SITES=   http://www.freebsdbrasil.com.br/~jmelo/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A lambda calculus interpreter

USES=       perl5
USE_PERL5=  build
GNU_CONFIGURE=  yes

PLIST_FILES=    bin/lambda \
        share/lambda/definitions \
        share/lambda/definitions_with_numbers
PLIST_DIRS= share/lambda

.if !defined(NOPORTDOCS)
DOCS=       lambda.html lambdamanual.html user_manual_style.css
PORTDOCS=   *
.endif

NO_STAGE=   yes
do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/lambda ${PREFIX}/bin
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/definitions* ${DATADIR}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>