Ne is a free text editor based on the POSIX standard that runs (we

hope) 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

WWW:	http://ne.dsi.unimi.it/

PR:		ports/83874
Submitted by:	Andrej Zverev <az@inec.ru>
Approved by:	flz (mentor)
This commit is contained in:
Renato Botelho 2005-07-22 11:12:24 +00:00
parent fbf7bc4864
commit 3ad0a0376f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139891
5 changed files with 56 additions and 0 deletions

View File

@ -109,6 +109,7 @@
SUBDIR += mule
SUBDIR += mule-common
SUBDIR += nano
SUBDIR += ne
SUBDIR += nedit
SUBDIR += nvi-devel
SUBDIR += nvi-m17n

43
editors/ne/Makefile Normal file
View File

@ -0,0 +1,43 @@
# New ports collection makefile for: ne
# Date created: 2005-07-21
# Whom: Andrej Zverev <az@inec.ru>
#
# $FreeBSD$
#
PORTNAME= ne
PORTVERSION= 1.40
CATEGORIES= editors
MASTER_SITES= http://ne.dsi.unimi.it/
MAINTAINER= az@inec.ru
COMMENT= Nice and powerfull editor
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400010
LIB_DEPENDS+= ncurses:${PORTSDIR}/devel/ncurses
.endif
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_GMAKE= yes
USE_PERL5= yes
MAKEFILE= makefile
ALL_TARGET= ne
MAKE_ARGS= CFLAGS="${CFLAGS} -DNOWCHAR" CC="${CC}" \
GLOBALDIR="${DATADIR}"
MAN1= ne.1
post-patch:
@${PERL5} -pi -e 's|tmpnam\(|mkstemp\(|g' ${WRKSRC}/actions.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ne ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/../doc/default.keys ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/../doc/default.menus ${DATADIR}/
${INSTALL_MAN} ${WRKSRC}/../doc/ne.1 ${PREFIX}/man/man1
.include <bsd.port.post.mk>

2
editors/ne/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (ne-1.40.tar.gz) = 7fbbc0268dbcadfa6391670166c765f6
SIZE (ne-1.40.tar.gz) = 1127279

6
editors/ne/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
Ne is a free text editor based on the POSIX standard that runs (we
hope) 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
WWW: http://ne.dsi.unimi.it/

4
editors/ne/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
bin/ne
%%DATADIR%%/default.keys
%%DATADIR%%/default.menus
@dirrm share/ne