mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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
This commit is contained in:
parent
876a210974
commit
67bb2e20d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378798
5 changed files with 200 additions and 0 deletions
|
@ -3554,6 +3554,7 @@
|
|||
SUBDIR += poco
|
||||
SUBDIR += poco-devel
|
||||
SUBDIR += poco-ssl
|
||||
SUBDIR += ponscripter-sekai
|
||||
SUBDIR += popt
|
||||
SUBDIR += poslib
|
||||
SUBDIR += powerpc64-binutils
|
||||
|
|
79
devel/ponscripter-sekai/Makefile
Normal file
79
devel/ponscripter-sekai/Makefile
Normal file
|
@ -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>
|
2
devel/ponscripter-sekai/distinfo
Normal file
2
devel/ponscripter-sekai/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (ponscripter-sekai-0.0.6.tar.gz) = 45332bb95347d20bde174753cdd2b2c4ee885a1390c9932dea90c9d8ad8b66ef
|
||||
SIZE (ponscripter-sekai-0.0.6.tar.gz) = 30564193
|
105
devel/ponscripter-sekai/files/patch-doc_ponscr-ext.7.xml
Normal file
105
devel/ponscripter-sekai/files/patch-doc_ponscr-ext.7.xml
Normal file
|
@ -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>
|
13
devel/ponscripter-sekai/pkg-descr
Normal file
13
devel/ponscripter-sekai/pkg-descr
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue