Skip to content
Browse files

hostage: new port (#6682)

  • Loading branch information
emcrisostomo committed Mar 25, 2020
1 parent 492da32 commit c92e8f8a23e69ca2425c24fe43e015738be67c7f
Showing with 39 additions and 0 deletions.
  1. +39 −0 sysutils/hostage/Portfile
@@ -0,0 +1,39 @@
# -*- 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 cmake 1.1

github.setup emcrisostomo hostage 1.0.1
revision 0
github.tarball_from tarball
categories sysutils
platforms darwin
supported_archs i386 x86_64
license GPL-3
maintainers {emcrisostomo @emcrisostomo} openmaintainer

description A command line utility to programmatically edit the host \
name database file (/etc/hosts)
long_description hostage is a command line utility to programmatically edit \
the host name database, which is typically the /etc/hosts \
plain text file in many UNIX and UNIX-like operating \
systems. hostage can list and validate a host name \
database file, add entries to the database, remove entries \
by address, and remove entries by host name.

checksums rmd160 db27d6f09d8e5d5b3db8075655ee0007b8fb02d0 \
sha256 9f794d220472be849de46a9f05b6d0bee64e0a9f26f293bf7907ff6f0134eb60 \
size 54668

compiler.cxx_standard \
# build fails with "error: thread-local storage is not supported for the current target"
# setting "compiler.thread_local_storage yes" does not work, so for now just use blacklisting
# See:
compiler.blacklist-append \
{clang < 800}

cmake.module_path ${prefix}/lib/cmake/antlr4

depends_lib-append port:antlr4-cpp-runtime

0 comments on commit c92e8f8

Please sign in to comment.
You can’t perform that action at this time.