Files

56 lines
2.6 KiB
Tcl

# -*- 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 github 1.0
PortGroup openssl 1.0
github.setup AGWA git-crypt 0.7.0
github.tarball_from archive
revision 0
homepage https://www.agwa.name/projects/git-crypt/
categories devel
maintainers @nareshov openmaintainer
license {GPL-3+ OpenSSLException}
checksums rmd160 eb1f91c49813239801a6960fb5b086ebdea3bf78 \
sha256 2210a89588169ae9a54988c7fdd9717333f0c6053ff704d335631a387bd3bcff \
size 57921
description Transparent file encryption in git.
long_description git-crypt enables transparent encryption and \
decryption of files in a git repository. Files which \
you choose to protect are encrypted when committed, \
and decrypted when checked out. git-crypt lets you \
freely share a repository containing a mix of public \
and private content. git-crypt gracefully degrades, \
so developers without the secret key can still clone \
and commit to a repository with encrypted files. \
This lets you store your secret material (such as \
keys or passwords) in the same repository as your \
code, without requiring you to lock down your entire \
repository.
compiler.cxx_standard 2011
# temporary, just to avoid
# crypto-openssl-10.cpp:78:11: error: field has incomplete type 'HMAC_CTX' (aka 'hmac_ctx_st')
openssl.branch 1.1
configure.cxxflags-append \
"-I${openssl_cache_incdir}"
depends_build-append bin:xsltproc:libxslt \
port:docbook-xsl-nons
use_configure no
variant universal {}
build.env CXX=${configure.cxx} \
"CXXFLAGS=${configure.cxxflags} [get_canonical_archflags cxx]" \
CC=${configure.cc} \
"CFLAGS=${configure.cflags} [get_canonical_archflags cc]" \
"LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]" \
PREFIX=${prefix}
destroot.args ENABLE_MAN=yes \
PREFIX=${prefix} \
XML_CATALOG_FILES=${prefix}/etc/xml/catalog