Date: Tue, 10 Feb 2015 21:04:01 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378798 - in head/devel: . ponscripter-sekai ponscripter-sekai/files Message-ID: <201502102104.t1AL41WX020639@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Tue Feb 10 21:04:00 2015 New Revision: 378798 URL: https://svnweb.freebsd.org/changeset/ports/378798 QAT: https://qat.redports.org/buildarchive/r378798/ Log: Add new port: devel/ponscripter-sekai PR: 195799 Differential Revision: https://reviews.freebsd.org/D1804 Approved by: bapt (mentor) Ponscripter is an interpreter for visual-novel-type games, derived from the NScripter design but modified significantly to improve support for Western languages (at the cost of diminished support for Japanese). Ponscripter is a fork of ONScripter-En that drops any attempt to remain in synch with the upstream source code, and instead concentrates on providing the best possible support for Western languages. It is no longer fully NScripter-compatible, but remains an easy target to port NScripter games to when localising them. This fork takes advantage of SDL2 and improves Steam integration. WWW: https://github.com/sekaiproject/ponscripter-fork Added: head/devel/ponscripter-sekai/ head/devel/ponscripter-sekai/Makefile (contents, props changed) head/devel/ponscripter-sekai/distinfo (contents, props changed) head/devel/ponscripter-sekai/files/ head/devel/ponscripter-sekai/files/patch-doc_ponscr-ext.7.xml (contents, props changed) head/devel/ponscripter-sekai/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Feb 10 20:33:51 2015 (r378797) +++ head/devel/Makefile Tue Feb 10 21:04:00 2015 (r378798) @@ -3554,6 +3554,7 @@ SUBDIR += poco SUBDIR += poco-devel SUBDIR += poco-ssl + SUBDIR += ponscripter-sekai SUBDIR += popt SUBDIR += poslib SUBDIR += powerpc64-binutils Added: head/devel/ponscripter-sekai/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ponscripter-sekai/Makefile Tue Feb 10 21:04:00 2015 (r378798) @@ -0,0 +1,79 @@ +# $FreeBSD$ + +PORTNAME= ponscripter-sekai +PORTVERSION= 0.0.6 +CATEGORIES= devel games + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= NScripter-like novel-game interpreter with Unicode support + +LICENSE= GPLv2 # or any later version + +LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ + libsmpeg2.so:${PORTSDIR}/multimedia/smpeg2 \ + libfreetype.so:${PORTSDIR}/print/freetype2 + +CONFLICTS= ponscripter-[0-9]* # doesn't exist yet + +USE_GITHUB= yes +GH_ACCOUNT= sekaiproject +GH_PROJECT= ${PORTNAME:S/sekai/fork/} +GH_TAGNAME= v${PORTVERSION} +GH_COMMIT= 3a8d107 + +USES= compiler:c++11-lang gmake shebangfix +USE_SDL= image2 mixer2 +EXTRACT_AFTER_ARGS=--exclude src/extlib +SHEBANG_FILES= util/xml-template +HAS_CONFIGURE= yes +# XXX Pretend clang is like lang/gcc and can USE_CPU_GFX +CONFIGURE_ENV= CC_VER="4.8" CC="${CC} ${CFLAGS}" CXX="${CXX} ${CXXFLAGS}" \ + CPATH="${LOCALBASE}/include" LIBRARY_PATH="${LOCALBASE}/lib" +CONFIGURE_ARGS= --prefix="${STAGEDIR}${PREFIX}" --unsupported-compiler +LDFLAGS+= -Wl,--as-needed +PORTDOCS= BUGS CHANGES MANUAL README TODO +PLIST_FILES= bin/ponscr \ + share/emacs/site-lisp/ponscripter-mode.el + +OPTIONS_DEFINE= MANPAGES +OPTIONS_DEFAULT=MANPAGES + +MANPAGES_BUILD_DEPENDS= xmlto:${PORTSDIR}/textproc/xmlto +MANPAGES_PLIST_FILES=\ + man/man6/ponscr.6.gz \ + man/man7/ponscr-ext.7.gz \ + man/man7/ponscr-syntax.7.gz \ + man/man7/ponscripter.7.gz + +.include <bsd.port.options.mk> + +post-patch: + @${REINPLACE_CMD} -e '/^ifdef DEBUG/,/^$$/d' \ + -e 's/$$STRIPFLAG/${STRIP}/' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's/$$(LIBS)/$$(LDFLAGS) &/' \ + ${WRKSRC}/src/Makefile.ponscripter +.if ! ${PORT_OPTIONS:MMANPAGES} + @${REINPLACE_CMD} -e '/install-man/d' \ + -e 's/xmlto/${FALSE}/' \ + ${WRKSRC}/configure +.endif + +post-build: +.if ${PORT_OPTIONS:MMANPAGES} + # Remove extraneous whitespace to unbreak manpage syntax + ${REINPLACE_CMD} -e 's/^[[:space:]]*//; /^$$/d' \ + ${WRKSRC}/doc/*.[0-9] +.endif + +post-install: + ${INSTALL_DATA} ${WRKSRC}/misc/ponscripter-mode.el \ + ${STAGEDIR}${PREFIX}/share/emacs/site-lisp +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} +. for f in ${PORTDOCS} + ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} +. endfor +.endif + +.include <bsd.port.mk> Added: head/devel/ponscripter-sekai/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ponscripter-sekai/distinfo Tue Feb 10 21:04:00 2015 (r378798) @@ -0,0 +1,2 @@ +SHA256 (ponscripter-sekai-0.0.6.tar.gz) = 45332bb95347d20bde174753cdd2b2c4ee885a1390c9932dea90c9d8ad8b66ef +SIZE (ponscripter-sekai-0.0.6.tar.gz) = 30564193 Added: head/devel/ponscripter-sekai/files/patch-doc_ponscr-ext.7.xml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ponscripter-sekai/files/patch-doc_ponscr-ext.7.xml Tue Feb 10 21:04:00 2015 (r378798) @@ -0,0 +1,105 @@ +--- doc/ponscr-ext.7.xml~ ++++ doc/ponscr-ext.7.xml +@@ -282,47 +282,61 @@ xmlns:xl="http://www.w3.org/1999/xlink"> + <varlistentry> + <term><literal>punctuation</literal></term> + <listitem> +- <simpara> +- +-defines the following shortcuts: +-.IP "" 2 +-.BR ... \ \-> +-ellipsis +-.br +-.BR \-\- +-\-> en dash +-.br +-.BR \-\-\- +-\-> em dash +-.br +-.BR (c) +-\-> copyright symbol +-.br +-.BR (r) +-\-> registered trademark symbol +-.br +-.BR (tm) +-\-> trademark symbol +-.br +-.BR ++ +-\-> dagger +-.br +-.BR +++ +-\-> double dagger +-.br +-.BR ** +-\-> bullet +-.br +-.BR %_ +-\-> non-breaking space +-.br +-.BR %\- +-\-> non-breaking hyphen +-.br +-.BR %\. \ \-> +-thin space +- +- </simpara> ++ <simpara>Defines the following shortcuts:</simpara> ++ <informaltable frame='none'> ++ <tgroup cols='2'> ++ <tbody> ++ <row> ++ <entry><emphasis role="bold">...</emphasis></entry> ++ <entry>ellipsis</entry> ++ </row> ++ <row> ++ <entry><emphasis role="bold">--</emphasis></entry> ++ <entry>en dash</entry> ++ </row> ++ <row> ++ <entry><emphasis role="bold">---</emphasis></entry> ++ <entry>em dash</entry> ++ </row> ++ <row> ++ <entry><emphasis role="bold">(c)</emphasis></entry> ++ <entry>copyright symbol</entry> ++ </row> ++ <row> ++ <entry><emphasis role="bold">(r)</emphasis></entry> ++ <entry>registered trademark symbol</entry> ++ </row> ++ <row> ++ <entry><emphasis role="bold">(tm)</emphasis></entry> ++ <entry>trademark symbol</entry> ++ </row> ++ <row> ++ <entry><emphasis role="bold">++</emphasis></entry> ++ <entry>dagger</entry> ++ </row> ++ <row> ++ <entry><emphasis role="bold">+++</emphasis></entry> ++ <entry>double dagger</entry> ++ </row> ++ <row> ++ <entry><emphasis role="bold">**</emphasis></entry> ++ <entry>bullet</entry> ++ </row> ++ <row> ++ <entry><emphasis role="bold">%_</emphasis></entry> ++ <entry>non-breaking space</entry> ++ </row> ++ <row> ++ <entry><emphasis role="bold">%-</emphasis></entry> ++ <entry>non-breaking hyphen</entry> ++ </row> ++ <row> ++ <entry><emphasis role="bold">%.</emphasis></entry> ++ <entry>thin space</entry> ++ </row> ++ </tbody> ++ </tgroup> ++ </informaltable> + </listitem> + </varlistentry> + </variablelist> Added: head/devel/ponscripter-sekai/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ponscripter-sekai/pkg-descr Tue Feb 10 21:04:00 2015 (r378798) @@ -0,0 +1,13 @@ +Ponscripter is an interpreter for visual-novel-type games, derived from +the NScripter design but modified significantly to improve support for +Western languages (at the cost of diminished support for Japanese). + +Ponscripter is a fork of ONScripter-En that drops any attempt to remain +in synch with the upstream source code, and instead concentrates on +providing the best possible support for Western languages. It is no +longer fully NScripter-compatible, but remains an easy target to port +NScripter games to when localising them. + +This fork takes advantage of SDL2 and improves Steam integration. + +WWW: https://github.com/sekaiproject/ponscripter-fork
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502102104.t1AL41WX020639>