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 1.8.1 |
| 6 | version 2.0.0 |
7 | 7 | categories net |
8 | 8 | maintainers paperplanes.de:meyer rabbitmq.com:tonyg openmaintainer |
9 | 9 | platforms darwin |
… |
… |
|
18 | 18 | master_sites http://www.rabbitmq.com/releases/rabbitmq-server/v${version}/ |
19 | 19 | |
20 | 20 | checksums \ |
21 | | md5 2471bdf0ba77b73aed1cc8eddc10aa19 \ |
22 | | sha1 f8a803eb7a5fa78074d47196ed920bf1edcfb240 \ |
23 | | rmd160 433cd232c14c1e8dc66e2359da55dd665a9b1ea2 |
| 21 | md5 04b99018085d4156b404d56377fc1c62 \ |
| 22 | sha1 3c72e4bd540caa81180701414c9bb5ec298d0365 \ |
| 23 | rmd160 cb7ad2c8b0282b9d11e4eae47646e6b59e81a8e2 |
24 | 24 | |
25 | 25 | depends_lib port:erlang |
26 | 26 | depends_build port:xmlto port:libxslt |
… |
… |
|
75 | 75 | |
76 | 76 | reinplace -E "s:(/etc/rabbitmq/rabbitmq.conf):${prefix}\\1:g" \ |
77 | 77 | ${realsbin}/rabbitmq-env |
78 | | reinplace -E "s:(CLUSTER_CONFIG_FILE)=/:\\1=${prefix}/:" \ |
79 | | ${realsbin}/rabbitmq-multi \ |
80 | | ${realsbin}/rabbitmq-server \ |
81 | | ${realsbin}/rabbitmqctl |
82 | | reinplace -E "s:(LOG_BASE)=/:\\1=${prefix}/:" \ |
83 | | ${realsbin}/rabbitmq-multi \ |
84 | | ${realsbin}/rabbitmq-server \ |
85 | | ${realsbin}/rabbitmqctl |
86 | | reinplace -E "s:(MNESIA_BASE)=/:\\1=${prefix}/:" \ |
87 | | ${realsbin}/rabbitmq-multi \ |
88 | | ${realsbin}/rabbitmq-server \ |
89 | | ${realsbin}/rabbitmqctl |
90 | | reinplace -E "s:(PIDS_FILE)=/:\\1=${prefix}/:" \ |
91 | | ${realsbin}/rabbitmq-multi \ |
92 | | ${realsbin}/rabbitmq-server \ |
93 | | ${realsbin}/rabbitmqctl |
| 78 | foreach var {CONFIG_FILE CLUSTER_CONFIG_FILE LOG_BASE MNESIA_BASE PIDS_FILE} { |
| 79 | reinplace -E "s:^($var)=/:\\1=${prefix}/:" \ |
| 80 | ${realsbin}/rabbitmq-multi \ |
| 81 | ${realsbin}/rabbitmq-server \ |
| 82 | ${realsbin}/rabbitmqctl |
| 83 | } |
94 | 84 | |
95 | 85 | xinstall -m 555 ${filespath}/rabbitmq-script-wrapper \ |
96 | 86 | ${wrappersbin}/rabbitmq-multi |
97 | | xinstall -m 555 ${filespath}/rabbitmq-asroot-script-wrapper \ |
98 | | ${wrappersbin}/rabbitmq-activate-plugins |
99 | 87 | |
100 | 88 | reinplace -E "s:MACPORTS_PREFIX/bin:${prefix}/bin:" \ |
101 | 89 | ${wrappersbin}/rabbitmq-multi |
… |
… |
|
103 | 91 | ${wrappersbin}/rabbitmq-multi |
104 | 92 | reinplace -E "s:/var/lib/rabbitmq:${prefix}/var/lib/rabbitmq:" \ |
105 | 93 | ${wrappersbin}/rabbitmq-multi |
106 | | reinplace -E "s:/usr/lib/rabbitmq/bin/:${prefix}/lib/rabbitmq/bin/:" \ |
107 | | ${wrappersbin}/rabbitmq-activate-plugins |
108 | | reinplace -E "s:/var/lib/rabbitmq:${prefix}/var/lib/rabbitmq:" \ |
109 | | ${wrappersbin}/rabbitmq-activate-plugins |
110 | 94 | file copy ${wrappersbin}/rabbitmq-multi ${wrappersbin}/rabbitmq-server |
111 | 95 | file copy ${wrappersbin}/rabbitmq-multi ${wrappersbin}/rabbitmqctl |
112 | | file copy ${wrappersbin}/rabbitmq-activate-plugins ${wrappersbin}/rabbitmq-deactivate-plugins |
113 | 96 | } |
114 | 97 | |
115 | 98 | pre-install { |