This should use Makefile.inc, not a module.
Also set WRKBUILD instead of defining do-build/do-install. Pointed out by a couple of people. ok espie@, stsp@
This commit is contained in:
parent
4b848e1877
commit
984e341bff
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: mupen64plus.port.mk,v 1.1.1.1 2011/12/26 13:38:27 stsp Exp $
|
||||
# $OpenBSD: Makefile.inc,v 1.1 2011/12/26 22:58:48 bentley Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
VERSION ?= 1.99.4
|
||||
@ -12,24 +12,13 @@ CONFIGURE_STYLE ?= none
|
||||
USE_GMAKE ?= Yes
|
||||
MAKE_FLAGS ?= CC=${CC} CXX=${CXX} V=1
|
||||
|
||||
FAKE_FLAGS ?= PREFIX=${PREFIX} LDCONFIG=true
|
||||
|
||||
.if ${MUPEN64PLUS_MOD} != "core"
|
||||
MAKE_FLAGS += APIDIR=${LOCALBASE}/include/mupen64plus
|
||||
LIB_DEPENDS += emulators/mupen64plus/core
|
||||
.endif
|
||||
|
||||
# non-standard build system...
|
||||
.if !target(do-build)
|
||||
do-build:
|
||||
cd ${WRKSRC}/projects/unix && \
|
||||
${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET}
|
||||
.endif
|
||||
|
||||
.if !target(do-install)
|
||||
do-install:
|
||||
cd ${WRKSRC}/projects/unix && \
|
||||
${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
|
||||
PREFIX=${LOCALBASE} DESTDIR=${DESTDIR} \
|
||||
LDCONFIG=true ${INSTALL_TARGET}
|
||||
.endif
|
||||
WRKBUILD ?= ${WRKDIST}/projects/unix
|
||||
|
||||
NO_REGRESS ?= Yes
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/12/26 13:38:27 stsp Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2011/12/26 22:58:48 bentley Exp $
|
||||
|
||||
COMMENT = n64 emulator sdl audio plugin
|
||||
|
||||
@ -12,7 +12,6 @@ WANTLIB = SDL samplerate
|
||||
LIB_DEPENDS = devel/sdl \
|
||||
audio/libsamplerate
|
||||
|
||||
MODULES = emulators/mupen64plus
|
||||
MUPEN64PLUS_MOD = audio-sdl
|
||||
|
||||
# resolve 'no newline at end of file' warning
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/12/26 13:38:27 stsp Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2011/12/26 22:58:48 bentley Exp $
|
||||
|
||||
COMMENT = n64 emulator core
|
||||
SHARED_LIBS = mupen64plus 2.0
|
||||
@ -14,7 +14,6 @@ LIB_DEPENDS = devel/sdl \
|
||||
graphics/png \
|
||||
print/freetype
|
||||
|
||||
MODULES = emulators/mupen64plus
|
||||
MUPEN64PLUS_MOD = core
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/12/26 13:38:27 stsp Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2011/12/26 22:58:48 bentley Exp $
|
||||
|
||||
COMMENT = n64 emulator input plugin
|
||||
|
||||
@ -12,7 +12,6 @@ WANTLIB = SDL
|
||||
LIB_DEPENDS = devel/sdl
|
||||
|
||||
MUPEN64PLUS_MOD = input-sdl
|
||||
MODULES = emulators/mupen64plus
|
||||
|
||||
# resolve 'no newline at end of file' warning
|
||||
post-patch:
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/12/26 13:38:27 stsp Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2011/12/26 22:58:48 bentley Exp $
|
||||
|
||||
COMMENT = n64 emulator signal co-processor plugin
|
||||
|
||||
@ -11,6 +11,5 @@ PERMIT_DISTFILES_FTP = Yes
|
||||
WANTLIB = m stdc++
|
||||
|
||||
MUPEN64PLUS_MOD = rsp-hle
|
||||
MODULES = emulators/mupen64plus
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/12/26 13:38:27 stsp Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2011/12/26 22:58:48 bentley Exp $
|
||||
|
||||
COMMENT = n64 emulator command-line ui plugin
|
||||
#
|
||||
@ -11,7 +11,6 @@ PERMIT_DISTFILES_FTP = Yes
|
||||
WANTLIB = c pthread
|
||||
|
||||
MUPEN64PLUS_MOD = ui-console
|
||||
MODULES = emulators/mupen64plus
|
||||
|
||||
post-install:
|
||||
gunzip ${PREFIX}/man/man6/mupen64plus.6.gz
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/12/26 13:38:27 stsp Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2011/12/26 22:58:48 bentley Exp $
|
||||
|
||||
COMMENT = n64 emulator opengl video plugin
|
||||
|
||||
@ -11,7 +11,6 @@ PERMIT_DISTFILES_FTP = Yes
|
||||
WANTLIB = GL m stdc++ z SDL png
|
||||
LIB_DEPENDS = devel/sdl graphics/png
|
||||
MUPEN64PLUS_MOD = video-rice
|
||||
MODULES = emulators/mupen64plus
|
||||
|
||||
# Use SSE instructions on amd64 only
|
||||
.if ${MACHINE_ARCH} != "amd64"
|
||||
|
Loading…
Reference in New Issue
Block a user