diff options
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/divide-and-succeed/Makefile | 23 | ||||
-rw-r--r-- | games/divide-and-succeed/distinfo | 3 | ||||
-rw-r--r-- | games/divide-and-succeed/files/patch-CMakeLists.txt | 16 | ||||
-rw-r--r-- | games/divide-and-succeed/pkg-descr | 11 | ||||
-rw-r--r-- | games/divide-and-succeed/pkg-plist | 17 |
6 files changed, 71 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 1279389fdc7a..bb20f93d4abb 100644 --- a/games/Makefile +++ b/games/Makefile @@ -202,6 +202,7 @@ SUBDIR += diameter SUBDIR += diaspora SUBDIR += digger-vgl + SUBDIR += divide-and-succeed SUBDIR += dmjava SUBDIR += dodgindiamond2 SUBDIR += domination diff --git a/games/divide-and-succeed/Makefile b/games/divide-and-succeed/Makefile new file mode 100644 index 000000000000..52fc1a150aa5 --- /dev/null +++ b/games/divide-and-succeed/Makefile @@ -0,0 +1,23 @@ +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= divide-and-succeed +PORTVERSION= 0.9.4 +CATEGORIES= games +MASTER_SITES= http://projects.haxx.es/media/upload/${PORTNAME}/files/ + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Divide polygons into the rigth number of equal parts + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= cmake +USE_SDL= sdl ttf +DATADIR= ${PREFIX}/share/divideandsucceed +INSTALLS_ICONS= yes + +post-install: + ${LN} -s ../../share/icons/hicolor/64x64/apps/divideandsucceed.png ${STAGEDIR}${PREFIX}/share/pixmaps/ + +.include <bsd.port.mk> diff --git a/games/divide-and-succeed/distinfo b/games/divide-and-succeed/distinfo new file mode 100644 index 000000000000..29659f921e70 --- /dev/null +++ b/games/divide-and-succeed/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1487771171 +SHA256 (divide-and-succeed-0.9.4.tar.gz) = 07fdf6bf5552b6a87f600674ae57e9d6b5af5fb8ab0b4db0da46ba0c35ec7327 +SIZE (divide-and-succeed-0.9.4.tar.gz) = 75261 diff --git a/games/divide-and-succeed/files/patch-CMakeLists.txt b/games/divide-and-succeed/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..454b66db6c0c --- /dev/null +++ b/games/divide-and-succeed/files/patch-CMakeLists.txt @@ -0,0 +1,16 @@ +--- CMakeLists.txt.orig 2013-12-11 17:36:43 UTC ++++ CMakeLists.txt +@@ -28,11 +28,9 @@ include_directories( + ${SDLTTF_INCLUDE_DIR} + ) + +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O0") +-set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -g") +-set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall -O2") ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") + +-add_definitions(-DDATA_DIR=".:${CMAKE_INSTALL_PREFIX}/share/divideandsucceed/") ++add_definitions(-DDATA_DIR="${CMAKE_INSTALL_PREFIX}/share/divideandsucceed/") + + # Déclaration de l'exécutable + add_executable( diff --git a/games/divide-and-succeed/pkg-descr b/games/divide-and-succeed/pkg-descr new file mode 100644 index 000000000000..557dadaa6969 --- /dev/null +++ b/games/divide-and-succeed/pkg-descr @@ -0,0 +1,11 @@ +Divide and succeed is a slicing cake game :-D + +You have to cut a Polygon in a specific number of equal parts using +a specific number of lines. + +Levels consists of a list of Polygons, a number of parts and a +number of slices. Maximum width allowed for a level is 600, Maximum +height is 400. There is no level editor at the moment, so it's +text-editor style. + +WWW: http://projects.haxx.es/p/divide-and-succeed/ diff --git a/games/divide-and-succeed/pkg-plist b/games/divide-and-succeed/pkg-plist new file mode 100644 index 000000000000..875298b59a4c --- /dev/null +++ b/games/divide-and-succeed/pkg-plist @@ -0,0 +1,17 @@ +bin/divideandsucceed +share/applications/divideandsucceed.desktop +%%DATADIR%%/font.ttf +%%DATADIR%%/levels/00.csv +%%DATADIR%%/levels/01.csv +%%DATADIR%%/levels/02.csv +%%DATADIR%%/levels/03.csv +%%DATADIR%%/levels/04.csv +%%DATADIR%%/levels/05.csv +%%DATADIR%%/levels/06.csv +%%DATADIR%%/levels/07.csv +%%DATADIR%%/levels/08.csv +%%DATADIR%%/levels/09.csv +%%DATADIR%%/levels/10.csv +%%DATADIR%%/levels/11.csv +share/icons/hicolor/64x64/apps/divideandsucceed.png +share/pixmaps/divideandsucceed.png |