Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2018 08:00:35 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482889 - head/editors/ne
Message-ID:  <201810240800.w9O80Zne001062@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Wed Oct 24 08:00:34 2018
New Revision: 482889
URL: https://svnweb.freebsd.org/changeset/ports/482889

Log:
  - Update to 3.1.2
  
  PR:		232338
  Submitted by:	ndowens@yahoo.com

Modified:
  head/editors/ne/Makefile
  head/editors/ne/distinfo

Modified: head/editors/ne/Makefile
==============================================================================
--- head/editors/ne/Makefile	Wed Oct 24 07:17:16 2018	(r482888)
+++ head/editors/ne/Makefile	Wed Oct 24 08:00:34 2018	(r482889)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	ne
-PORTVERSION=	3.1.1
+PORTVERSION=	3.1.2
 CATEGORIES=	editors
 MASTER_SITES=	http://ne.di.unimi.it/
 
@@ -12,11 +12,10 @@ COMMENT=	Nice and powerful editor
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_WRKSRC=	${WRKSRC}/src
-
 USES=		gmake makeinfo perl5
 USE_PERL5=	build
 USE_CSTD=	c99
+
 MAKEFILE=	makefile
 MAKE_ARGS=	CC="${CC}" \
 		OPTS="${CFLAGS}" \
@@ -24,12 +23,12 @@ MAKE_ARGS=	CC="${CC}" \
 		NE_GLOBAL_DIR="${DATADIR}"
 ALL_TARGET=	ne
 
-LDFLAGS+=	-lgnuregex
+LDFLAGS=	-lgnuregex
 
+BUILD_WRKSRC=	${WRKSRC}/src
 INFO=		ne
-PORTDOCS=	*
-PORTDATA=	*
-PLIST_FILES=	bin/ne man/man1/ne.1.gz
+DOCS=		CHANGES NEWS README.md doc/default.* \
+		doc/ne.pdf doc/ne.txt doc/html/*
 
 OPTIONS_DEFINE=		DEBUG DOCS
 
@@ -40,33 +39,15 @@ post-patch:
 		's|"regex\.h"|<gnu/regex.h>|g'
 	@${REINPLACE_CMD} -e \
 		's|-O3|| ; \
-		 /[[:space:]]regex.o/d ; \
+		/[[:space:]]regex.o/d ; \
 		 s|regex.h$$||g' ${BUILD_WRKSRC}/makefile
+	@${REINPLACE_CMD} -e '/cp -pR/d' ${WRKSRC}/makefile
 
-post-build:
-	cd ${WRKSRC}/doc && makeinfo ne.texinfo
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ne
 
-do-install:
-	(cd ${BUILD_WRKSRC} && ${INSTALL_PROGRAM} ne \
-		${STAGEDIR}${PREFIX}/bin)
-	(cd ${WRKSRC}/doc && ${INSTALL_MAN} ne.1 \
-		${STAGEDIR}${MANPREFIX}/man/man1)
-	(cd ${WRKSRC}/doc && ${INSTALL_DATA} ne.info \
-		${STAGEDIR}${PREFIX}/${INFO_PATH})
-	@${MKDIR} ${STAGEDIR}${DATADIR}/macros
-	(cd ${WRKSRC}/macros && ${INSTALL_DATA} * \
-		${STAGEDIR}${DATADIR}/macros)
-	@${MKDIR} ${STAGEDIR}${DATADIR}/syntax
-	(cd ${WRKSRC}/syntax && ${INSTALL_DATA} *.jsf \
-		${STAGEDIR}${DATADIR}/syntax)
-
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} CHANGES NEWS README.md \
-		${STAGEDIR}${DOCSDIR})
-	(cd ${WRKSRC}/doc && ${INSTALL_DATA} default.* ne.pdf ne.txt \
-		${STAGEDIR}${DOCSDIR})
-	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html \
-		${STAGEDIR}${DOCSDIR})
+	${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/editors/ne/distinfo
==============================================================================
--- head/editors/ne/distinfo	Wed Oct 24 07:17:16 2018	(r482888)
+++ head/editors/ne/distinfo	Wed Oct 24 08:00:34 2018	(r482889)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1496638217
-SHA256 (ne-3.1.1.tar.gz) = ec4f5d919c38b1a5938b609a722d0d88a68c404b4564e3bb654b96b30582add9
-SIZE (ne-3.1.1.tar.gz) = 1219488
+TIMESTAMP = 1539738800
+SHA256 (ne-3.1.2.tar.gz) = a2011fb420d8f26ff4cbf362206dce1bc1775f5c0619eb43440958df311b131b
+SIZE (ne-3.1.2.tar.gz) = 1162536



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810240800.w9O80Zne001062>