Browse Source

ignore educts but add them to bundle

master
Claudio Luck 4 years ago
parent
commit
55b56a8501
3 changed files with 16 additions and 4 deletions
  1. +2
    -0
      .gitignore
  2. +13
    -2
      Makefile
  3. +1
    -2
      README.md

+ 2
- 0
.gitignore View File

@ -1 +1,3 @@
macports-pep.tar.gz
PortIndex.quick
PortIndex

+ 13
- 2
Makefile View File

@ -3,11 +3,22 @@ PORT_PREFIX := /opt/local
SLUG = macports-pep
all: $(SLUG).tar.gz
$(PORT_PREFIX)/bin/portindex
.PHONY: $(SLUG).tar.gz
$(SLUG).tar.gz:
git diff-index --quiet HEAD -- >/dev/null 2>&1
$(PORT_PREFIX)/bin/portindex
git archive --format=tar HEAD | gzip -9 >$(SLUG).tar.gz
-@rm -f $(SLUG).tar $(SLUG).tar.gz
mkdir -p ports
$(PORT_PREFIX)/bin/portindex -p darwin_11_i386 -o ports/PortIndex_darwin_11_i386
$(PORT_PREFIX)/bin/portindex -p darwin_12_i386 -o ports/PortIndex_darwin_12_i386
$(PORT_PREFIX)/bin/portindex -p darwin_13_i386 -o ports/PortIndex_darwin_13_i386
$(PORT_PREFIX)/bin/portindex -p darwin_14_i386 -o ports/PortIndex_darwin_14_i386
$(PORT_PREFIX)/bin/portindex -p darwin_15_i386 -o ports/PortIndex_darwin_15_i386
$(PORT_PREFIX)/bin/portindex -p darwin_16_i386 -o ports/PortIndex_darwin_16_i386
$(PORT_PREFIX)/bin/portindex -p darwin_17_i386 -o ports/PortIndex_darwin_17_i386
git archive --format=tar --prefix=ports/ -o $(SLUG).tar HEAD mail python
tar -r -f $(SLUG).tar ports/PortIndex_darwin_{11,12,13,14,15,16,17}_i386
gzip -9 $(SLUG).tar

+ 1
- 2
README.md View File

@ -2,6 +2,5 @@
Add this to /opt/local/etc/macports/sources.conf:
https://github.com/x-pep/macports-core
https://software.pep.foundation/macports-pep.tar.gz

Loading…
Cancel
Save