Build pEp in MacPorts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 lines
1023 B

PORT_PREFIX := /opt/local
SLUG = macports-pep
CHECK_CLEAN := @git diff-index --quiet HEAD -- >/dev/null 2>&1 || echo "*** WARNING: Uncommited changes, do not publish! ***"
all: ../$(SLUG).tar.gz
# $(PORT_PREFIX)/bin/portindex
$(CHECK_CLEAN)
.PHONY: ../$(SLUG).tar.gz
../$(SLUG).tar.gz:
-@rm -f ../$(SLUG).tar ../$(SLUG).tar.gz
# mkdir -p ..
# See https://rsync.macports.org/macports/release/ports/PortIndex_*
for PLAT in \
darwin_11_i386 darwin_12_i386 darwin_13_i386 darwin_14_i386 darwin_15_i386 \
darwin_16_i386 darwin_17_i386 darwin_18_i386 darwin_19_i386 \
darwin_20_i386 darwin_20_arm ; do \
$(PORT_PREFIX)/bin/portindex -p "$${PLAT}" -o ../ports/PortIndex_"$${PLAT}" ; \
done
git archive --format=tar --prefix=ports/ -o ../$(SLUG).tar HEAD \
mail python security
# tar -r -f ../$(SLUG).tar ../ports/PortIndex_darwin_{11,12,13,14,15,16,17,18}_i386
gzip -9 ../$(SLUG).tar
$(CHECK_CLEAN)
clean:
rm -rf ../ports
rm -f ../$(SLUG).tar ../$(SLUG).tar.gz PortIndex PortIndex.quick