1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/emulators/wxmupen64plus/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

61 lines
2.0 KiB
Makefile

# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= wxmupen64plus
PORTVERSION= 0.3
PORTREVISION= 10
CATEGORIES= emulators
MASTER_SITES= https://bitbucket.org/auria/wxmupen64plus/get/
DISTNAME= ${PORTVERSION}
DIST_SUBDIR= ${PORTNAME:S/wx//}
MAINTAINER= acm@FreeBSD.org
COMMENT= Mupen64Plus 2.0 GUI frontend written using wxWidgets
LICENSE= GPLv2+ LGPL3+ CC-BY-SA-3.0 PD
LICENSE_COMB= multi
LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core
RUN_DEPENDS= ${LOCALBASE}/lib/libmupen64plus.so.2:emulators/mupen64plus-core \
${LOCALBASE}/lib/mupen64plus/mupen64plus-audio-sdl.so:emulators/mupen64plus-audio-sdl \
${LOCALBASE}/lib/mupen64plus/mupen64plus-input-sdl.so:emulators/mupen64plus-input-sdl \
${LOCALBASE}/lib/mupen64plus/mupen64plus-rsp-hle.so:emulators/mupen64plus-rsp-hle \
${LOCALBASE}/lib/mupen64plus/mupen64plus-video-rice.so:emulators/mupen64plus-video-rice \
mupen64plus:emulators/mupen64plus-ui-console
WRKSRC= ${WRKDIR}/auria-${PORTNAME}-0564db396383
USES= compiler:c++11-lib gl python:2.7 sdl
USE_CXXSTD= c++11
USE_SDL= sdl
USE_GL= gl
USE_XORG= x11
USE_WX= 3.0
WAF_SCRIPT= waf
post-patch:
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g' -e 's|%%CXX%%|${CXX}|g' -e \
's|version=2.9|version=${WX_VERSION}|g' ${WRKSRC}/wscript
do-configure:
@cd ${WRKSRC} && \
${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \
CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \
LDFLAGS="${LDFLAGS}" ${PYTHON_CMD} ${WAF_SCRIPT} \
configure --mupenapi=${LOCALBASE}/include/${PORTNAME:S/wx//} \
--wxconfig=${WX_CONFIG} \
--sdlconfig=${SDL_CONFIG} \
--datadir=${DATADIR} \
--libdir=${LOCALBASE}/lib/${PORTNAME:S/wx//}
do-build:
@cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${WAF_SCRIPT}
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
@cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/build/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>