Browse Source

change recipes

master
Claudio Luck 11 months ago
parent
commit
a8a3d5c24a
5 changed files with 59 additions and 57 deletions
  1. +9
    -9
      Makefile
  2. +29
    -27
      mail/libpep-engine-enigmail/Portfile
  3. +6
    -7
      mail/libpep-etpan/Portfile
  4. +13
    -11
      python/py-yml2/Portfile
  5. +2
    -3
      security/sequoia-pgp/Portfile

+ 9
- 9
Makefile View File

@ -13,15 +13,15 @@ all: ../$(SLUG).tar.gz
../$(SLUG).tar.gz:
-@rm -f ../$(SLUG).tar ../$(SLUG).tar.gz
# mkdir -p ..
$(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
$(PORT_PREFIX)/bin/portindex -p darwin_18_i386 -o ../ports/PortIndex_darwin_18_i386
git archive --format=tar --prefix=ports/ -o ../$(SLUG).tar HEAD mail python
# 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)


+ 29
- 27
mail/libpep-engine-enigmail/Portfile View File

@ -5,60 +5,62 @@ PortSystem 1.0
PortGroup python 1.0
name libpep-engine-enigmail
version 1.0.101
version 2.1.10
categories mail
platforms darwin
license GPL-2+
maintainers x-pep cluck
description pEp Engine for pEp JSON Mini Adapter for Enigmail
long_description pEp Engine for pEp JSON Mini Adapter for Enigmail
description pEp Engine for pEp JSON Mini Adapter for Thunderbird
long_description pEp Engine for pEp JSON Mini Adapter for Thunderbird
homepage https://pep.software/
master_sites https://pep.foundation/dev/repos/pEpEngine/archive/
distfiles f344cad791f26d1c7544a219bf31e94079accbee.tar.gz
distfiles Release_${version}.tar.gz
checksums rmd160 ac8568fc9621a64392733a14776f90315520d772 \
sha256 4dc2cd51565a5856643866c60387802a96764bde21a68618f8ef10be7aeaadba
checksums rmd160 684fe983e0a7ecea975c46884e9f401ab6d5d690 \
sha256 dbaf0230e027e0fadb9735f0e32e7c651d203d8748052917239eca4a6500ce37 \
size 8208939
extract.suffix .tar.gz
extract.post_args | tar --strip-components 1 -xf -
worksrcdir .
depends_build port:gnupg2 \
port:gpgme \
port:libiconv \
depends_build port:libiconv \
port:asn1c \
port:libpep-etpan \
port:py-yml2 \
port:py${python.version}-setuptools \
port:py${python.version}-lxml \
port:libxml2
port:py38-yml2 \
port:sequoia-pgp
depends_lib port:libiconv
depends_lib port:libiconv \
port:sequoia-pgp
use_configure no
set yml2proc_cmd ${frameworks_dir}/Python.framework/Versions/${python.branch}/bin/yml2proc
set yml2_path ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages/yml2
set yml2proc_cmd ${prefix}/bin/yml2proc
# set yml2_path /opt/local/Library/Frameworks/Python.framework/Versions/${yml2_pyver}/lib/python${yml2_pyver}/site-packages/yml2
build.type default
build.cmd make
build.target all
build.target-append db
build.args PREFIX=${prefix} \"SYSTEM_DB=${prefix}/share/pEp/system.db\" \
\"YML2_PATH=${yml2_path}\" \
\"YML2_PROC=LC_ALL=en_US.UTF-8 '${yml2proc_cmd}'" \
LIBGPGME=libgpgme.11.dylib GPG_CMD=gpg \
# \"YML2_PATH=${yml2_path}\" \
# \"YML2_PROC=LC_ALL=en_US.UTF-8 '${yml2proc_cmd}'" \
pre-build {
system "echo '# local.conf' >${worksrcpath}/local.conf"
system "echo YML2_PROC=\"LC_ALL=en_US.UTF-8 '${yml2proc_cmd}'\" >>${worksrcpath}/local.conf"
}
build.args PREFIX=${prefix}/pEp \"SYSTEM_DB=${prefix}/pEp/share/pEp/system.db\" \
ASN1C=${prefix}/bin/asn1c \
\"ETPAN_LIB=-L${prefix}/pep/lib\" \"ETPAN_INC=-I${prefix}/pep/include\"
\"ETPAN_LIB=-L${prefix}/pEp/lib\" \"ETPAN_INC=-I${prefix}/pEp/include\"
pre-destroot {
system "/usr/bin/install_name_tool -id \
'${prefix}/lib/libpEpEngine.dylib' \
'${worksrcpath}/src/libpEpEngine.dylib'"
xinstall -d ${destroot}${prefix}/share/pEp
xinstall -m 0644 ${worksrcpath}/db/system.db ${destroot}${prefix}/share/pEp/system.db
pre-destroot {
system "/usr/bin/install_name_tool -id \
'${prefix}/lib/libpEpEngine.dylib' \
'${worksrcpath}/src/libpEpEngine.dylib'"
xinstall -d ${destroot}${prefix}/pEp/share/pEp
xinstall -m 0644 ${worksrcpath}/db/system.db ${destroot}${prefix}/pEp/share/pEp/system.db
}
destroot.cmd make


+ 6
- 7
mail/libpep-etpan/Portfile View File

@ -4,7 +4,7 @@
PortSystem 1.0
name libpep-etpan
version 1.6.1
version 1.6.2
categories mail
platforms darwin
license GPL-2+
@ -15,10 +15,9 @@ homepage https://pep.software/
master_sites https://github.com/fdik/libetpan/archive/
distfiles af2aad552dd0ecc6a943f78e5c77dc03ebbc0028.tar.gz
distfiles 0b80c39dd1504462ba3a39dc53db7c960c3a63f3.tar.gz
checksums rmd160 b4b3b1b06db3bf33e69895595b64f81632b3effc \
sha256 8bf56f8ca41518b7db5d80fca358e48ea889981255369beb222167aa1ab200a0
checksums sha256 e932ff16ca8a80f4a511249a7980e621e7ee84dcd3848e2b64f25320852d05f7
extract.suffix .tar.gz
extract.post_args | tar --strip-components 1 -xf -
@ -32,9 +31,9 @@ depends_lib port:libiconv
configure.cmd ${worksrcdir}/autogen.sh
configure.pre_args --prefix=${prefix}/pep \
configure.pre_args --prefix=${prefix}/pEp \
--bindir=${prefix}/bin --sbindir=${prefix}/sbin
configure.args --program-prefix=libpep- \
--datarootdir=${prefix}/pep/share
configure.args --program-prefix=libpEp- \
--datarootdir=${prefix}/pEp/share
destroot.violate_mtree yes

+ 13
- 11
python/py-yml2/Portfile View File

@ -4,8 +4,8 @@
PortSystem 1.0
PortGroup python 1.0
name py-yml2
version 5.11
name py38-yml2
version 2.6.3
categories python
categories-append devel
platforms darwin
@ -17,19 +17,21 @@ homepage https://fdik.org/yml/toolchain
master_sites https://pep.foundation/dev/repos/yml2/archive/
distfiles bd6f5809cc81.tar.bz2
distfiles ${version}.tar.bz2
checksums rmd160 9ead9af680a1e2283185f52950ac2d8b3e1f057a \
sha256 6250bba9465acf2220f06c07836496d2596a13b7493debee555713e6b05725c2
checksums rmd160 69de1acbfaef08c99c291d8bb0b36960d4e9855d \
sha256 4c61dccdda966fe63082712a35e615299bc2a5bc7be56070da6ff92db7895255 \
size 55750
python.versions 27
# python.versions 35 36 37 38 39
extract.suffix .tar.gz
extract.post_args | tar --strip-components 1 -xf -
worksrcdir .
if {$subport ne $name} {
depends_build port:py${python.version}-lxml \
port:py${python.version}-setuptools \
port:libxml2
}
# if {$subport ne $name} {
# depends_build port:py${python.version}-lxml \
# }
#depends_build port:py${python.version}-lxml

+ 2
- 3
security/sequoia-pgp/Portfile View File

@ -23,9 +23,8 @@ build.target build-release
build.post_args-append PYTHON=disable PREFIX=${prefix}
destroot.post_args-append PYTHON=disable PREFIX=${prefix}
#checksums rmd160 e6aeee80a0d33422f048e2b1bf5a9d7d22d034e3 \
# sha256 45f156beb35ac1e21438bb7ef5c0249549c90de5ea4c62581a30dc59d463fe80 \
# size 1903057
checksums sha256 04e270129a3ed98c2bd694ce006bf6c97bdceadf7b5b86bb73dd06adbbdee897 \
size 2499835
depends_build port:pkgconfig \
port:coreutils \


Loading…
Cancel
Save