[125087] trunk/dports/sysutils

ryandesign at macports.org ryandesign at macports.org
Thu Sep 4 19:20:42 PDT 2014


Revision: 125087
          https://trac.macports.org/changeset/125087
Author:   ryandesign at macports.org
Date:     2014-09-04 19:20:42 -0700 (Thu, 04 Sep 2014)
Log Message:
-----------
rr: new port, version 1.3 (#44869)

Added Paths:
-----------
    trunk/dports/sysutils/rr/
    trunk/dports/sysutils/rr/Portfile
    trunk/dports/sysutils/rr/files/
    trunk/dports/sysutils/rr/files/patch-Makefile.in.diff
    trunk/dports/sysutils/rr/files/patch-rr.c.diff

Added: trunk/dports/sysutils/rr/Portfile
===================================================================
--- trunk/dports/sysutils/rr/Portfile	                        (rev 0)
+++ trunk/dports/sysutils/rr/Portfile	2014-09-05 02:20:42 UTC (rev 125087)
@@ -0,0 +1,37 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                rr
+version             1.3
+categories          sysutils
+maintainers         gmail.com:mschamschula openmaintainer
+platforms           darwin
+license             GPL-2+
+
+description         rr is a basic command-line utility designed to \
+                    retain/recall file and directory paths.
+
+long_description    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.
+
+homepage            http://retain.sourceforge.net/
+master_sites        sourceforge:project/retain/retain/${version}/
+use_bzip2           yes
+
+checksums           rmd160  8ca1671391c705576a3edb697d0bdbd24563c859 \
+                    sha256  b91bd7e8b08efb047c937e09439fe7b036780185c0f98cfd8cdfa1e8824502e4
+
+patchfiles          patch-Makefile.in.diff \
+                    patch-rr.c.diff
+
+configure.args      --mandir=${prefix}/share/man
+
+variant universal {}
+
+build.args          CC="${configure.cc} [get_canonical_archflags cc]"


Property changes on: trunk/dports/sysutils/rr/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/sysutils/rr/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/sysutils/rr/files/patch-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/sysutils/rr/files/patch-Makefile.in.diff	2014-09-05 02:20:42 UTC (rev 125087)
@@ -0,0 +1,23 @@
+--- Makefile.in.orig	2007-10-07 19:13:19.000000000 -0500
++++ Makefile.in	2014-09-04 21:17:53.000000000 -0500
+@@ -7,14 +7,16 @@
+ CC = gcc
+ CFLAGS = -Wall
+ 
+-all:
++all: $(RR_OUTPUT)
++$(RR_OUTPUT): $(RR_SOURCE)
+ 	$(CC) $(CFLAGS) -o $(RR_OUTPUT) $(RR_SOURCE)
+ clean:
+-	rm -f Makefile config.cache config.status config.h config.log rr
++	rm -f Makefile config.cache config.status config.h config.log $(RR_OUTPUT)
+ 
+ distclean: clean
+ 
+ install: all
+-	$(INSTALL) -o 0 -g 0 -m 755 rr ${PREFIX}/bin/
+-	$(INSTALL) -o 0 -g 0 -m 644 rr.1 $(MANDIR)/man1/
++	$(INSTALL) -m 755 $(RR_OUTPUT) $(DESTDIR)$(PREFIX)/bin/
++	$(INSTALL) -m 644 rr.1 $(DESTDIR)$(MANDIR)/man1/
+ 
++.PHONY: all clean distclean install

Added: trunk/dports/sysutils/rr/files/patch-rr.c.diff
===================================================================
--- trunk/dports/sysutils/rr/files/patch-rr.c.diff	                        (rev 0)
+++ trunk/dports/sysutils/rr/files/patch-rr.c.diff	2014-09-05 02:20:42 UTC (rev 125087)
@@ -0,0 +1,19 @@
+--- rr.c.orig	2007-10-07 19:13:19.000000000 -0500
++++ rr.c	2014-09-04 21:16:14.000000000 -0500
+@@ -18,7 +18,6 @@
+ 
+ #include "rr.h"
+ 
+-static const char id[] = "$Id: rr.c,v " RR_VERSION " " RR_CMPTIME " fakehalo Exp $";
+ 
+ 
+ /* start process. */
+@@ -344,7 +343,7 @@
+ 
+ #ifdef HAVE_GLOB
+ 	signed int gr;
+-	unsigned int j, eargc;
++	unsigned int j, eargc = 0;
+ 	glob_t g;
+ #endif
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140904/0a56a40b/attachment.html>


More information about the macports-changes mailing list