--- Makefile 2017-07-22 09:37:27.000000000 +0000 +++ Makefile.new 2018-01-05 20:35:11.220457000 +0000 @@ -2,6 +2,7 @@ PORTNAME= mupen64plus-qt PORTVERSION= 1.10 +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= maintainer@hasting.email @@ -9,13 +10,16 @@ LICENSE= BSD3CLAUSE -BROKEN= wrong dependencies, mupen64plus executable is not provided by emulators/mupen64plus - -LIB_DEPENDS= libquazip.so:archivers/quazip -RUN_DEPENDS= mupen64plus:emulators/mupen64plus +LIB_DEPENDS= libquazip5.so:archivers/quazip-qt5 +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 USES= qmake -USE_QT4= corelib gui moc_build network rcc_build sql sql-sqlite3_run uic_build xml +USE_QT5= core gui buildtools_build network sql sql-sqlite3_run xml USE_GITHUB= yes GH_ACCOUNT= dh4 @@ -29,6 +33,9 @@ OPTIONS_DEFINE= DOCS +pre-build: + sed -i -r 's:#include