Opened 10 years ago

Closed 10 years ago

#44869 closed submission (fixed)

New port: rr 1.3

Reported by: Schamschula (Marius Schamschula) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: rr

Description

I've created a port for rr (retain and recall):

rr is a basic command-line utility designed to retain/recall file and directory paths. This is done by treating the filename itself as a 
unique key to be referenced for future rr program calls. The purpose of this is to assist the user in shorthand typing and/or not 
having to remember arbitrary full paths.

All retained values are stored in ~/.rr, and are unique to each user. If you are attempting to retain a path that has a filename or 
directory that has already been retained before, rr will retain the new path over the old path.

When rr attempts to recall retained files or directories it will attempt to match the file or directory value explicitly. If this does not 
result in a match, rr will fall back and attempt to partially match the file or directory value up to the amount of characters provided.

Attachments (2)

patch-Makefile.in.diff (380 bytes) - added by Schamschula (Marius Schamschula) 10 years ago.
Portfile (1.3 KB) - added by Schamschula (Marius Schamschula) 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: patch-Makefile.in.diff added

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks!

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile added

comment:2 Changed 10 years ago by Schamschula (Marius Schamschula)

Fixed license: GPL-2+ rather that GPL-2.

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Committed in r125087 with these changes:

  • Added required homepage variable
  • Used smaller bz2 distfile
  • Rewrote master_sites to avoid redirects; see wiki:howto/AvoidRedirects
  • Set CC to the compiler and -arch flags in build.args
  • Removed "-o 0 -g 0" from install commands (user might have installed MacPorts as a non-root user)
  • Fixed dependencies in Makefile so that the build is not repeated (without CC) in destroot
  • Fixed uninitialized variable warning
  • Fixed unused variable warning
Note: See TracTickets for help on using tickets.