summaryrefslogtreecommitdiff
path: root/editors/ne/Makefile
blob: 3674bf9ffbcd2da9dc8dcb131b7e2d2160928c52 (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
32
33
34
35
36
37
# $NetBSD: Makefile,v 1.16 2014/09/23 22:30:30 jperkin 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

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "SunOS"
BUILD_TARGET=	SunOS5_gcc ne
.else
BUILD_TARGET=	NetBSD ne
.endif

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"