summaryrefslogtreecommitdiff
path: root/editors/ne/Makefile
blob: 12ed444262b834e4782372f5b2b1a8b8280ebc8c (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.15 2012/10/03 11:43:38 asau Exp $

DISTNAME=	ne-1.31
CATEGORIES=	editors
MASTER_SITES=	ftp://ftp.cus.cam.ac.uk/pub/software/programs/NE/
DISTFILES=	${DISTNAME}.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

MAKE_JOBS_SAFE=		no

DIST_SUBDIR=	${PKGNAME_NOREV}
WRKSRC=		${WRKDIR}/src

EXTRACT_ONLY=	${DISTNAME}.tar.gz

BUILD_TARGET=	NetBSD ne

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

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

.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"