Changeset 97723


Ignore:
Timestamp:
Sep 13, 2012, 8:10:05 AM (12 years ago)
Author:
raimue@…
Message:

devel/gpatch:
Update to version 2.7, add unprefixed symlink to ${prefix}/libexec/gnubin,
update description to be less technical.

Location:
trunk/dports/devel/gpatch
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/gpatch/Portfile

    r97722 r97723  
    44
    55name            gpatch
    6 version         2.6.1
    7 revision        1
     6version         2.7
    87categories      devel
    98platforms       darwin sunos
     
    1312description     GNU patch, for applying diffs to files
    1413long_description \
    15         The GNU patch adds support for: \
    16         handling arbitrary binary data and large files. \
    17         the unified context diff format that GNU diff can produce. \
    18         making GNU Emacs-style backup files. \
    19         improved interaction with RCS and SCCS. \
    20         the GNU conventions for option parsing and configuring and compilation. \
    21         better POSIX.2 compliance.
     14    Patch takes a patch file containing a difference listing produced by the \
     15    diff program and applies those differences to one or more original files, \
     16    producing patched versions.
    2217
    2318homepage        http://www.gnu.org/software/patch/
     
    2520
    2621distname        patch-${version}
    27 checksums       md5     0818d1763ae0c4281bcdc63cdac0b2c0 \
    28                 sha1    105f313d14b5458e0aa229c518bda9ebdf921a1b \
    29                 rmd160  5af3acb89cc9ce5484c9a9dce6e39fb04dbe5e2e
     22checksums       rmd160  9d8f3b81cb79cc9a141851f3228b02364f1e635c \
     23                sha256  9077cd75a915330513796e222049c2b6da69299729795e08c02e507bff60d6ee
    3024use_bzip2       yes
    31 
    32 patchfiles      patch-strnlen.diff
    33 
    34 use_autoconf    yes
    3525
    3626configure.args  --program-prefix=g
    3727
    38 configure.universal_args-delete --disable-dependency-tracking
     28post-destroot {
     29    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
     30    foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
     31        ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
     32    }
     33    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
     34    foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] {
     35        ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz
     36    }
     37}
     38
     39notes "
     40    The patch tool provided by this port is prefixed with the character 'g' by default making it available as 'gpatch'.
     41
     42    If you want to use 'patch' and other GNU coreutils by default, add this directory to the front of your PATH environment variable:
     43        ${prefix}/libexec/gnubin/
     44"
Note: See TracChangeset for help on using the changeset viewer.