summaryrefslogtreecommitdiff
path: root/editors/ne/Makefile
blob: 71b9c2bbadc961ad450e912f9d70c1723856f62f (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.6 2004/01/20 12:14:05 agc Exp $

DISTNAME=	ne
PKGNAME=	ne-1.26
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}
WRKSRC=		${WRKDIR}/src

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"