svn commit: r505000 - head/editors/nano
Kubilay Kocak
koobs at FreeBSD.org
Mon Jun 24 03:24:46 UTC 2019
Author: koobs
Date: Mon Jun 24 03:24:44 2019
New Revision: 505000
URL: https://svnweb.freebsd.org/changeset/ports/505000
Log:
editors/nano: Make several port improvements
* Switch to https:// MASTER_SITES
* Use provided .xz for distribution file, saving: 50.5% / 1415kB
* Add LICENSE_FILE
* Remove CPPFLAGS/LDFLAGS variables, added 19 years ago when the port
was first created. [1] They are incorrectly (globally) scoped, no
longer necessary and incorrect for the ncurses:base case. Instead use
Uses/ncurses.mk variables and provide these to configure to ensure
includes/lib searches and linking are never mixed between base and
ports.
[1] ports r29979
Approved by: danilo (maintainer)
MFH: 2019Q2 (blanket: bugfix)
Differential_Revision: D20660
Modified:
head/editors/nano/Makefile
head/editors/nano/distinfo
Modified: head/editors/nano/Makefile
==============================================================================
--- head/editors/nano/Makefile Mon Jun 24 03:17:03 2019 (r504999)
+++ head/editors/nano/Makefile Mon Jun 24 03:24:44 2019 (r505000)
@@ -4,23 +4,25 @@
PORTNAME= nano
PORTVERSION= 4.2
CATEGORIES= editors
-MASTER_SITES= http://www.nano-editor.org/dist/v${PORTVERSION:R}/ GNU
+MASTER_SITES= https://www.nano-editor.org/dist/v${PORTVERSION:R}/ GNU
MAINTAINER= danilo at FreeBSD.org
COMMENT= Nano's ANOther editor, an enhanced free Pico clone
LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
-USES= charsetfix ncurses
+USES= charsetfix ncurses tar:xz
CONFLICTS= nano-devel-2*
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --docdir=${DOCSDIR} --enable-utf8
+CONFIGURE_ENV+= NCURSESW_CFLAGS="-I${NCURSESINC}" \
+ NCURSESW_LIBS="-L${NCURSESLIB} -lncursesw"
+
MAKE_ARGS+= install_htmlmanDATA=install-htmlmanDATA
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS EXAMPLES NLS
OPTIONS_SUB= yes
Modified: head/editors/nano/distinfo
==============================================================================
--- head/editors/nano/distinfo Mon Jun 24 03:17:03 2019 (r504999)
+++ head/editors/nano/distinfo Mon Jun 24 03:24:44 2019 (r505000)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1556227857
-SHA256 (nano-4.2.tar.gz) = c06e456890a93e7a61317a938c70caacaa2bfd6161a52b2731df83875ebbcf80
-SIZE (nano-4.2.tar.gz) = 2928595
+TIMESTAMP = 1560579916
+SHA256 (nano-4.2.tar.xz) = 1143defce62e391b241252ffdb6e5c1ded56cfe26d46ee81b796abe0ccc45df9
+SIZE (nano-4.2.tar.xz) = 1478972
More information about the svn-ports-all
mailing list