2019-11-04 09:17:19 +00:00

29 lines
565 B
Makefile

# $OpenBSD: Makefile,v 1.8 2019/11/04 09:17:19 fcambus Exp $
COMMENT = JSON output from a shell
V = 1.3
DISTNAME = jo-$V
CATEGORIES = textproc
HOMEPAGE = https://jpmens.net/2016/03/05/a-shell-command-to-create-json-jo/
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
# GPLv2+
PERMIT_PACKAGE = Yes
# uses pledge()
WANTLIB = c m
MASTER_SITES = https://github.com/jpmens/jo/releases/download/$V/
CONFIGURE_STYLE = gnu
pre-configure:
# Remove hardcoded optimization (-O2) flag
@sed -i '/^AM_CFLAGS/ s,-O2,,' ${WRKSRC}/Makefile.*
.include <bsd.port.mk>