1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

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/
This commit is contained in:
Dmitry Marakasov 2014-01-28 02:33:50 +00:00
parent 182c1841b2
commit 478f0e1e73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341495
4 changed files with 73 additions and 0 deletions

View File

@ -873,6 +873,7 @@
SUBDIR += senken
SUBDIR += sets
SUBDIR += sex
SUBDIR += sgt-puzzles
SUBDIR += shaaft
SUBDIR += shootingstar
SUBDIR += simplevaders

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (puzzles-r10116.tar.gz) = db0df89c70a807843d6284de191bab6e7e179b82104466444bf3f62a6b8e8c14
SIZE (puzzles-r10116.tar.gz) = 2958422

View File

@ -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/