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
This commit is contained in:
parent
dcd1c4672d
commit
f004a6ca1b
@ -1,25 +1,29 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.3 2012/08/13 06:53:55 bentley Exp $
|
||||
# $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 ?= http://code.google.com/p/mupen64plus/
|
||||
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
|
||||
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
|
||||
LIB_DEPENDS += emulators/mupen64plus/core>=1.99.5
|
||||
BUILD_DEPENDS += emulators/mupen64plus/core>=1.99.5
|
||||
.endif
|
||||
|
||||
WRKBUILD ?= ${WRKDIST}/projects/unix
|
||||
WRKBUILD ?= ${WRKDIST}/projects/unix
|
||||
|
||||
NO_REGRESS ?= Yes
|
||||
|
@ -1,21 +1,19 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2011/12/26 22:58:48 bentley Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2012/12/24 09:23:07 bentley Exp $
|
||||
|
||||
COMMENT = n64 emulator sdl audio plugin
|
||||
|
||||
REVISION = 0
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WANTLIB = SDL samplerate
|
||||
WANTLIB = SDL pthread samplerate
|
||||
LIB_DEPENDS = devel/sdl \
|
||||
audio/libsamplerate
|
||||
|
||||
MUPEN64PLUS_MOD = audio-sdl
|
||||
|
||||
# resolve 'no newline at end of file' warning
|
||||
post-patch:
|
||||
echo >> ${WRKSRC}/src/osal_preproc.h
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,22 +1,23 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2012/08/13 06:53:55 bentley Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2012/12/24 09:23:07 bentley Exp $
|
||||
|
||||
COMMENT = n64 emulator core
|
||||
SHARED_LIBS = mupen64plus 2.1 # 2.0
|
||||
|
||||
REVISION = 0
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WANTLIB = GL GLU c m stdc++ z freetype png SDL
|
||||
WANTLIB = GL GLU c m stdc++ z freetype png pthread SDL
|
||||
LIB_DEPENDS = devel/sdl \
|
||||
graphics/png \
|
||||
print/freetype
|
||||
|
||||
MUPEN64PLUS_MOD = core
|
||||
|
||||
MAKE_FLAGS = TARGET=libmupen64plus.so.${LIBmupen64plus_VERSION} \
|
||||
V=1
|
||||
MAKE_FLAGS += TARGET=libmupen64plus.so.${LIBmupen64plus_VERSION}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,20 +1,18 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2011/12/26 22:58:48 bentley Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2012/12/24 09:23:07 bentley Exp $
|
||||
|
||||
COMMENT = n64 emulator input plugin
|
||||
|
||||
REVISION = 0
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WANTLIB = SDL
|
||||
WANTLIB = SDL pthread
|
||||
LIB_DEPENDS = devel/sdl
|
||||
|
||||
MUPEN64PLUS_MOD = input-sdl
|
||||
|
||||
# resolve 'no newline at end of file' warning
|
||||
post-patch:
|
||||
echo >> ${WRKSRC}/src/osal_preproc.h
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,7 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2011/12/26 22:58:48 bentley Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2012/12/24 09:23:07 bentley Exp $
|
||||
|
||||
COMMENT = n64 emulator signal co-processor plugin
|
||||
|
||||
REVISION = 0
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
|
@ -1,10 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2012/08/31 18:25:16 pascal Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2012/12/24 09:23:07 bentley Exp $
|
||||
|
||||
COMMENT = n64 emulator command-line ui plugin
|
||||
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
|
||||
#
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
@ -15,7 +14,8 @@ WANTLIB = c pthread
|
||||
|
||||
MUPEN64PLUS_MOD = ui-console
|
||||
|
||||
MAKE_FLAGS = MANDIR=${PREFIX}/man PIE=1
|
||||
MAKE_FLAGS += MANDIR=${PREFIX}/man \
|
||||
PIE=1
|
||||
|
||||
post-install:
|
||||
gunzip ${PREFIX}/man/man6/mupen64plus.6.gz
|
||||
|
@ -1,19 +1,17 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2012/08/13 06:53:56 bentley Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2012/12/24 09:23:07 bentley Exp $
|
||||
|
||||
COMMENT = n64 emulator opengl video plugin
|
||||
|
||||
REVISION = 0
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WANTLIB = GL m stdc++ z SDL png
|
||||
WANTLIB = GL SDL m png pthread stdc++ z
|
||||
LIB_DEPENDS = devel/sdl graphics/png
|
||||
MUPEN64PLUS_MOD = video-rice
|
||||
|
||||
# resolve 'no newline at end of file' warning
|
||||
post-patch:
|
||||
echo >> ${WRKSRC}/src/osal_preproc.h
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user