svn commit: r445211 - in head/games: . ballerburg ballerburg/files
Emanuel Haupt
ehaupt at FreeBSD.org
Fri Jul 7 07:51:54 UTC 2017
Author: ehaupt
Date: Fri Jul 7 07:51:52 2017
New Revision: 445211
URL: https://svnweb.freebsd.org/changeset/ports/445211
Log:
Add ballerburg 1.2.0, two players, two castles, and a hill in between.
Added:
head/games/ballerburg/
head/games/ballerburg/Makefile (contents, props changed)
head/games/ballerburg/distinfo (contents, props changed)
head/games/ballerburg/files/
head/games/ballerburg/files/patch-CMakeLists.txt (contents, props changed)
head/games/ballerburg/files/patch-po_CMakeLists.txt (contents, props changed)
head/games/ballerburg/pkg-descr (contents, props changed)
head/games/ballerburg/pkg-plist (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Fri Jul 7 07:33:50 2017 (r445210)
+++ head/games/Makefile Fri Jul 7 07:51:52 2017 (r445211)
@@ -72,6 +72,7 @@
SUBDIR += awele
SUBDIR += balazar
SUBDIR += balazarbrothers
+ SUBDIR += ballerburg
SUBDIR += banihstypos
SUBDIR += barbie_seahorse_adventures
SUBDIR += barrage
Added: head/games/ballerburg/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/ballerburg/Makefile Fri Jul 7 07:51:52 2017 (r445211)
@@ -0,0 +1,36 @@
+# Created by: Emanuel Haupt <ehaupt at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= ballerburg
+PORTVERSION= 1.2.0
+CATEGORIES= games
+MASTER_SITES= http://download.tuxfamily.org/baller/ \
+ LOCAL/ehaupt:icons
+DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+ ${PORTNAME}-icons-1${EXTRACT_SUFX}:icons
+
+MAINTAINER= ehaupt at FreeBSD.org
+COMMENT= Two players, two castles, and a hill in between
+
+LICENSE= GPLv3+
+
+GNU_CONFIGURE= yes
+NLS_USES= gettext
+USES= cmake
+USE_SDL= sdl
+
+OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
+
+DESKTOP_ENTRIES="Ballerburg" \
+ "${COMMENT}" \
+ "${PREFIX}/share/pixmaps/ballerburg.png" \
+ "${PORTNAME}" \
+ "" \
+ false
+
+post-install:
+ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-icons-1/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
+
+.include <bsd.port.mk>
Added: head/games/ballerburg/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/ballerburg/distinfo Fri Jul 7 07:51:52 2017 (r445211)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1499413186
+SHA256 (ballerburg-1.2.0.tar.gz) = 0625f4b213c1180f2cb2179ef2bc6ce35c7e99db2b27306a8690c389ceac6300
+SIZE (ballerburg-1.2.0.tar.gz) = 99910
+SHA256 (ballerburg-icons-1.tar.gz) = 14188ceb30c8d850b280fb402230199dd9f6a05cb7a0c84255c3e2ad227513b0
+SIZE (ballerburg-icons-1.tar.gz) = 786
Added: head/games/ballerburg/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/ballerburg/files/patch-CMakeLists.txt Fri Jul 7 07:51:52 2017 (r445211)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2015-03-29 15:04:01 UTC
++++ CMakeLists.txt
+@@ -50,7 +50,7 @@ if(NOT BIN2LOCALEDIR)
+ endif()
+
+ if(NOT MANDIR)
+- set(MANDIR share/man/man6)
++ set(MANDIR man/man6)
+ endif()
+
+ if(NOT DOCDIR)
Added: head/games/ballerburg/files/patch-po_CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/ballerburg/files/patch-po_CMakeLists.txt Fri Jul 7 07:51:52 2017 (r445211)
@@ -0,0 +1,11 @@
+--- po/CMakeLists.txt.orig 2015-03-29 15:04:01 UTC
++++ po/CMakeLists.txt
+@@ -13,7 +13,7 @@ if (GETTEXT_FOUND)
+ --package-name=${CMAKE_PROJECT_NAME}
+ -o ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.pot
+ ${CMAKE_CURRENT_SOURCE_DIR}/../src/*.c
+- COMMAND sed -i -e s/charset=CHARSET/charset=ISO-8859-1/
++ COMMAND sed -i".bak" -e s/charset=CHARSET/charset=ISO-8859-1/
+ -e s%"${CMAKE_CURRENT_SOURCE_DIR}/../"%%g
+ ${CMAKE_PROJECT_NAME}.pot
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../src/*.c
Added: head/games/ballerburg/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/ballerburg/pkg-descr Fri Jul 7 07:51:52 2017 (r445211)
@@ -0,0 +1,8 @@
+Ballerburg SDL is a classical castle combat game. Two castles, separated by a
+mountain, try to defeat each other with their cannonballs, either by killing the
+opponent's king or by weakening the opponent enough so that the king
+capitulates.
+
+Ballerburg was originally written 1987, for the Atari ST machines.
+
+WWW: http://baller.tuxfamily.org/
Added: head/games/ballerburg/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/ballerburg/pkg-plist Fri Jul 7 07:51:52 2017 (r445211)
@@ -0,0 +1,11 @@
+bin/ballerburg
+man/man6/ballerburg.6.gz
+share/pixmaps/ballerburg.png
+%%DATADIR%%/baller.dat
+%%DATADIR%%/baller.mus
+%%PORTDOCS%%%%DOCSDIR%%/anleitung.html
+%%PORTDOCS%%%%DOCSDIR%%/manual.html
+%%NLS%%share/locale/de/LC_MESSAGES/ballerburg.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/ballerburg.mo
+%%NLS%%share/locale/it/LC_MESSAGES/ballerburg.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/ballerburg.mo
More information about the svn-ports-all
mailing list