2008-11-17 00:59:19 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2009-08-12 20:57:33 +02:00
|
|
|
PORTNAME= nano
|
2016-02-27 01:14:52 +01:00
|
|
|
PORTVERSION= 2.5.3
|
2008-11-17 00:59:19 +01:00
|
|
|
CATEGORIES= editors
|
Update to 2.3.3
2014.05.28 - This release contains
many many improvements to the core system, including
substantial improvements to the undo/redo code, UTF-8
handling, the configure script, and display of shortcuts
on very wide terminals, New features include the
ability to read named pipes (--noread), as well as
linter support (see the nanorc man page for details). Also
included are much improved syntax highlighting code, and
configurations for JSON, texinfo, Go, and a default syntax
for catch all highlighting. Finally, nano now has the
ability to set the color of the title bar, status bar, and
shortcut keys (e.g. "^X") and their descriptions. Again
see the nanorc page for details.
2014-05-29 08:09:01 +02:00
|
|
|
MASTER_SITES= http://www.nano-editor.org/dist/v${PORTVERSION:R}/ \
|
2015-05-14 12:15:04 +02:00
|
|
|
GNU
|
Update to 2.3.3
2014.05.28 - This release contains
many many improvements to the core system, including
substantial improvements to the undo/redo code, UTF-8
handling, the configure script, and display of shortcuts
on very wide terminals, New features include the
ability to read named pipes (--noread), as well as
linter support (see the nanorc man page for details). Also
included are much improved syntax highlighting code, and
configurations for JSON, texinfo, Go, and a default syntax
for catch all highlighting. Finally, nano now has the
ability to set the color of the title bar, status bar, and
shortcut keys (e.g. "^X") and their descriptions. Again
see the nanorc page for details.
2014-05-29 08:09:01 +02:00
|
|
|
|
2009-08-12 20:57:33 +02:00
|
|
|
PKGNAMESUFFIX= -devel
|
2008-11-17 00:59:19 +01:00
|
|
|
|
2014-11-24 02:56:41 +01:00
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
2008-11-17 00:59:19 +01:00
|
|
|
COMMENT= Nano's ANOther editor, an enhanced free Pico clone
|
|
|
|
|
2013-03-28 03:50:14 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2013-07-17 00:07:56 +02:00
|
|
|
CONFLICTS= nano-2*
|
|
|
|
|
2016-01-31 15:22:16 +01:00
|
|
|
USES= ncurses
|
2008-11-17 00:59:19 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2014-11-24 02:56:41 +01:00
|
|
|
CONFIGURE_ARGS+= --docdir=${DOCSDIR} --enable-utf8
|
|
|
|
MAKE_ARGS+= install_htmlmanDATA=install-htmlmanDATA
|
2013-03-28 03:50:14 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
2015-12-13 19:08:45 +01:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES NLS
|
2014-11-24 02:56:41 +01:00
|
|
|
OPTIONS_SUB= yes
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2017-05-25 16:25:12 +02:00
|
|
|
DOCS_USES= groff
|
|
|
|
|
2014-11-24 02:56:41 +01:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2013-03-28 03:50:14 +01:00
|
|
|
|
2008-11-17 00:59:19 +01:00
|
|
|
INFO= nano
|
|
|
|
|
2013-03-28 03:50:14 +01:00
|
|
|
PORTSCOUT= limitw:1,odd
|
2013-03-08 21:23:38 +01:00
|
|
|
|
2008-11-17 00:59:19 +01:00
|
|
|
post-build:
|
|
|
|
cd ${WRKSRC}/doc/man; ${REINPLACE_CMD} \
|
|
|
|
-e 's:SYSCONFDIR:${PREFIX}/etc:g' \
|
|
|
|
-e 's:EXAMPLESDIR:${EXAMPLESDIR}:g' \
|
2013-09-29 01:56:01 +02:00
|
|
|
nano.1 rnano.1 nanorc.5 ${WRKSRC}/doc/texinfo/${INFO:=.info}
|
2008-11-17 00:59:19 +01:00
|
|
|
${REINPLACE_CMD} -e 's/\\</[[:<:]]/g' -e 's/\\>/[[:>:]]/g' \
|
|
|
|
${WRKSRC}/doc/syntax/*.nanorc
|
|
|
|
|
|
|
|
post-install:
|
2013-09-29 01:56:01 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/nanorc.sample ${STAGEDIR}${EXAMPLESDIR}
|
2008-11-17 00:59:19 +01:00
|
|
|
|
2014-11-24 02:56:41 +01:00
|
|
|
.include <bsd.port.mk>
|