summaryrefslogtreecommitdiff
path: root/editors/ne/Makefile
blob: 8fd86a3c9bbdbfe57f9981653203aebd45852f32 (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
# $NetBSD: Makefile,v 1.5 2001/02/16 14:40:51 wiz Exp $

DISTNAME=	ne
PKGNAME=	ne-1.26
WRKSRC=		${WRKDIR}/src
CATEGORIES=	editors
MASTER_SITES=	ftp://ftp.cus.cam.ac.uk/pub/software/programs/NE/
DISTFILES=	ne.tar.gz ne.manpage.1 NE.spec.ascii NE.changes.spec

MAINTAINER=	bjh@mail.dotcom.fr
COMMENT=	Re-write of Phoenix E.  A sensible light-weight editor

DIST_SUBDIR=	${PKGNAME}

EXTRACT_ONLY=	ne.tar.gz

post-extract:
	@${CP} ${_DISTDIR}/ne.manpage.1 ${_DISTDIR}/NE.spec.ascii \
		${_DISTDIR}/NE.changes.spec ${WRKSRC}

ALL_TARGET=	NetBSD ne

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/nenew ${PREFIX}/bin/ne
	${INSTALL_MAN} ${WRKSRC}/ne.manpage.1 ${PREFIX}/man/man1/ne.1
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ne
	${INSTALL_DATA} ${WRKSRC}/NE.spec.ascii ${WRKSRC}/NE.changes.spec \
		${WRKSRC}/LICENCE ${PREFIX}/share/doc/ne

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