openbsd-ports/emulators/nestopia/Makefile
2013-03-11 11:02:49 +00:00

39 lines
889 B
Makefile

# $OpenBSD: Makefile,v 1.2 2013/03/11 11:06:04 espie Exp $
COMMENT = accurate Nintendo Entertainment System emulator
DISTNAME = nestopia-1.44
CATEGORIES = emulators
HOMEPAGE = http://0ldsk00l.ca/nestopia.html
MAINTAINER = Anthony J. Bentley <anthony@cathet.us>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += GL SDL X11 c gdk-3 gdk_pixbuf-2.0 glib-2.0 gobject-2.0
WANTLIB += gtk-3 m pthread stdc++ z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=nestopiaue/}
EXTRACT_SUFX = .tgz
RUN_DEPENDS = devel/desktop-file-utils
LIB_DEPENDS = devel/sdl \
x11/gtk+3
MAKE_FLAGS = CC="${CC}" \
CXX="${CXX}" \
CFLAGS="${CFLAGS} `sdl-config --cflags` \
`pkg-config --cflags gtk+-3.0`" \
CXXFLAGS="${CFLAGS} `sdl-config --cflags` \
`pkg-config --cflags gtk+-3.0`"
FAKE_FLAGS = PREFIX="${WRKINST}/${TRUEPREFIX}"
USE_GMAKE = Yes
NO_TEST = Yes
.include <bsd.port.mk>