Bug 220108 - [NEW PORT] sysutils/mmve: Mass MV Editor: move files with your text editor
Summary: [NEW PORT] sysutils/mmve: Mass MV Editor: move files with your text editor
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on: 220107
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-18 13:08 UTC by Thibault Jouan
Modified: 2019-02-04 12:30 UTC (History)
2 users (show)

See Also:


Attachments
sysutils/mmve shar file (1.88 KB, text/plain)
2017-06-18 13:08 UTC, Thibault Jouan
no flags Details
sysutils/mmve shar file (1.89 KB, text/plain)
2018-09-15 13:43 UTC, Thibault Jouan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thibault Jouan 2017-06-18 13:08:39 UTC
Created attachment 183601 [details]
sysutils/mmve shar file

It is a simple tool to rename many directories or files with a text
editor. Entries are given as arguments, then current editor is started
with one entry per line, and any changed entry will be renamed when
editor exits.

I would like this port to be added in "sysutils" category if possible,
and then I would maintain it. Thank you!
Comment 1 Nathan 2018-08-21 22:57:04 UTC
@Submitter: Are you still interested?
Comment 2 Thibault Jouan 2018-09-02 12:52:21 UTC
(In reply to Nathan from comment #1)

  Yes, I am still interested. If there is any issue with my submission       
please let me know, I'll happily fix it.
                                                                              
  Thanks!
Comment 3 Nathan 2018-09-02 16:28:25 UTC
Doesn't seem to be a need for the ruby_no_build_depends? One suggestion would be align up:
 PORTNAME=               mmve
 PORTVERSION=            0.2.0
 DISTVERSIONPREFIX=      v
 CATEGORIES=             sysutils


Since you aren't copying a lot of files use:
${INSTALL_SCRIPT} ${WRKSRC}/bin/mmve ${STAGEDIR}${PREFIX}/bin


Add:
 USES=           shebangfix
 SHEBANG_FILES=  bin/mmve
Comment 4 Thibault Jouan 2018-09-15 13:43:44 UTC
Created attachment 197109 [details]
sysutils/mmve shar file

Thank you for the feedback. I corrected the shar file with your suggestions.

I removed RUBY_NO_BUILD_DEPENDS, it's not needed for a correct package.
From my understanding, specifying this would install ruby at a more "correct"
phase (only for runtime), as it is not needed for extract/build. But with
poudriere, both testport and bulk commands would install it anyway (in
extract-depends or in run-depends), and the built package is the same.
Comment 5 commit-hook freebsd_committer freebsd_triage 2019-02-04 12:28:18 UTC
A commit references this bug:

Author: swills
Date: Mon Feb  4 12:27:42 UTC 2019
New revision: 492122
URL: https://svnweb.freebsd.org/changeset/ports/492122

Log:
  sysutils/mmve: create port

  Mass MV Editor: move files with your editor

  WWW: https://rubygems.org/gems/mmve

  PR:		220108
  Submitted by:	Thibault Jouan <tj+freebsd_ports@a13.fr>

Changes:
  head/sysutils/Makefile
  head/sysutils/mmve/
  head/sysutils/mmve/Makefile
  head/sysutils/mmve/distinfo
  head/sysutils/mmve/pkg-descr
  head/sysutils/mmve/pkg-plist
Comment 6 Steve Wills freebsd_committer freebsd_triage 2019-02-04 12:30:40 UTC
Committed, thanks for the port. Sorry it took so long.