aboutsummaryrefslogtreecommitdiffstats
path: root/editors/teco/Makefile
blob: bafa50d023263adffb29f63b8663e5b06cc86e86 (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
# New ports collection makefile for:    teco
# Date created:             Feb 15 2005
# Whom:                 Stanislav Sedov <stas@core.310.ru>
#
# $FreeBSD$
#

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

MAINTAINER= stas@core.310.ru
COMMENT=    Powerful and compact editor with nongrafical 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

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

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for FILE in ${DOCSFILES}
    ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>