diff -ur /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gmake/Portfile ./Portfile
old
|
new
|
|
1 | | # -*- 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 |
2 | | # $Id: Portfile 117858 2014-03-15 06:10:24Z ryandesign@macports.org $ |
| 1 | # $Id: Portfile 102918 2013-02-11 01:14:19Z jeremyhu@macports.org $ |
3 | 2 | |
4 | | PortSystem 1.0 |
5 | | name gmake |
6 | | version 4.0 |
| 3 | PortSystem 1.0 |
| 4 | |
| 5 | name gpatch |
| 6 | version 2.7.1 |
7 | 7 | categories devel |
8 | | maintainers nomaintainer |
9 | | description GNU Make |
| 8 | platforms darwin sunos |
| 9 | license GPL-3+ |
| 10 | maintainers gmail.com:stuartwesterman openmaintainer |
| 11 | |
| 12 | description GNU patch, for applying diffs to files |
10 | 13 | long_description \ |
11 | | Make is a tool which controls the generation of executables and \ |
12 | | other non-source files of a program from the program's source files.\ |
13 | | Make gets its knowledge of how to build your program from a file \ |
14 | | called the makefile, which lists each of the non-source files and \ |
15 | | how to compute it from other files. When you write a program, you \ |
16 | | should write a makefile for it, so that it is possible to use Make \ |
17 | | to build and install the program. |
18 | | |
19 | | homepage http://www.gnu.org/software/make/make.html |
20 | | license GPL-3 |
21 | | installs_libs no |
22 | | platforms darwin |
23 | | distname make-${version} |
24 | | master_sites gnu:make |
| 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. |
| 17 | |
| 18 | homepage http://www.gnu.org/software/patch/ |
| 19 | master_sites gnu:patch |
| 20 | |
| 21 | distname patch-${version} |
| 22 | checksums rmd160 48c39a34ab3bf6c86da8d107f5687a9f56a6b638 \ |
| 23 | sha256 aae676de9e95051f425af4507fcc9a019941a2a1f78405e7dbd40bccf786aa11 |
25 | 24 | use_bzip2 yes |
26 | 25 | |
27 | | checksums rmd160 9a6198954e3c122adbe72f7358d897def498e565 \ |
28 | | sha256 e60686c7afede62cc8c86ad3012cf081ea4887daf9d223ce7115703b2bb2dbdb |
29 | | |
30 | | depends_lib port:gettext port:libiconv |
31 | | |
32 | | configure.args --program-prefix=g \ |
33 | | --without-guile |
| 26 | configure.args --program-prefix=g |
34 | 27 | |
35 | | test.run yes |
36 | | test.target check |
| 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 | " |