aboutsummaryrefslogtreecommitdiffstats
path: root/editors/ne
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-02-01 07:44:34 +0800
committerjgh <jgh@FreeBSD.org>2013-02-01 07:44:34 +0800
commit570e05d3ce1ceb819fa6a123e91bff4743a6e045 (patch)
tree627f913776bd711c05fad1fb824c45feea2d92c3 /editors/ne
parent5cba9a26b938940ec3e56572668d95848c90bffe (diff)
downloadfreebsd-ports-gnome-570e05d3ce1ceb819fa6a123e91bff4743a6e045.tar.gz
freebsd-ports-gnome-570e05d3ce1ceb819fa6a123e91bff4743a6e045.tar.zst
freebsd-ports-gnome-570e05d3ce1ceb819fa6a123e91bff4743a6e045.zip
- update to 2.5
- while here adjust pkg-descr formatting, and adopt optionsNG Reported by: portscout@
Diffstat (limited to 'editors/ne')
-rw-r--r--editors/ne/Makefile16
-rw-r--r--editors/ne/distinfo4
-rw-r--r--editors/ne/pkg-descr2
3 files changed, 11 insertions, 11 deletions
diff --git a/editors/ne/Makefile b/editors/ne/Makefile
index e64cc76c4216..ecf33da24fdf 100644
--- a/editors/ne/Makefile
+++ b/editors/ne/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: ne
-# Date created: 2005-07-21
-# Whom: Andrej Zverev <az@inec.ru>
-#
+# Created by: Andrej Zverev <az@inec.ru>
# $FreeBSD$
-#
PORTNAME= ne
-PORTVERSION= 2.4
+PORTVERSION= 2.5
CATEGORIES= editors
MASTER_SITES= http://ne.dsi.unimi.it/
@@ -15,6 +11,8 @@ COMMENT= Nice and powerful editor
LICENSE= GPLv3
+OPTIONS_DEFINE= DEBUG DOCS
+
BUILD_WRKSRC= ${WRKSRC}/src
USE_PERL5_BUILD=yes
@@ -57,7 +55,9 @@ PLIST_FILES= bin/${PORTNAME} \
%%DATADIR%%/syntax/vhdl.jsf %%DATADIR%%/syntax/xml.jsf
PLIST_DIRS= %%DATADIR%%/syntax %%DATADIR%%
-.if !defined(WITH_DEBUG)
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MDEBUG}
CFLAGS+= -DNODEBUG
.endif
@@ -83,7 +83,7 @@ do-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/doc/default.* ${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} syntax ${DATADIR})
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
diff --git a/editors/ne/distinfo b/editors/ne/distinfo
index bc48654a4f69..a152a6448d00 100644
--- a/editors/ne/distinfo
+++ b/editors/ne/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ne-2.4.tar.gz) = a4951b212e7aab71f24ac80f2baec50aa490fc119b09abd6a2cc351e3209d0d4
-SIZE (ne-2.4.tar.gz) = 1067005
+SHA256 (ne-2.5.tar.gz) = e11581d84ff855c3fab5c2bddc3a4633a3b28bb2ce89508e4568d3c3fc929f58
+SIZE (ne-2.5.tar.gz) = 1106020
diff --git a/editors/ne/pkg-descr b/editors/ne/pkg-descr
index 1996f082ca96..f07444577f20 100644
--- a/editors/ne/pkg-descr
+++ b/editors/ne/pkg-descr
@@ -3,4 +3,4 @@ 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/
+WWW: http://ne.dsi.unimi.it/