openbsd-ports/lang/cparser/Makefile

35 lines
787 B
Makefile

# $OpenBSD: Makefile,v 1.4 2019/07/12 20:47:16 sthen Exp $
# Depends on devel/libfirm
ONLY_FOR_ARCHS = amd64 arm i386
# Must keep version number in sync with devel/libfirm
COMMENT = C99 parser and frontend for libFirm
DISTNAME = ${GH_PROJECT}-1.22.1pl2
CATEGORIES = lang
# Upstream expects you to use tags.
GH_ACCOUNT = libfirm
GH_PROJECT = cparser
GH_COMMIT = 3e00440a231132c09af2927300bfdf57111e5564
HOMEPAGE = https://pp.ipd.kit.edu/firm/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += c firm
LIB_DEPENDS = devel/libfirm
USE_GMAKE = Yes
MAKE_FLAGS = FIRM_LIBS="-L${LOCALBASE}/lib -lfirm" \
REVISION="${GH_COMMIT}" V=1 variant=optimize
FAKE_FLAGS = DESTDIR= MANDIR="${DESTDIR}${PREFIX}/man"
NO_TEST = Yes
.include <bsd.port.mk>