bcallah 43b3bf4538 Update to the_silver_search-2.2.0 -- predominantly recognizing more
languages.
Original diff from Edward Lopez-Acosta, with tweaks from me to switch the
HOMEPAGE and MASTER_SITES to their correct locations and https.
ok sthen@, works fine for MAINTAINER
2018-11-23 16:00:16 +00:00

35 lines
782 B
Makefile

# $OpenBSD: Makefile,v 1.31 2018/11/23 16:00:16 bcallah Exp $
COMMENT = code searching tool, with a focus on speed (ag)
DISTNAME = the_silver_searcher-2.2.0
CATEGORIES = textproc
HOMEPAGE = https://geoff.greer.fm/ag/
MAINTAINER = Florian Stinglmayr <florian@n0la.org>
# Apache 2.0
PERMIT_PACKAGE_CDROM = Yes
# uses pledge()
WANTLIB += c lzma pcre pthread z
# TLS
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
MASTER_SITES = https://geoff.greer.fm/ag/releases/
LIB_DEPENDS = archivers/xz \
devel/pcre
CONFIGURE_STYLE = gnu
SEPARATE_BUILD = Yes
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include"
FAKE_FLAGS = bashcompdir=${PREFIX}/share/bash-completion/completions
# not included in distfile, only in repository. requires cram.
NO_TEST = Yes
.include <bsd.port.mk>