aboutsummaryrefslogtreecommitdiffstats
path: root/editors/teco/Makefile
blob: 13f8cfd94d8828ad2a46da3d0ce775a426e6f3fd (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
# Created by: Stanislav Sedov <stas@core.310.ru>
# $FreeBSD$

PORTNAME=   teco
PORTVERSION=    0398
CATEGORIES= editors
MASTER_SITES=   http://almy.us/files/
DISTNAME=   tecoclinux${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Powerful and compact editor with nongraphical user interface

MAKEFILE=   makefile
WRKSRC=     ${WRKDIR}/tecoc${PORTVERSION}
BUILD_WRKSRC=   ${WRKSRC}/src
ALL_TARGET= #

DOCSFILES=  src/readme.1st src/readme.lnx src/changes.txt src/aaout.txt \
        src/problems.txt src/video.txt doc/teco.doc doc/wchart.txt

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/tecoc ${STAGEDIR}${PREFIX}/bin
    ${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR}

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in ${DOCSFILES}
    ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>