openbsd-ports/emulators/mupen64plus/Makefile.inc
bentley f004a6ca1b Cleanup emulators/mupen64plus.
- don't build with -O3
- downgrade other plugins' lib dep on core plugin to build dep
- fix some MAKE_FLAGS overwriting that snuck in
- remove old post-patch targets
- update wantlib
- take maintainership
2012-12-24 09:23:07 +00:00

30 lines
840 B
Makefile

# $OpenBSD: Makefile.inc,v 1.4 2012/12/24 09:23:07 bentley Exp $
ONLY_FOR_ARCHS ?= amd64 i386
SHARED_ONLY = Yes
VERSION ?= 1.99.5
DISTNAME ?= mupen64plus-${MUPEN64PLUS_MOD}-src-${VERSION}
PKGNAME ?= mupen64plus-${MUPEN64PLUS_MOD}-${VERSION}
HOMEPAGE ?= https://code.google.com/p/mupen64plus/
CATEGORIES ?= emulators games
MASTER_SITES ?= https://bitbucket.org/richard42/mupen64plus-${MUPEN64PLUS_MOD}/downloads/
MAINTAINER ?= Anthony J. Bentley <anthony@cathet.us>
CONFIGURE_STYLE ?= none
USE_GMAKE ?= Yes
MAKE_FLAGS += CC=${CC} \
CXX=${CXX} \
V=1 \
OPTFLAGS=
FAKE_FLAGS ?= PREFIX=${PREFIX} LDCONFIG=true
.if ${MUPEN64PLUS_MOD} != "core"
MAKE_FLAGS += APIDIR=${LOCALBASE}/include/mupen64plus
BUILD_DEPENDS += emulators/mupen64plus/core>=1.99.5
.endif
WRKBUILD ?= ${WRKDIST}/projects/unix
NO_REGRESS ?= Yes