bcallah 4d2251500d Update gravity to 0.4.0
No changelog from upstream, but can be recreated via github:
https://github.com/marcobambini/gravity/compare/0.3.8...0.4.0
2018-02-13 15:16:04 +00:00

31 lines
607 B
Makefile

# $OpenBSD: Makefile,v 1.7 2018/02/13 15:16:04 bcallah Exp $
COMMENT = small, high performance language with a modern syntax
CATEGORIES = lang
GH_ACCOUNT = marcobambini
GH_PROJECT = gravity
GH_TAGNAME = 0.4.0
HOMEPAGE = http://creolabs.com/gravity
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c m
USE_GMAKE = Yes
pre-configure:
sed -i -e 's,-O2,${CFLAGS},g' -e '/^CC.*/d' ${WRKSRC}/Makefile \
${WRKSRC}/api/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gravity ${PREFIX}/bin
do-test:
cd ${WRKSRC} && ./unittest test
.include <bsd.port.mk>