Bug 228602

Summary: [NEW PORT] devel/replxx: A small, portable GNU readline replacement capable of handling UTF-8 characters
Product: Ports & Packages Reporter: Goran Mekić <meka>
Component: Individual Port(s)Assignee: Tobias Kortkamp <tobik>
Status: Closed FIXED    
Severity: Affects Only Me CC: tobik
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
replxx.shar
none
replxx.shar meka: maintainer-approval+

Description Goran Mekić 2018-05-30 07:20:59 UTC
Created attachment 193834 [details]
replxx.shar

Features:
 * single-line and multi-line editing mode with the usual key bindings implemented
 * history handling
 * completion
 * syntax highlighting
 * hints
 * BSD license source code
 * Only uses a subset of VT100 escapes (ANSI.SYS compatible)
 * UTF8 aware
 * support for Linux, MacOS and Windows
Comment 1 Tobias Kortkamp freebsd_committer freebsd_triage 2018-05-30 09:49:39 UTC
Please

- confirm that it passes Poudriere testport and portlint -AC

- set DISTVERSIONPREFIX and remove GH_TAGNAME

- fix the ordering of the USES section

- fix the comment.  It shouldn't have a leading article and should only
  be < 70 chars long

- add LICENSE_FILE

- fold the 3 item pkg-plist into PLIST_FILES in the Makefile

- USES=cmake:outsource
Comment 2 Goran Mekić 2018-05-30 19:02:04 UTC
Created attachment 193848 [details]
replxx.shar

Thanx for the guidance on port writing, I appreciate it. Poudriere log (only replxx) is here: https://paste.pound-python.org/show/eh1dYu2kjGsggjFZXVki/
Comment 3 Tobias Kortkamp freebsd_committer freebsd_triage 2018-05-31 08:42:50 UTC
(In reply to Goran Mekić from comment #2)
Committed with some changes. Thanks!

As a general rule please use `poudriere testport` or `poudriere
bulk -t` to test ports.  It'll activate additional QA checks like
checking shared library dependencies or checks for missing items
in the plist.
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-05-31 08:43:04 UTC
A commit references this bug:

Author: tobik
Date: Thu May 31 08:42:30 UTC 2018
New revision: 471198
URL: https://svnweb.freebsd.org/changeset/ports/471198

Log:
  New port: devel/replxx

  A small, portable GNU readline replacement which is capable of
  handling UTF-8 characters.  Unlike GNU readline, which is GPL, this
  library uses a BSD license and can be used in any kind of program.

  This replxx implementation is based on the work by ArangoDB Team
  and Salvatore Sanfilippo and 10gen Inc.  The goal is to create a
  zero-config, BSD licensed, readline replacement usable in Apache2
  or BSD licensed programs.

  WWW: https://github.com/AmokHuginnsson/replxx

  PR:		228602
  Submitted by:	Goran Meki? <meka@tilda.center>

Changes:
  head/devel/Makefile
  head/devel/replxx/
  head/devel/replxx/Makefile
  head/devel/replxx/distinfo
  head/devel/replxx/pkg-descr