aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2012-05-13 10:12:22 +0000
committerMarcus von Appen <mva@FreeBSD.org>2012-05-13 10:12:22 +0000
commite7d05c28623e1f9a9b3e8cf787bf2bd9d79c91c4 (patch)
tree462fd6b26328ecedcc03e8a2414f470bfa8c1e5a /games
parentbf0b6617861ccd060cd106468e53162a826be0a8 (diff)
downloadports-e7d05c28623e1f9a9b3e8cf787bf2bd9d79c91c4.tar.gz
ports-e7d05c28623e1f9a9b3e8cf787bf2bd9d79c91c4.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/simsu/Makefile65
-rw-r--r--games/simsu/distinfo2
-rw-r--r--games/simsu/pkg-descr8
-rw-r--r--games/simsu/pkg-plist13
5 files changed, 89 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 3952075c5f99..23dfeff5dbc8 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -809,6 +809,7 @@
SUBDIR += shootingstar
SUBDIR += simplevaders
SUBDIR += simutrans
+ SUBDIR += simsu
SUBDIR += six
SUBDIR += sjeng
SUBDIR += sl
diff --git a/games/simsu/Makefile b/games/simsu/Makefile
new file mode 100644
index 000000000000..a466ae349f29
--- /dev/null
+++ b/games/simsu/Makefile
@@ -0,0 +1,65 @@
+# New Ports collection makefile for: simsu
+# Date created: 2012-04-21
+# Whom: nemysis@gmx.ch
+#
+# $FreeBSD$
+#
+
+PORTNAME= simsu
+PORTVERSION= 1.2.2
+CATEGORIES= games
+MASTER_SITES= http://gottcode.org/${PORTNAME}/
+EXTRACT_SUFX= -src.tar.bz2
+
+MAINTAINER= nemysis@gmx.ch
+COMMENT= Simsu is a basic Sudoku game
+
+LICENSE= GPLv3
+
+USE_QT_VER= 4
+QT_COMPONENTS= moc_build qmake_build rcc_build uic_build iconengines imageformats
+
+INSTALLS_ICONS= yes
+HAS_CONFIGURE= yes
+
+do-configure:
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+ ${QMAKE} PREFIX=${PREFIX} ${WRKSRC}/${PORTNAME}.pro
+
+CONFIGURE_ENV+= UIC="${UIC}" QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}"
+MAKE_ENV+= QMAKESPEC="${QMAKESPEC}"
+
+USE_GMAKE= yes
+MAKE_JOBS_SAFE= yes
+
+PORTDATA= *
+PORTDOCS= CREDITS ChangeLog INSTALL
+
+do-install:
+# Executable
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+# Icons
+ ${CP} -R ${WRKSRC}/icons/hicolor ${PREFIX}/share/icons/
+
+# Pixmaps and Desktop
+ ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}_32.xpm ${PREFIX}/share/pixmaps/
+ ${MKDIR} ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop ${PREFIX}/share/applications/
+
+post-install:
+# Data
+.if !defined (NOPORTDATA)
+ ${MKDIR} ${DATADIR}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} "symmetry translations" ${DATADIR})
+.endif
+
+# Documentations
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+. for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+. endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/simsu/distinfo b/games/simsu/distinfo
new file mode 100644
index 000000000000..da4b04f3a4f3
--- /dev/null
+++ b/games/simsu/distinfo
@@ -0,0 +1,2 @@
+SHA256 (simsu-1.2.2-src.tar.bz2) = 86c18e7c05659ce3e9363b38941fe6f5024943bd2a7b24532bc56ab6a669dddd
+SIZE (simsu-1.2.2-src.tar.bz2) = 295584
diff --git a/games/simsu/pkg-descr b/games/simsu/pkg-descr
new file mode 100644
index 000000000000..f091c8d5b2b9
--- /dev/null
+++ b/games/simsu/pkg-descr
@@ -0,0 +1,8 @@
+Simsu is a basic Sudoku game. You can switch between filling in notes
+(pencil mode), or filling in answers (pen mode).
+To make it easier to see where to place numbers, you can highlight
+all instances of a number. You can also check your answers for
+correctness while playing. The game stores your current notes and answers,
+so that you can pick up where you left off the next time you play.
+
+WWW: http://gottcode.org/simsu/
diff --git a/games/simsu/pkg-plist b/games/simsu/pkg-plist
new file mode 100644
index 000000000000..56443ccdfe0c
--- /dev/null
+++ b/games/simsu/pkg-plist
@@ -0,0 +1,13 @@
+bin/simsu
+share/applications/simsu.desktop
+share/icons/hicolor/128x128/apps/simsu.png
+share/icons/hicolor/16x16/apps/simsu.png
+share/icons/hicolor/22x22/apps/simsu.png
+share/icons/hicolor/24x24/apps/simsu.png
+share/icons/hicolor/256x256/apps/simsu.png
+share/icons/hicolor/32x32/apps/simsu.png
+share/icons/hicolor/48x48/apps/simsu.png
+share/icons/hicolor/64x64/apps/simsu.png
+share/icons/hicolor/scalable/apps/simsu.svg
+share/pixmaps/simsu_32.xpm
+@dirrmtry share/applications