From owner-svn-ports-head@FreeBSD.ORG Sat Feb 7 23:54:39 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 15B391F5; Sat, 7 Feb 2015 23:54:39 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0043396F; Sat, 7 Feb 2015 23:54:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t17Nscv6090066; Sat, 7 Feb 2015 23:54:38 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t17NsagC090056; Sat, 7 Feb 2015 23:54:36 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201502072354.t17NsagC090056@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 7 Feb 2015 23:54:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378627 - in head/devel: . onscripter onscripter-1byte onscripter/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 23:54:39 -0000 Author: jbeich Date: Sat Feb 7 23:54:36 2015 New Revision: 378627 URL: https://svnweb.freebsd.org/changeset/ports/378627 QAT: https://qat.redports.org/buildarchive/r378627/ Log: Add new port: devel/onscripter and devel/onscripter-1byte PR: 196654 Differential Revision: https://reviews.freebsd.org/D1800 Approved by: bapt (mentor) Open source clone of NScripter, a game engine used to create and perform visual novels. WWW: http://onscripter.sourceforge.jp/onscripter.html Added: head/devel/onscripter/ head/devel/onscripter-1byte/ head/devel/onscripter-1byte/Makefile (contents, props changed) head/devel/onscripter-1byte/pkg-descr (contents, props changed) head/devel/onscripter/Makefile (contents, props changed) head/devel/onscripter/distinfo (contents, props changed) head/devel/onscripter/files/ head/devel/onscripter/files/patch-Makefile.Linux (contents, props changed) head/devel/onscripter/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Feb 7 23:46:56 2015 (r378626) +++ head/devel/Makefile Sat Feb 7 23:54:36 2015 (r378627) @@ -1399,6 +1399,8 @@ SUBDIR += oniguruma SUBDIR += oniguruma4 SUBDIR += oniguruma5 + SUBDIR += onscripter + SUBDIR += onscripter-1byte SUBDIR += open-beagle SUBDIR += open-usp-tukubai SUBDIR += opencl Added: head/devel/onscripter-1byte/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/onscripter-1byte/Makefile Sat Feb 7 23:54:36 2015 (r378627) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PKGNAMESUFFIX= -1byte + +COMMENT= ONScripter with ${ENGLISH_DESC:tl} support + +PLIST_FILES= bin/${PKGBASE} + +OPTIONS_SLAVE= ENGLISH +OPTIONS_EXCLUDE=DOCS + +MASTERDIR= ${.CURDIR}/../onscripter +DESCR= ${.CURDIR}/pkg-descr + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin/${PKGBASE} + +.include "${MASTERDIR}/Makefile" Added: head/devel/onscripter-1byte/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/onscripter-1byte/pkg-descr Sat Feb 7 23:54:36 2015 (r378627) @@ -0,0 +1,6 @@ +Open source clone of NScripter, a game engine used to create and +perform visual novels. + +This package provides 1-byte version which is able to run English games. + +WWW: http://onscripter.sourceforge.jp/onscripter.html Added: head/devel/onscripter/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/onscripter/Makefile Sat Feb 7 23:54:36 2015 (r378627) @@ -0,0 +1,63 @@ +# $FreeBSD$ + +PORTNAME= onscripter +PORTVERSION= 20150208 +CATEGORIES= devel games +MASTER_SITES= http://onscripter.sourceforge.jp/ + +MAINTAINER= jbeich@FreeBSD.org +COMMENT?= Visual novel engine compatible with NScripter + +LICENSE= GPLv2 # or any later version + +LIB_DEPENDS= libsmpeg.so:${PORTSDIR}/multimedia/smpeg \ + libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig +RUN_DEPENDS= sdl_ttf>=2.0.11_6:${PORTSDIR}/graphics/sdl_ttf + +USES= gmake +USE_SDL= image mixer ttf +MAKEFILE= Makefile.Linux +ALL_TARGET= ALL +MAKE_ARGS= RM="${RM}" +LDFLAGS+= -Wl,--as-needed +PORTDOCS= * +PLIST_FILES?= bin/nsaconv \ + bin/nsadec \ + bin/onscripter \ + bin/sarconv \ + bin/sardec + +OPTIONS_DEFINE= DOCS ENGLISH LUA PDA UTF8 +OPTIONS_DEFAULT=LUA UTF8 +OPTIONS_EXCLUDE?=ENGLISH + +ENGLISH_DESC= Single-byte character mode +ENGLISH_CFLAGS?=-DENABLE_1BYTE_CHAR -DFORCE_1BYTE_CHAR +LUA_USES= lua +PDA_DESC= Fit window size to screen on small PDA devices +PDA_CFLAGS?= -DPDA_AUTOSIZE +UTF8_CFLAGS?= -DUTF8_CAPTION -DUTF8_FILESYSTEM + +.include + +post-patch: +.if ! ${PORT_OPTIONS:MLUA} + @${REINPLACE_CMD} '/optional: lua/,/^$$/d' ${WRKSRC}/${MAKEFILE} +.endif + @${REINPLACE_CMD} -e 's/$$(LIBS)/$$(LDFLAGS) &/' \ + ${WRKSRC}/Makefile.onscripter + +.if !target(do-install) +do-install: +.for f in ${PLIST_FILES:T} + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin +.endfor +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/www && ${COPYTREE_SHARE} \ + . ${STAGEDIR}${DOCSDIR} \ + "! -name *.orig ! -name *.bak") +.endif +.endif # do-install + +.include Added: head/devel/onscripter/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/onscripter/distinfo Sat Feb 7 23:54:36 2015 (r378627) @@ -0,0 +1,2 @@ +SHA256 (onscripter-20150208.tar.gz) = b123fb56419d659c24e29e8bfab6fe184f1059581beeb2b5b5c2acd47c269d2d +SIZE (onscripter-20150208.tar.gz) = 235129 Added: head/devel/onscripter/files/patch-Makefile.Linux ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/onscripter/files/patch-Makefile.Linux Sat Feb 7 23:54:36 2015 (r378627) @@ -0,0 +1,48 @@ +--- Makefile.Linux~ ++++ Makefile.Linux +@@ -30,28 +30,13 @@ LIBS += `smpeg-config --libs` + DEFS += -DUSE_FONTCONFIG + LIBS += -lfontconfig + +-# recommended: OggVorbis +-DEFS += -DUSE_OGG_VORBIS +-LIBS += -logg -lvorbis -lvorbisfile +- +-# optional: Integer OggVorbis +-#DEFS += -DUSE_OGG_VORBIS -DINTEGER_OGG_VORBIS +-#LIBS += -lvorbisidec +- + # optional: support CD audio + DEFS += -DUSE_CDROM + +-# optional: avifile +-DEFS += -DUSE_AVIFILE +-INCS += `avifile-config --cflags` +-LIBS += `avifile-config --libs` +-TARGET += simple_aviplay$(EXESUFFIX) +-EXT_OBJS += AVIWrapper$(OBJSUFFIX) +- + # optional: lua + DEFS += -DUSE_LUA +-INCS += -I/usr/include/lua5.1 +-LIBS += -llua5.1 ++INCS += -I$(LUA_INCDIR) ++LIBS += -llua-$(LUA_VER) + EXT_OBJS += LUAHandler$(OBJSUFFIX) + + # optional: force screen width for PDA +@@ -62,11 +47,10 @@ EXT_OBJS += LUAHandler$(OBJSUFFIX) + + + # for GNU g++ +-CC = g++ +-LD = g++ -o ++CC = $(CXX) ++LD = $(CXX) -o + +-#CFLAGS = -g -Wall -pipe -c $(INCS) $(DEFS) +-CFLAGS = -O3 -Wall -fomit-frame-pointer -pipe -c $(INCS) $(DEFS) ++CFLAGS += -Wall -c $(INCS) $(DEFS) + + # for GCC on PowerPC specfied + #CC = powerpc-unknown-linux-gnu-g++ Added: head/devel/onscripter/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/onscripter/pkg-descr Sat Feb 7 23:54:36 2015 (r378627) @@ -0,0 +1,6 @@ +Open source clone of NScripter, a game engine used to create and +perform visual novels. + +This package provides the version to run Japanese games. + +WWW: http://onscripter.sourceforge.jp/onscripter.html