diff options
| author | David Wragg <dpw@lshift.net> | 2010-01-22 11:30:48 +0000 |
|---|---|---|
| committer | David Wragg <dpw@lshift.net> | 2010-01-22 11:30:48 +0000 |
| commit | 16dc269136e701d7e6ff59a397abb6e1144d55a5 (patch) | |
| tree | e840f65641cc9d8f7b6e838567202010208ec529 | |
| parent | cef1abc2345484dd2d90a653f0d46f20b406e767 (diff) | |
| download | rabbitmq-server-git-16dc269136e701d7e6ff59a397abb6e1144d55a5.tar.gz | |
Get portindex to produce the tgz files required for an http macports repo
| -rw-r--r-- | packaging/macports/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/macports/Makefile b/packaging/macports/Makefile index c629ce2f53..58a3e9c78c 100644 --- a/packaging/macports/Makefile +++ b/packaging/macports/Makefile @@ -36,6 +36,8 @@ macports: dirs $(DEST)/Portfile $(DEST)/files/rabbitmq-script-wrapper cp patch-org.macports.rabbitmq-server.plist.diff $(DEST)/files +# This target ssh's into the OSX host in order to finalize the +# macports repo macports_index: if [ -n "$(MACPORTS_USERHOST)" ] ; then \ tar cf - -C $(MACPORTS_DIR) . | ssh $(SSH_OPTS) lshift@macrabbit ' \ @@ -43,8 +45,8 @@ macports_index: mkdir $$d \ && cd $$d \ && tar xf - \ - && /opt/local/bin/portindex >/dev/null \ - && tar cf - PortIndex* \ + && /opt/local/bin/portindex -a -o . >/dev/null \ + && tar cf - . \ && cd \ && rm -rf $$d' \ | tar xf - -C $(MACPORTS_DIR) ; \ |
