bcallah 94523c7091 Import editors/ne
ok juanfra@

ne is a free (GPL'd) text editor based on the POSIX standard that runs
on almost any UN*X machine. ne is easy to use for the beginner, but
powerful and fully configurable for the wizard, and most sparing in its
resource usage.

Features:
* multiple user interfaces
* syntax highlighting
* full UTF-8 support
* simple scripting language
* binary file editor
2014-10-12 22:32:27 +00:00

35 lines
875 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2014/10/12 22:32:27 bcallah Exp $
COMMENT = nice console editor
DISTNAME = ne-2.5
CATEGORIES = editors
HOMEPAGE = http://ne.di.unimi.it/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c curses m
MASTER_SITES = http://ne.di.unimi.it/
MAKE_FILE = makefile
MAKE_FLAGS = CC="${CC}" OPTS="${CFLAGS}"
ALL_TARGET = build
NO_TEST = Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/ne ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/ne.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/ne/syntax
${INSTALL_DATA} ${WRKSRC}/syntax/*.jsf ${PREFIX}/share/ne/syntax
${INSTALL_DATA} ${WRKSRC}/macros/* ${PREFIX}/share/ne
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ne
${INSTALL_DATA} \
${WRKSRC}/{README,COPYING,NEWS,CHANGES,doc/ne.{txt,pdf}} \
${PREFIX}/share/doc/ne
.include <bsd.port.mk>