Browse Source

push to public

master
Claudio Luck 4 years ago
commit
9cb58cd1f7
7 changed files with 223 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +13
    -0
      Makefile
  3. +7
    -0
      README.md
  4. +69
    -0
      mail/libpep-engine-enigmail/Portfile
  5. +40
    -0
      mail/libpep-etpan/Portfile
  6. +58
    -0
      mail/pep-adapter-enigmail/Portfile
  7. +35
    -0
      python/py-yml2/Portfile

+ 1
- 0
.gitignore View File

@ -0,0 +1 @@
macports-pep.tar.gz

+ 13
- 0
Makefile View File

@ -0,0 +1,13 @@
PORT_PREFIX := /opt/local
SLUG = macports-pep
all: $(SLUG).tar.gz
.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

+ 7
- 0
README.md View File

@ -0,0 +1,7 @@
# Experimental MacPorts for pretty Easy privacy
Add this to /opt/local/etc/macports/sources.conf:
https://github.com/x-pep/macports-core

+ 69
- 0
mail/libpep-engine-enigmail/Portfile View File

@ -0,0 +1,69 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name libpep-engine-enigmail
version 1.0.101
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
homepage https://pep.software/
master_sites https://pep.foundation/dev/repos/pEpEngine/archive/
distfiles 3c5db90b50e8f1639d22b51b6d45a00b185835fc.tar.gz
checksums rmd160 8309be7d1c9592b0d3ee0c107380a8c5e2809789 \
sha256 66728d7c08c49d62296e09c274e69ef62a85e09c01beb9653510a2024a9c4177
extract.suffix .tar.gz
extract.post_args | tar --strip-components 1 -xf -
worksrcdir .
depends_build port:gnupg2 \
port:gpgme \
port:libiconv \
port:asn1c \
port:libpep-etpan \
port:py-yml2 \
port:py${python.version}-setuptools \
port:py${python.version}-lxml \
port:libxml2
depends_lib port:libiconv
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
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=C '${yml2proc_cmd}'" \
LIBGPGME=libgpgme.11.dylib GPG_CMD=gpg \
ASN1C=${prefix}/bin/asn1c \
\"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
}
destroot.cmd make
destroot.target install
destroot.pre_args ${destroot.target}
destroot.args PREFIX=${destroot}${prefix}
destroot.post_args ""

+ 40
- 0
mail/libpep-etpan/Portfile View File

@ -0,0 +1,40 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name libpep-etpan
version 1.6
categories mail
platforms darwin
license GPL-2+
maintainers x-pep cluck
description pEp MIME parser
long_description MIME parser for pretty Easy privacy (fork)
homepage https://pep.software/
master_sites https://github.com/fdik/libetpan/archive/
distfiles cc4c5c5e3eb3d294fc58710d10821de4748b4df2.tar.gz
checksums rmd160 eca245f75ad951e7f95dad995d683286a0772fca \
sha256 b76e0e2b53934bf67d1bb62c320c501d07f68e088120b191fae1fcb7a267dc17
extract.suffix .tar.gz
extract.post_args | tar --strip-components 1 -xf -
worksrcdir .
depends_build port:automake \
port:autoconf \
port:libtool
depends_lib port:libiconv
configure.cmd ${worksrcdir}/autogen.sh
configure.pre_args --prefix=${prefix}/pep \
--bindir=${prefix}/bin --sbindir=${prefix}/sbin
configure.args --program-prefix=libpep- \
--datarootdir=${prefix}/pep/share
destroot.violate_mtree yes

+ 58
- 0
mail/pep-adapter-enigmail/Portfile View File

@ -0,0 +1,58 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name pep-adapter-enigmail
version 1.0.101
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
homepage https://pep.software/
master_sites https://pep.foundation/dev/repos/pEpJSONServerAdapter/archive
distfiles 69eccc3967269745297c13706b8d946f1c4df5b7.tar.gz
checksums rmd160 5c125443970f26c75e4bb51196f165693e981d9a \
sha256 2cf94ca3e661d9ee4479ef26bfaf6555870a7b211859e6746091fe78bbec6573
extract.suffix .tar.gz
extract.post_args | tar --strip-components 1 -xf -
worksrcdir .
depends_build port:boost \
port:libevent \
port:libpep-engine-enigmail \
port:gtest
depends_lib port:libpep-engine-enigmail
use_configure no
build.type default
build.cmd make -C server
build.target all
build.args PREFIX=${prefix} \
\"HTML_DIRECTORY=${prefix}/share/pEp/html\" \
\"GTEST_DIR=${prefix}/src/googletest\" \
\"GTEST_INC=${prefix}/src/googletest/include\" \
\"ENGINE_LIB=-L${prefix}/lib\" \"ENGINE_INC=-I${prefix}/include\" \
\"EVENT_LIB=-L${prefix}/lib\" \"EVENT_INC=-I${prefix}/include\" \
\"LDFLAGS=-Wl,-rpath,${prefix}/lib\"
destroot.cmd make -C server
destroot.target install
destroot.pre_args ${destroot.target}
destroot.args PREFIX=${destroot}${prefix} \
\"HTML_DIRECTORY=${destroot}${prefix}/share/pEp/html\" \
\"GTEST_DIR=${prefix}/src/googletest\" \
\"GTEST_INC=${prefix}/src/googletest/include\" \
\"ENGINE_LIB=-L${prefix}/lib\" \"ENGINE_INC=-I${prefix}/include\" \
\"EVENT_LIB=-L${prefix}/lib\" \"EVENT_INC=-I${prefix}/include\"
destroot.post_args ""

+ 35
- 0
python/py-yml2/Portfile View File

@ -0,0 +1,35 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name py-yml2
version 5.5
categories python
categories-append devel
platforms darwin
license GPL-2+
maintainers x-pep cluck
description vb's yml2 used for pEp
long_description Volker Birks yml2 tool to build pretty Easy privacy
homepage https://fdik.org/yml/toolchain
master_sites https://github.com/x-pep/yml2/archive/
distfiles f8b8a5d97a2a12d785a60bcdcefce2ac8c6f9127.tar.gz
checksums rmd160 1c7cb850345086b131be0c5e715a342ef994a177 \
sha256 c45a7a93dcfd9120e5fa36afe9d9b42f5f2784beed36b705f37adf622d2b851a
python.versions 27
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
}

Loading…
Cancel
Save