aboutsummaryrefslogtreecommitdiffstats
path: root/lang/freetxl/Makefile
blob: 9fa645c87cc9e7f0f43d54751fd6e7ac13ad5054 (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
# New ports collection makefile for: freetxl
# Date created:     25 April 2003
# Whom:         Ryan Thompson <ryan@sasknow.com>
#
# $FreeBSD$
#

PORTNAME=   freetxl
PORTVERSION=    10.3
PORTREVISION=   1
CATEGORIES= lang
MASTER_SITES=   ftp://ftp.sasknow.com/pub/txl/
DISTNAME=   txl${PORTVERSION}.linux

MAINTAINER= ryan@sasknow.com
COMMENT=    The TXL Programming Language (transformation by example)

USE_LINUX=  yes

MAN1=       txl.1 txlc.1 txldb.1 txlp.1

PORTDOCS=   00README.txt COPYRIGHT.txt Documents.html Examples.html \
        FILES.txt Learning.html Support.html

do-build:
    ${BRANDELF} -t Linux ${WRKSRC}/bin/txl \
                ${WRKSRC}/bin/txldb

do-install:
    ${INSTALL_PROGRAM} \
        ${WRKSRC}/bin/txl \
        ${WRKSRC}/bin/txlc \
        ${WRKSRC}/bin/txldb \
        ${WRKSRC}/bin/txlp \
        ${PREFIX}/bin
    ${INSTALL_DATA} \
        ${WRKSRC}/lib/txlapr.x \
        ${WRKSRC}/lib/txlcvt.x \
        ${WRKSRC}/lib/txlmain.o \
        ${WRKSRC}/lib/txlpf.x \
        ${WRKSRC}/lib/txlvm.o \
        ${PREFIX}/lib
.if !defined(NO_INSTALL_MANPAGES)
.for file in ${MAN1}
    ${INSTALL_MAN} ${WRKSRC}/man/man1/${file} ${PREFIX}/man/man1/
.endfor
.endif
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>