summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Wragg <dpw@lshift.net>2010-01-22 11:30:48 +0000
committerDavid Wragg <dpw@lshift.net>2010-01-22 11:30:48 +0000
commit16dc269136e701d7e6ff59a397abb6e1144d55a5 (patch)
treee840f65641cc9d8f7b6e838567202010208ec529
parentcef1abc2345484dd2d90a653f0d46f20b406e767 (diff)
downloadrabbitmq-server-git-16dc269136e701d7e6ff59a397abb6e1144d55a5.tar.gz
Get portindex to produce the tgz files required for an http macports repo
-rw-r--r--packaging/macports/Makefile6
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) ; \