diff -urN /usr/ports/emulators/yabause/Makefile emulators/yabause/Makefile --- /usr/ports/emulators/yabause/Makefile 2014-12-09 05:02:23.000000000 +0900 +++ emulators/yabause/Makefile 2015-02-09 00:00:00.000000000 +0900 @@ -2,35 +2,50 @@ # $FreeBSD: head/emulators/yabause/Makefile 374303 2014-12-08 16:48:38Z tijl $ PORTNAME= yabause -PORTVERSION= 0.9.13.1 -PORTREVISION= 2 +PORTVERSION= 0.9.14 CATEGORIES= emulators -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R} +MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Sega Saturn system emulator LICENSE= GPLv2 # (or later) -USES= cmake openal:soft pkgconfig +USES= cmake dos2unix openal:soft pkgconfig +DOS2UNIX_FILES= src/qt/YabauseThread.cpp USE_XORG= xmu xrandr USE_GL= gl glu glut -USE_SDL= sdl CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib SUB_FILES= pkg-message +OPTIONS_DEFINE= SDL2 OPTIONS_SINGLE= GUI -OPTIONS_SINGLE_GUI= GTK2 QT4 +OPTIONS_SINGLE_GUI= GTK2 QT4 QT5 OPTIONS_DEFAULT= QT4 GTK2_LIB_DEPENDS= libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext GTK2_USE= gnome=gtk20 GTK2_CMAKE_ON= -DYAB_PORTS:STRING=gtk +GTK2_CMAKE_OFF= -DYAB_PORTS:STRING=qt QT4_USE= qt4=corelib,gui,opengl \ qt4=moc_build,qmake_build,rcc_build,uic_build -QT4_CMAKE_ON= -DYAB_PORTS:STRING=qt +QT4_CMAKE_ON= -DQt5_FOUND:BOOL=OFF +QT5_USE= qt5=core,gui,opengl \ + qt5=buildtools_build,qmake_build +SDL2_DESC= SDL2 libraries support +SDL2_USE= sdl=sdl2 +SDL2_USE_OFF= sdl=sdl + +.include + +post-patch: +.if empty(PORT_OPTIONS:MSDL2) + @${REINPLACE_CMD} -e \ + 's|SDL2 |SDL | ; \ + s|SDL2_|SDL_|' ${WRKSRC}/src/CMakeLists.txt +.endif .include diff -urN /usr/ports/emulators/yabause/distinfo emulators/yabause/distinfo --- /usr/ports/emulators/yabause/distinfo 2014-07-13 22:45:28.000000000 +0900 +++ emulators/yabause/distinfo 2015-02-09 00:00:00.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (yabause-0.9.13.1.tar.gz) = f76f9deca59ab91f8a463792611336962510868d3dc8bdd23e9215a26b7cc175 -SIZE (yabause-0.9.13.1.tar.gz) = 1634482 +SHA256 (yabause-0.9.14.tar.gz) = 75e6320873ef6f8ec956568bff5a8f3b67500bdf52a7e0aa88e0a554b2dd775a +SIZE (yabause-0.9.14.tar.gz) = 1662762 diff -urN /usr/ports/emulators/yabause/pkg-plist emulators/yabause/pkg-plist --- /usr/ports/emulators/yabause/pkg-plist 2014-10-27 23:06:10.000000000 +0900 +++ emulators/yabause/pkg-plist 2015-02-09 00:00:00.000000000 +0900 @@ -2,6 +2,7 @@ man/man1/yabause.1.gz share/applications/yabause.desktop share/pixmaps/yabause.png +%%DATADIR%%/yts/ar.yts %%DATADIR%%/yts/de.yts %%DATADIR%%/yts/es.yts %%DATADIR%%/yts/fr.yts @@ -10,4 +11,7 @@ %%DATADIR%%/yts/nl.yts %%DATADIR%%/yts/pt.yts %%DATADIR%%/yts/pt_BR.yts +%%DATADIR%%/yts/ru.yts %%DATADIR%%/yts/sv.yts +%%DATADIR%%/yts/zh_CN.yts +%%DATADIR%%/yts/zh_TW.yts