diff options
author | pawel <pawel@FreeBSD.org> | 2013-10-31 04:42:02 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-10-31 04:42:02 +0800 |
commit | ca7b3c0f3426c372b6f88af7776f1636e5734c35 (patch) | |
tree | 16908a730cd74b524b53f23a35877ac027b4d53c /emulators/qmc2 | |
parent | cbb0dca25cb4fe2cd8ea742d749c8fc378fcb762 (diff) | |
download | freebsd-ports-gnome-ca7b3c0f3426c372b6f88af7776f1636e5734c35.tar.gz freebsd-ports-gnome-ca7b3c0f3426c372b6f88af7776f1636e5734c35.tar.zst freebsd-ports-gnome-ca7b3c0f3426c372b6f88af7776f1636e5734c35.zip |
emulators/mame
emulators/mess
- Update to version 0.150
- Add SDL2 option
- Support staging
emulators/qmc2
- Support staging
- USE_GMAKE -> USES=gmake
PR: ports/182801
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'emulators/qmc2')
-rw-r--r-- | emulators/qmc2/Makefile | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/emulators/qmc2/Makefile b/emulators/qmc2/Makefile index ef0ab023da31..939f508f9e4d 100644 --- a/emulators/qmc2/Makefile +++ b/emulators/qmc2/Makefile @@ -18,12 +18,12 @@ OPTIONS_DEFINE= DOCS NO_WRKSUBDIR= yes USE_BZIP2= yes +USES= gmake USE_XORG= xmu USE_GL= glu USE_QT4= gui opengl phonon qtestlib webkit xml \ moc_build qmake_build rcc_build uic_build USE_SDL= sdl -USE_GMAKE= yes MAKE_ARGS= QTDIR="${QT_PREFIX}" QMAKE="${QMAKE}" \ SYSCONFDIR="${PREFIX}/etc" ARCH="${OPSYS}" \ CC_FLAGS="${CFLAGS}" CXX_FLAGS="${CXXFLAGS}" \ @@ -34,7 +34,6 @@ DESKTOP_ENTRIES="QMC2 (MAME)" "MAME frontend" "${DATADIR}/img/mame.png" \ "QMC2 (MESS)" "MESS frontend" "${DATADIR}/img/mess.png" \ "${PORTNAME}-sdlmess" "Game;Emulator;Qt;" "true" -NO_STAGE= yes .include <bsd.port.options.mk> post-extract: @@ -48,20 +47,24 @@ post-patch: < qmc2.ini.template > qmc2.ini) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/qmc2/qmc2-sdlmame ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/qmc2-sdlmess/qmc2-sdlmess ${PREFIX}/bin - @${MKDIR} ${ETCDIR} - ${INSTALL_DATA} ${WRKSRC}/qmc2/inst/qmc2.ini ${ETCDIR} - @${MKDIR} ${DATADIR}/img - @(cd ${WRKSRC}/qmc2/data/img; ${COPYTREE_SHARE} . ${DATADIR}/img) - @${MKDIR} ${DATADIR}/lng - ${INSTALL_DATA} ${WRKSRC}/qmc2/data/lng/qmc2_*.qm ${DATADIR}/lng - @${MKDIR} ${DATADIR}/opt - @(cd ${WRKSRC}/qmc2/data/opt; ${COPYTREE_SHARE} . ${DATADIR}/opt) -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR}/html - @(cd ${WRKSRC}/qmc2/data/doc/html; ${COPYTREE_SHARE} . ${DOCSDIR}/html) -.endif - @${CAT} ${PKGMESSAGE} + (cd ${WRKSRC}/qmc2 && ${INSTALL_PROGRAM} qmc2-sdlmame \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC}/qmc2-sdlmess && ${INSTALL_PROGRAM} qmc2-sdlmess \ + ${STAGEDIR}${PREFIX}/bin) + @${MKDIR} ${STAGEDIR}${ETCDIR} + (cd ${WRKSRC}/qmc2/inst && ${INSTALL_DATA} qmc2.ini \ + ${STAGEDIR}${ETCDIR}) + @${MKDIR} ${STAGEDIR}${DATADIR}/img + @(cd ${WRKSRC}/qmc2/data/img; ${COPYTREE_SHARE} . \ + ${STAGEDIR}${DATADIR}/img) + @${MKDIR} ${STAGEDIR}${DATADIR}/lng + (cd ${WRKSRC}/qmc2/data/lng && ${INSTALL_DATA} qmc2_*.qm \ + ${STAGEDIR}${DATADIR}/lng) + @${MKDIR} ${STAGEDIR}${DATADIR}/opt + @(cd ${WRKSRC}/qmc2/data/opt; ${COPYTREE_SHARE} . \ + ${STAGEDIR}${DATADIR}/opt) + @${MKDIR} ${STAGEDIR}${DOCSDIR}/html + @(cd ${WRKSRC}/qmc2/data/doc/html; ${COPYTREE_SHARE} . \ + ${STAGEDIR}${DOCSDIR}/html) .include <bsd.port.mk> |