diff -Naur '--exclude=.svn' macports/rabbitmq-server/Portfile rabbitmq/rabbitmq-server/Portfile
old
|
new
|
|
3 | 3 | |
4 | 4 | PortSystem 1.0 |
5 | 5 | name rabbitmq-server |
6 | | version 2.3.1 |
| 6 | version 2.4.0 |
7 | 7 | categories net |
8 | 8 | maintainers paperplanes.de:meyer rabbitmq.com:tonyg openmaintainer |
9 | 9 | platforms darwin |
… |
… |
|
24 | 24 | |
25 | 25 | checksums \ |
26 | 26 | ${name}-${version}${extract.suffix} \ |
27 | | sha1 d38e7e12836b94e45402774d5790873413599ab4 \ |
28 | | rmd160 5e06fe0bae359d0d3d5ea4b2c23e6adbbd89cc19 \ |
| 27 | md5 5df5df63ec24249b7806e44b64059da5 \ |
| 28 | sha1 9f39d830aa778cf8e71fd5eb47c8a42e26c3c42d \ |
| 29 | rmd160 6362f4f2bf06f201410132be91edbd64a1577798 \ |
29 | 30 | ${name}-generic-unix-${version}${extract.suffix} \ |
30 | | sha1 6f8c417537b51115725df6f35cc1f76657b0dde0 \ |
31 | | rmd160 3a339edda163e42d18569711f57ae4dccc367058 |
| 31 | md5 450ae2eceabdd46156529edb327561fa \ |
| 32 | sha1 fb29a454cee4b24904ee70b57166b99d46bda950 \ |
| 33 | rmd160 886fc2874bdce9ec7fee43271f34e1965d6b440d |
32 | 34 | |
33 | 35 | depends_lib port:erlang |
34 | 36 | depends_build port:libxslt |
… |
… |
|
81 | 83 | xinstall -d -g [existsgroup ${servergroup}] -m 775 ${destroot}${serverhome} |
82 | 84 | xinstall -d -g [existsgroup ${servergroup}] -m 775 ${destroot}${mnesiadbdir} |
83 | 85 | |
84 | | reinplace -E "s:(/etc/rabbitmq/rabbitmq.conf):${prefix}\\1:g" \ |
| 86 | reinplace -E "s:(/etc/rabbitmq/rabbitmq):${prefix}\\1:g" \ |
85 | 87 | ${realsbin}/rabbitmq-env |
86 | | foreach var {CONFIG_FILE LOG_BASE MNESIA_BASE PIDS_FILE} { |
| 88 | foreach var {CONFIG_FILE LOG_BASE MNESIA_BASE} { |
87 | 89 | reinplace -E "s:^($var)=/:\\1=${prefix}/:" \ |
88 | | ${realsbin}/rabbitmq-multi \ |
89 | 90 | ${realsbin}/rabbitmq-server \ |
90 | 91 | ${realsbin}/rabbitmqctl |
91 | 92 | } |
92 | 93 | |
93 | 94 | xinstall -m 555 ${filespath}/rabbitmq-script-wrapper \ |
94 | | ${wrappersbin}/rabbitmq-multi |
| 95 | ${wrappersbin}/rabbitmq-server |
95 | 96 | |
96 | 97 | reinplace -E "s:MACPORTS_PREFIX/bin:${prefix}/bin:" \ |
97 | | ${wrappersbin}/rabbitmq-multi |
| 98 | ${wrappersbin}/rabbitmq-server |
98 | 99 | reinplace -E "s:/usr/lib/rabbitmq/bin/:${prefix}/lib/rabbitmq/bin/:" \ |
99 | | ${wrappersbin}/rabbitmq-multi |
| 100 | ${wrappersbin}/rabbitmq-server |
100 | 101 | reinplace -E "s:/var/lib/rabbitmq:${prefix}/var/lib/rabbitmq:" \ |
101 | | ${wrappersbin}/rabbitmq-multi |
102 | | file copy ${wrappersbin}/rabbitmq-multi ${wrappersbin}/rabbitmq-server |
103 | | file copy ${wrappersbin}/rabbitmq-multi ${wrappersbin}/rabbitmqctl |
| 102 | ${wrappersbin}/rabbitmq-server |
| 103 | file copy ${wrappersbin}/rabbitmq-server ${wrappersbin}/rabbitmqctl |
104 | 104 | |
105 | | xinstall -m 644 -W ${mansrc}/man1 rabbitmq-multi.1.gz rabbitmq-server.1.gz rabbitmqctl.1.gz ${mandest}/man1/ |
106 | | xinstall -m 644 -W ${mansrc}/man5 rabbitmq.conf.5.gz ${mandest}/man5/ |
| 105 | xinstall -m 644 -W ${mansrc}/man1 rabbitmq-server.1.gz rabbitmqctl.1.gz \ |
| 106 | ${mandest}/man1/ |
| 107 | xinstall -m 644 -W ${mansrc}/man5 rabbitmq-env.conf.5.gz ${mandest}/man5/ |
107 | 108 | } |
108 | 109 | |
109 | 110 | pre-install { |