35 lines
656 B
Makefile

# $OpenBSD: Makefile,v 1.3 2019/02/20 06:24:30 bentley Exp $
FIX_EXTRACT_PERMISSIONS = Yes
COMMENT = Game Boy development system
V = 0.3.8
DISTNAME = rgbds-$V
CATEGORIES = devel
HOMEPAGE = https://rednex.github.io/rgbds/
MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
# MIT
PERMIT_PACKAGE_CDROM = Yes
# uses pledge()
WANTLIB += c m png z
MASTER_SITES = https://github.com/rednex/rgbds/releases/download/v$V/
LIB_DEPENDS = graphics/png
MAKE_FLAGS = CFLAGS="${CFLAGS}" \
BINMODE=${BINMODE} \
MANMODE=${MANMODE} \
Q=
# tests require network access, involve building software with unclear license
NO_TEST = Yes
.include <bsd.port.mk>