Changeset 97723
- Timestamp:
- Sep 13, 2012, 8:10:05 AM (12 years ago)
- Location:
- trunk/dports/devel/gpatch
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/gpatch/Portfile
r97722 r97723 4 4 5 5 name gpatch 6 version 2.6.1 7 revision 1 6 version 2.7 8 7 categories devel 9 8 platforms darwin sunos … … 13 12 description GNU patch, for applying diffs to files 14 13 long_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. 22 17 23 18 homepage http://www.gnu.org/software/patch/ … … 25 20 26 21 distname patch-${version} 27 checksums md5 0818d1763ae0c4281bcdc63cdac0b2c0 \ 28 sha1 105f313d14b5458e0aa229c518bda9ebdf921a1b \ 29 rmd160 5af3acb89cc9ce5484c9a9dce6e39fb04dbe5e2e 22 checksums rmd160 9d8f3b81cb79cc9a141851f3228b02364f1e635c \ 23 sha256 9077cd75a915330513796e222049c2b6da69299729795e08c02e507bff60d6ee 30 24 use_bzip2 yes 31 32 patchfiles patch-strnlen.diff33 34 use_autoconf yes35 25 36 26 configure.args --program-prefix=g 37 27 38 configure.universal_args-delete --disable-dependency-tracking 28 post-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 39 notes " 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.