summaryrefslogtreecommitdiff
path: root/editors/mflteco/Makefile
blob: c7c27575b8f8e82c0b571cdf11a41aae66fca67f (plain)
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
# $NetBSD: Makefile,v 1.5 2008/04/07 17:37:36 joerg Exp $
#

PKGNAME=		mflteco-19920331
DISTNAME=		mflteco
CATEGORIES=		editors
MASTER_SITES=		http://www.catb.org/~esr/retro/

MAINTAINER=		is@NetBSD.org
HOMEPAGE=		http://www.catb.org/~esr/retro/
COMMENT=		MFL clone of Tape Editor and COrrector

PKG_DESTDIR_SUPPORT=	user-destdir

BUILD_TARGET=		te

INSTALLATION_DIRS=	bin share/doc/mflteco share/examples/mflteco

pre-patch:
	cp ${WRKSRC}/Makefile.sun4 ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/te ${DESTDIR}${PREFIX}/bin
.for f in 00README teco.doc teco.doc.1
	${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/mflteco
.endfor
.for f in .tecorc pi.tec sample_tecorc.old tecorc.mch
	${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/examples/mflteco
.endfor

.include "../../mk/bsd.pkg.mk"