summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-01-31 23:44:34 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-01-31 23:44:34 +0000
commit21dbb2df2c848699ee9739aa8a4d34a5a319cc70 (patch)
tree627f913776bd711c05fad1fb824c45feea2d92c3 /editors
parent- Fix build on CURRENT by using gcc for now (diff)
- update to 2.5
- while here adjust pkg-descr formatting, and adopt optionsNG Reported by: portscout@
Notes
Notes: svn path=/head/; revision=311341
Diffstat (limited to 'editors')
-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/