nano is a small, free and friendly editor which aims to replace
Pico, the default editor included in the non-free Pine package.
Rather than just copying Pico's look and feel, nano also implements
some missing (or disabled by default) features in Pico, such as
"search and replace" and "goto line number".
===> The following configuration options are available for nano-9.2:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
NLS=on: Native Language Support
===> Use 'make config' to modify these settings
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above )
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run
Update to 2.0.5. Changes in this release:
This release fixes problems (including a segfault) when trying to
open or save a file in a directory beginning with "~" that isn't a home
directory. A problem where an unnamed file could be saved over an existing
filename with no warning was fixed. Opening directories or device files is
properly disallowed from "include" commands in nanorc files. A misleading
prompt is no longer displayed when trying to save in restricted mode with
the mark on. More keys are properly supported. This release also improves
several color syntaxes to highlight trailing whitespace, and adds yet more
minor documentation updates.
* Update to 2.0.4. Changes in this release:
- Support additional keys on some terminals.
- Minor documentation updates.
* Enable UTF-8 support if ncursesw is available in the base system.
Update to 2.0.1. Improvements and new features:
* Improved color syntax highlighting
* Copy text without cutting
* Verbatim input mode
* Repeat last seach without confirmation (Meta-W)
* Spell check/replace selected text only
* Indent marked text
* Move to beginning/end of paragraph
* Search within the file browser
* Mixed file format auto-conversion
Update to 1.2.5. From the change log:
This release includes fixes for segfault during filename completion,
justify on systems without regex.h, hangs when the input stream
goes away, and scrolling beyond COLS. Included are some new
keyboard sequences.
Update to 1.2.3.
This release includes many fixes, including converting file formats,
the suspend handler, and the ever popular replace function. New
features include more Pico compatibility in the file browser.
Update to 1.2.0. Major additions in this release:
- nanorc support
- color syntax highlighting
- multiple file buffers
- search/replace history
- new translations
gettext upgrade uber-patch (stage 3)
- switch devel/gettext (0.11.1) on, installing full package
- flip devel/gettext-old (0.10.35) to installing only static binaries
with a "-old" suffix -- gettext-old will have its deorbit burn
sequence initiated just after 4.6-RELEASE
- fix up ports for the new world order
Reviewed by: portmgr
Update to 1.0.9. Notable changes in this release:
* Bug fixes.
* Updated translations. "Norwegian" has been replaced by separate
Nynorsk and Bokmaal translations.
Update to 1.0.8. Changes in this version include: * various minor bug fixes
* updated translations and a new Polish one * Meta-A as an alternate key for
the marker key (^^)
* Take maintainership. The original maintainer has disappeared. * Update to
1.0.7: lots of bugfixes, some new and updated translations. * Remove
questionable LITE flavor.