svn commit: r421828 - in head/games: . easyrpg-player easyrpg-player/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Sep 11 15:45:05 UTC 2016
Author: amdmi3
Date: Sun Sep 11 15:45:03 2016
New Revision: 421828
URL: https://svnweb.freebsd.org/changeset/ports/421828
Log:
EasyRPG Player is a game interpreter to play RPG Maker 2000, 2003
and EasyRPG games. It uses the LCF parser library (liblcf) to read
RPG Maker game data.
EasyRPG Player is part of the EasyRPG Project.
WWW: https://easyrpg.org/
Added:
head/games/easyrpg-player/
head/games/easyrpg-player/Makefile (contents, props changed)
head/games/easyrpg-player/distinfo (contents, props changed)
head/games/easyrpg-player/files/
head/games/easyrpg-player/files/patch-src_font.cpp (contents, props changed)
head/games/easyrpg-player/pkg-descr (contents, props changed)
head/games/easyrpg-player/pkg-plist (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Sun Sep 11 15:44:29 2016 (r421827)
+++ head/games/Makefile Sun Sep 11 15:45:03 2016 (r421828)
@@ -217,6 +217,7 @@
SUBDIR += dungeon
SUBDIR += dungeoncrawl
SUBDIR += dustrac
+ SUBDIR += easyrpg-player
SUBDIR += eboard
SUBDIR += edge
SUBDIR += editss
Added: head/games/easyrpg-player/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/easyrpg-player/Makefile Sun Sep 11 15:45:03 2016 (r421828)
@@ -0,0 +1,41 @@
+# Created by: Dmitry Marakasov <amdmi3 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= easyrpg-player
+PORTVERSION= 0.3.2
+CATEGORIES= games
+
+MAINTAINER= amdmi3 at FreeBSD.org
+COMMENT= RPG Maker 2000/2003 and EasyRPG games interpreter
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libfreetype.so:print/freetype2 \
+ libpng.so:graphics/png \
+ liblcf.so:games/liblcf
+BUILD_DEPENDS= asciidoc:textproc/asciidoc \
+ ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
+
+BROKEN_FreeBSD_9= does not build
+
+USE_GITHUB= yes
+GH_ACCOUNT= EasyRPG
+GH_PROJECT= Player
+
+USES= autoreconf gmake libtool localbase pkgconfig
+GNU_CONFIGURE= yes
+USE_XORG= pixman
+USE_SDL= sdl2 mixer2
+
+PORTDOCS= AUTHORS README
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
+.endfor
+
+.include <bsd.port.mk>
Added: head/games/easyrpg-player/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/easyrpg-player/distinfo Sun Sep 11 15:45:03 2016 (r421828)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1471883564
+SHA256 (EasyRPG-Player-0.3.2_GH0.tar.gz) = ef9c751521930890eb8dab9f7fa40b6614c47ec3aa2e72b7bd4d6c4e162b9449
+SIZE (EasyRPG-Player-0.3.2_GH0.tar.gz) = 1349856
+SHA256 (EasyRPG-liblcf-0.3.2_GH0.tar.gz) = cf98a43f3f10047bf51e92a472bae2904eb61eb7d9495130e17857324047f529
+SIZE (EasyRPG-liblcf-0.3.2_GH0.tar.gz) = 141239
Added: head/games/easyrpg-player/files/patch-src_font.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/easyrpg-player/files/patch-src_font.cpp Sun Sep 11 15:45:03 2016 (r421828)
@@ -0,0 +1,20 @@
+--- src/font.cpp.orig 2015-09-14 09:52:35 UTC
++++ src/font.cpp
+@@ -145,7 +145,7 @@ BitmapRef ShinonomeFont::Glyph(unsigned
+ assert(glyph);
+ size_t const width = glyph->is_full? FULL_WIDTH : HALF_WIDTH;
+
+- BitmapRef bm = Bitmap::Create(reinterpret_cast<void*>(NULL), width, HEIGHT, 0, DynamicFormat(8,8,0,8,0,8,0,8,0,PF::Alpha));
++ BitmapRef bm = Bitmap::Create(nullptr, width, HEIGHT, 0, DynamicFormat(8,8,0,8,0,8,0,8,0,PF::Alpha));
+ uint8_t* data = reinterpret_cast<uint8_t*>(bm->pixels());
+ int pitch = bm->pitch();
+ for(size_t y_ = 0; y_ < HEIGHT; ++y_)
+@@ -194,7 +194,7 @@ BitmapRef FTFont::Glyph(unsigned glyph)
+ int const width = ft_bitmap.width;
+ int const height = ft_bitmap.rows;
+
+- BitmapRef bm = Bitmap::Create(reinterpret_cast<void*>(NULL), width, height, 0, DynamicFormat(8,8,0,8,0,8,0,8,0,PF::Alpha));
++ BitmapRef bm = Bitmap::Create(nullptr, width, height, 0, DynamicFormat(8,8,0,8,0,8,0,8,0,PF::Alpha));
+ uint8_t* data = reinterpret_cast<uint8_t*>(bm->pixels());
+ int dst_pitch = bm->pitch();
+
Added: head/games/easyrpg-player/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/easyrpg-player/pkg-descr Sun Sep 11 15:45:03 2016 (r421828)
@@ -0,0 +1,7 @@
+EasyRPG Player is a game interpreter to play RPG Maker 2000, 2003
+and EasyRPG games. It uses the LCF parser library (liblcf) to read
+RPG Maker game data.
+
+EasyRPG Player is part of the EasyRPG Project.
+
+WWW: https://easyrpg.org/
Added: head/games/easyrpg-player/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/easyrpg-player/pkg-plist Sun Sep 11 15:45:03 2016 (r421828)
@@ -0,0 +1,2 @@
+bin/easyrpg-player
+man/man6/easyrpg-player.6.gz
More information about the svn-ports-all
mailing list