Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2014 02:33:50 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341495 - in head/games: . sgt-puzzles
Message-ID:  <201401280233.s0S2XoSY035714@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jan 28 02:33:50 2014
New Revision: 341495
URL: http://svnweb.freebsd.org/changeset/ports/341495
QAT: https://qat.redports.org/buildarchive/r341495/

Log:
  Simon Tatham's Portable Puzzle Collection is a set of popular puzzle
  games for one player including Black Box, Bridges, Cube, Dominosa,
  Fifteen, Filling, Flip, Galaxies, Guess, Inertia, Keen, Light Up,
  Loopy, Magnets, Map, Mines, Net, Netslide, Pattern, Pearl, Pegs,
  Range, Rectangles, Same Game, Signpost, Singles, Sixteen, Slant,
  Solo, Tents, Towers, Twiddle, Undead, Unequal, Unruly and Untangle.
  
  WWW: http://www.chiark.greenend.org.uk/~sgtatham/puzzles/

Added:
  head/games/sgt-puzzles/
  head/games/sgt-puzzles/Makefile   (contents, props changed)
  head/games/sgt-puzzles/distinfo   (contents, props changed)
  head/games/sgt-puzzles/pkg-descr   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Tue Jan 28 00:25:23 2014	(r341494)
+++ head/games/Makefile	Tue Jan 28 02:33:50 2014	(r341495)
@@ -873,6 +873,7 @@
     SUBDIR += senken
     SUBDIR += sets
     SUBDIR += sex
+    SUBDIR += sgt-puzzles
     SUBDIR += shaaft
     SUBDIR += shootingstar
     SUBDIR += simplevaders

Added: head/games/sgt-puzzles/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/sgt-puzzles/Makefile	Tue Jan 28 02:33:50 2014	(r341495)
@@ -0,0 +1,62 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	puzzles
+PORTVERSION=	r10116
+CATEGORIES=	games
+MASTER_SITES=	http://www.chiark.greenend.org.uk/~sgtatham/puzzles/ \
+		http://mirror.amdmi3.ru/distfiles/
+PKGNAMEPREFIX=	sgt-
+
+MAINTAINER=	amdmi3@FreeBSD.org
+COMMENT=	Simon Tatham's Portable Puzzle Collection
+
+LICENSE=	MIT
+
+GNU_CONFIGURE=	yes
+USES=		pkgconfig
+USE_GNOME=	gtk20
+CONFIGURE_ARGS=	--program-prefix=sgt-
+
+PUZZLE_LIST=	blackbox bridges cube dominosa fifteen filling flip \
+		galaxies guess inertia keen lightup loopy magnets map \
+		mines net netslide pattern pearl pegs range rect samegame \
+		signpost singles sixteen slant solo tents towers twiddle \
+		undead unequal unruly untangle
+
+.for f in ${PUZZLE_LIST}
+PLIST_FILES+=	bin/sgt-${f}
+.endfor
+
+OPTIONS_DEFINE=	DESKTOP_FILES
+OPTIONS_DEFAULT=DESKTOP_FILES
+DESKTOP_FILES_DESC=Install menu entries (lots of them)
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDESKTOP_FILES}
+. for f in ${PUZZLE_LIST}
+PLIST_FILES+=	share/pixmaps/sgt-${f}.png
+
+DESKTOP_ENTRIES+=\
+		"${f}" \
+		"${f} puzzle game" \
+		"sgt-${f}" \
+		"sgt-${f}" \
+		"Game;LogicGame;" \
+		""
+. endfor
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/configure.ac \
+		${WRKSRC}/configure
+
+.if ${PORT_OPTIONS:MDESKTOP_FILES}
+post-install:
+. for f in ${PUZZLE_LIST}
+	${INSTALL_DATA} ${WRKSRC}/icons/${f}-48d24.png ${STAGEDIR}${PREFIX}/share/pixmaps/sgt-${f}.png
+. endfor
+.endif
+
+.include <bsd.port.mk>

Added: head/games/sgt-puzzles/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/sgt-puzzles/distinfo	Tue Jan 28 02:33:50 2014	(r341495)
@@ -0,0 +1,2 @@
+SHA256 (puzzles-r10116.tar.gz) = db0df89c70a807843d6284de191bab6e7e179b82104466444bf3f62a6b8e8c14
+SIZE (puzzles-r10116.tar.gz) = 2958422

Added: head/games/sgt-puzzles/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/sgt-puzzles/pkg-descr	Tue Jan 28 02:33:50 2014	(r341495)
@@ -0,0 +1,8 @@
+Simon Tatham's Portable Puzzle Collection is a set of popular puzzle
+games for one player including Black Box, Bridges, Cube, Dominosa,
+Fifteen, Filling, Flip, Galaxies, Guess, Inertia, Keen, Light Up,
+Loopy, Magnets, Map, Mines, Net, Netslide, Pattern, Pearl, Pegs,
+Range, Rectangles, Same Game, Signpost, Singles, Sixteen, Slant,
+Solo, Tents, Towers, Twiddle, Undead, Unequal, Unruly and Untangle.
+
+WWW: http://www.chiark.greenend.org.uk/~sgtatham/puzzles/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401280233.s0S2XoSY035714>