[88459] trunk/dports/sysutils

ryandesign at macports.org ryandesign at macports.org
Mon Jan 2 19:24:20 PST 2012


Revision: 88459
          http://trac.macports.org/changeset/88459
Author:   ryandesign at macports.org
Date:     2012-01-02 19:24:20 -0800 (Mon, 02 Jan 2012)
Log Message:
-----------
symlinks: new port, version 1.4; see #32741

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

Added: trunk/dports/sysutils/symlinks/Portfile
===================================================================
--- trunk/dports/sysutils/symlinks/Portfile	                        (rev 0)
+++ trunk/dports/sysutils/symlinks/Portfile	2012-01-03 03:24:20 UTC (rev 88459)
@@ -0,0 +1,37 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                symlinks
+version             1.4
+categories          sysutils
+platforms           darwin
+maintainers         alum.wpi.edu:arno+macports openmaintainer
+license             Permissive
+
+description         scan/change symbolic links
+
+long_description    Scans directories for symbolic links, and identifies \
+                    dangling, relative, absolute, messy, and other_fs \
+                    links. Can optionally change absolute links to \
+                    relative within a given filesystem. Recommended for \
+                    use by anyone developing and/or maintaining a Linux \
+                    FTP site or distribution or CD-ROM.
+
+homepage            http://www.freshports.org/sysutils/symlinks/
+master_sites        http://www.ibiblio.org/pub/Linux/utils/file/ freebsd
+
+checksums           rmd160  7ccfe8f489b7e2b6d9dff7c5740f3b67be421903 \
+                    sha256  b0bb689dd0a2c46d9a7dd111b053707aba7b9cf29c4f0bad32984b14bdbe0399
+
+patchfiles          patch-symlinks.c.diff \
+                    patch-Makefile.diff
+
+use_configure       no
+
+variant universal {}
+
+build.args          CC="${configure.cc} [get_canonical_archflags]"
+
+destroot.args       PREFIX=${prefix}


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

Added: trunk/dports/sysutils/symlinks/files/patch-Makefile.diff
===================================================================
--- trunk/dports/sysutils/symlinks/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/sysutils/symlinks/files/patch-Makefile.diff	2012-01-03 03:24:20 UTC (rev 88459)
@@ -0,0 +1,22 @@
+--- Makefile.orig	2009-10-09 08:58:25.000000000 -0500
++++ Makefile	2012-01-02 21:19:58.000000000 -0600
+@@ -1,5 +1,8 @@
+ # Makefile for symlinks
+ 
++PREFIX = /usr/local
++DESTDIR = 
++
+ CC = gcc
+  
+ all: symlinks
+@@ -8,8 +11,8 @@
+ 	$(CC) -Wall -Wstrict-prototypes -O2 ${CFLAGS} -o symlinks symlinks.c
+  
+ install: all symlinks.8
+-	install -m 755 -o root -g root symlinks /usr/local/bin
+-	install -m 644 -o root -g root symlinks.8 /usr/local/man/man8
++	install -m 755 symlinks $(DESTDIR)$(PREFIX)/bin
++	install -m 644 symlinks.8 $(DESTDIR)$(PREFIX)/share/man/man8
+ 
+ clean:
+ 	rm -f symlinks *.o core

Added: trunk/dports/sysutils/symlinks/files/patch-symlinks.c.diff
===================================================================
--- trunk/dports/sysutils/symlinks/files/patch-symlinks.c.diff	                        (rev 0)
+++ trunk/dports/sysutils/symlinks/files/patch-symlinks.c.diff	2012-01-03 03:24:20 UTC (rev 88459)
@@ -0,0 +1,10 @@
+--- symlinks.c.orig	2012-01-01 16:19:49.000000000 -0500
++++ symlinks.c	2012-01-01 16:19:56.000000000 -0500
+@@ -4,7 +4,6 @@
+ #endif
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <fcntl.h>
+ #include <sys/param.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120102/5c3ace36/attachment-0001.html>


More information about the macports-changes mailing list