Ticket #46743: Portfile

File Portfile, 1.5 KB (added by tal@…, 10 years ago)
Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5name                vcs_blackbox
6categories          security
7platforms           darwin
8maintainers         whatexit.org:tal openmaintainer
9description         Safely store secrets in git/hg/svn repos using GPG encryption
10homepage            https://github.com/StackExchange/blackbox
11license             BSD
12
13long_description  Storing secrets such as passwords, certificates and private keys in Git/Mercurial/SubVersion is dangerous. Blackbox makes it easy to store secrets safely using GPG encryption. They can be easily decrypted for editing or use in production.
14
15# New release procedure:
16# 1. Find tag name on github.
17# 2. Update version number.date:
18version             1.20150203
19# 3. Update the checksum:
20#     wget -o x https://github.com/StackExchange/blackbox/archive/v1.2015MMDD.tar.gz
21#     shasum -a 256 x ; rm x
22checksums           sha256 56932054db09f7869405bdf0d181ee43995eb45cf0385cd1c88f8609507029aa
23
24master_sites        https://github.com/StackExchange/blackbox/archive/
25distname            v${version}
26worksrcdir          blackbox-${version}
27
28# Development: Uncomment to test with the "stable" release.
29#fetch.type          git
30#git.branch          stable
31#git.url             https://github.com/StackExchange/blackbox.git
32
33use_configure       no
34build               {}
35
36destroot {
37  system "cd ${worksrcpath} && make packages-macports DESTDIR=${destroot}/${prefix}"
38}