From owner-svn-ports-head@freebsd.org Mon Sep 19 11:26:27 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDF15BDF9C2; Mon, 19 Sep 2016 11:26:27 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 99852CA9; Mon, 19 Sep 2016 11:26:27 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8JBQQLu026286; Mon, 19 Sep 2016 11:26:26 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8JBQQxY026279; Mon, 19 Sep 2016 11:26:26 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201609191126.u8JBQQxY026279@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 19 Sep 2016 11:26:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422427 - in head/games: . opentyrian opentyrian/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.23 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: Mon, 19 Sep 2016 11:26:27 -0000 Author: amdmi3 Date: Mon Sep 19 11:26:26 2016 New Revision: 422427 URL: https://svnweb.freebsd.org/changeset/ports/422427 Log: OpenTyrian is a port of the DOS shoot-em-up Tyrian. Jason Emery generously gave the OpenTyrian developers a copy of the Tyrian 2.1 source code, which has since been ported from Turbo Pascal to C. The port uses SDL, making it easily cross-platform. Tyrian is an arcade-style vertical scrolling shooter. The story is set in 20,031 where you play as Trent Hawkins, a skilled fighter-pilot employed to fight Microsol and save the galaxy. WWW: https://bitbucket.org/opentyrian/opentyrian/wiki/Home Added: head/games/opentyrian/ head/games/opentyrian/Makefile (contents, props changed) head/games/opentyrian/distinfo (contents, props changed) head/games/opentyrian/files/ head/games/opentyrian/files/patch-Makefile (contents, props changed) head/games/opentyrian/files/pkg-message.in (contents, props changed) head/games/opentyrian/pkg-descr (contents, props changed) head/games/opentyrian/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Mon Sep 19 11:24:49 2016 (r422426) +++ head/games/Makefile Mon Sep 19 11:26:26 2016 (r422427) @@ -687,6 +687,7 @@ SUBDIR += openssn SUBDIR += opensurge SUBDIR += openttd + SUBDIR += opentyrian SUBDIR += openxcom SUBDIR += openyahtzee SUBDIR += optimax Added: head/games/opentyrian/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/opentyrian/Makefile Mon Sep 19 11:26:26 2016 (r422427) @@ -0,0 +1,52 @@ +# Created by: Dmitry Marakasov +# $FreeBSD$ + +PORTNAME= opentyrian +PORTVERSION= 2.1.20130907 +CATEGORIES= games +MASTER_SITES= https://bitbucket.org/opentyrian/opentyrian/get/ \ + http://mirror.amdmi3.ru/distfiles/ +DISTNAME= ${PORTVERSION} +DIST_SUBDIR= opentyrian + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Arcade-style vertical scrolling shooter + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-77a8715634e3 + +USES= gmake tar:bzip2 +MAKE_ENV= ALL_CFLAGS="${CFLAGS}" +USE_SDL= sdl +SUB_FILES= pkg-message +DATADIR= ${PREFIX}/share/tyrian + +PORTDOCS= CREDITS NEWS README + +OPTIONS_DEFINE= NETWORK DOCS + +NETWORK_DESC= Enable network support +NETWORK_USE= SDL=net +NETWORK_MAKE_ON= WITH_NETWORK=true +NETWORK_MAKE_OFF= WITH_NETWORK=false + +post-patch: + @${REINPLACE_CMD} -e '/custom_data_dir/ s|"."|"${DATADIR}"|' ${WRKSRC}/src/file.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/linux/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/ + ${INSTALL_DATA} ${WRKSRC}/linux/icons/tyrian-32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + ${INSTALL_MAN} ${WRKSRC}/linux/man/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/ + @${MKDIR} ${STAGEDIR}${DATADIR} + ${TOUCH} ${STAGEDIR}${DATADIR}/.keepme + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ +.endfor + +.include Added: head/games/opentyrian/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/opentyrian/distinfo Mon Sep 19 11:26:26 2016 (r422427) @@ -0,0 +1,3 @@ +TIMESTAMP = 1474071784 +SHA256 (opentyrian/2.1.20130907.tar.bz2) = b46b2ad5645f156393a6a79266e40e409a68fd6be2d324960c268e88ee3d1c64 +SIZE (opentyrian/2.1.20130907.tar.bz2) = 249267 Added: head/games/opentyrian/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/opentyrian/files/patch-Makefile Mon Sep 19 11:26:26 2016 (r422427) @@ -0,0 +1,33 @@ +--- Makefile.orig 2013-09-07 23:56:16 UTC ++++ Makefile +@@ -8,8 +8,6 @@ endif + + TARGET := opentyrian + +-WITH_NETWORK := true +- + ############################################################ + + STRIP := strip +@@ -21,21 +19,11 @@ OBJS := $(SRCS:src/%.c=obj/%.o) + + # FLAGS #################################################### + +-ifneq ($(MAKECMDGOALS), release) +- EXTRA_CFLAGS += -g3 -O0 -Werror +-else +- EXTRA_CFLAGS += -g0 -O2 -DNDEBUG +-endif + EXTRA_CFLAGS += -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers + ifeq ($(WITH_NETWORK), true) + EXTRA_CFLAGS += -DWITH_NETWORK + endif + +-HG_REV := $(shell hg id -ib && touch src/hg_revision.h) +-ifneq ($(HG_REV), ) +- EXTRA_CFLAGS += '-DHG_REV="$(HG_REV)"' +-endif +- + EXTRA_LDLIBS += -lm + + SDL_CFLAGS := $(shell $(SDL_CONFIG) --cflags) Added: head/games/opentyrian/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/opentyrian/files/pkg-message.in Mon Sep 19 11:26:26 2016 (r422427) @@ -0,0 +1,6 @@ +In order to play opentyrian, you need to either install games/tyrian-data +port (not available as package) or install Tyrian data files manually +into %%DATADIR%%. + +See project documentation or website for instructions on how to get +the data. Added: head/games/opentyrian/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/opentyrian/pkg-descr Mon Sep 19 11:26:26 2016 (r422427) @@ -0,0 +1,10 @@ +OpenTyrian is a port of the DOS shoot-em-up Tyrian. Jason Emery +generously gave the OpenTyrian developers a copy of the Tyrian 2.1 +source code, which has since been ported from Turbo Pascal to C. +The port uses SDL, making it easily cross-platform. + +Tyrian is an arcade-style vertical scrolling shooter. The story is +set in 20,031 where you play as Trent Hawkins, a skilled fighter-pilot +employed to fight Microsol and save the galaxy. + +WWW: https://bitbucket.org/opentyrian/opentyrian/wiki/Home Added: head/games/opentyrian/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/opentyrian/pkg-plist Mon Sep 19 11:26:26 2016 (r422427) @@ -0,0 +1,5 @@ +bin/opentyrian +man/man6/opentyrian.6.gz +share/applications/opentyrian.desktop +share/pixmaps/opentyrian.png +%%DATADIR%%/.keepme