pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
fltk-sudoku: Update to version 1.3.5
Module Name: pkgsrc-wip
Committed By: Michael Baeuerle <michael.baeuerle%stz-e.de@localhost>
Pushed By: micha
Date: Fri Oct 18 14:14:11 2019 +0200
Changeset: de2981f37da8b7913f5a8a514b5bd0e002369c57
Modified Files:
Makefile
Added Files:
fltk-sudoku/DESCR
fltk-sudoku/Makefile
fltk-sudoku/PLIST
fltk-sudoku/TODO
fltk-sudoku/distinfo
Log Message:
fltk-sudoku: Update to version 1.3.5
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=de2981f37da8b7913f5a8a514b5bd0e002369c57
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
fltk-sudoku/DESCR | 5 +++++
fltk-sudoku/Makefile | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++
fltk-sudoku/PLIST | 2 ++
fltk-sudoku/TODO | 1 +
fltk-sudoku/distinfo | 6 ++++++
6 files changed, 69 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 6b21896e6d..e00ec03ba2 100644
--- a/Makefile
+++ b/Makefile
@@ -852,6 +852,7 @@ SUBDIR+= flite2
SUBDIR+= flnews-devel
SUBDIR+= flowblade
SUBDIR+= flpsed
+SUBDIR+= fltk-sudoku
SUBDIR+= fltk14-devel
SUBDIR+= fltk2
SUBDIR+= fluxbox
diff --git a/fltk-sudoku/DESCR b/fltk-sudoku/DESCR
new file mode 100644
index 0000000000..0cef8876cf
--- /dev/null
+++ b/fltk-sudoku/DESCR
@@ -0,0 +1,5 @@
+Sudoku (pronounced soo-dough-coo with the emphasis on the first syllable) is a
+simple number-based puzzle/game played on a 9x9 grid that is divided into 3x3
+subgrids. The goal is to enter a number from 1 to 9 in each cell so that each
+number appears only once in each column and row. In addition, each 3x3 subgrid
+may only contain one of each number.
diff --git a/fltk-sudoku/Makefile b/fltk-sudoku/Makefile
new file mode 100644
index 0000000000..840e8bd6f5
--- /dev/null
+++ b/fltk-sudoku/Makefile
@@ -0,0 +1,54 @@
+# $NetBSD$
+
+DISTNAME= fltk-1.3.5-source
+PKGNAME= ${DISTNAME:S/fltk-/fltk-sudoku-/:S/-source//}
+VERS= {DISTNAME:S/fltk-//:S/-source//}
+CATEGORIES= games x11
+MASTER_SITES= https://fltk.org/pub/fltk/${VERS}/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+# This is one of the example programs shipped with the FLTK library
+HOMEPAGE= https://www.fltk.org/
+COMMENT= FLTK example Sudoku game creator and solver
+LICENSE= gnu-lgpl-v2
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake
+#USE_LIBTOOL= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+PTHREAD_OPTS+= require
+GNU_CONFIGURE= yes
+#CONFIGURE_ARGS+= --enable-libtool=${LIBTOOL:Q}
+CONFIGURE_ARGS+= --enable-threads
+CONFIGURE_ARGS+= ac_cv_have_overlay=yes
+
+CONFIGURE_ARGS+= --disable-shared
+# Use pkgsrc versions, not package's bundled versions.
+CONFIGURE_ARGS+= --disable-localjpeg --disable-localzlib --disable-localpng
+
+#BUILD_DIRS= test
+#BUILD_TARGET= test
+
+INSTALLATION_DIRS= bin
+
+SETGIDGAME= yes
+SPECIAL_PERMS= bin/fltk-sudoku ${SETGID_GAMES_PERMS}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/test/sudoku ${DESTDIR}${PREFIX}/bin/fltk-sudoku
+
+.if ${OPSYS} != "Darwin"
+. include "../../x11/libXext/buildlink3.mk"
+. include "../../x11/libXft/buildlink3.mk"
+. include "../../x11/libXinerama/buildlink3.mk"
+BUILDLINK_DEPMETHOD.libXt?= build
+. include "../../x11/libXt/buildlink3.mk"
+.endif
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fltk-sudoku/PLIST b/fltk-sudoku/PLIST
new file mode 100644
index 0000000000..f908b3161f
--- /dev/null
+++ b/fltk-sudoku/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/18 17:40:40 reinoud Exp $
+bin/fltk-sudoku
diff --git a/fltk-sudoku/TODO b/fltk-sudoku/TODO
new file mode 100644
index 0000000000..002023a156
--- /dev/null
+++ b/fltk-sudoku/TODO
@@ -0,0 +1 @@
+[ ] pkglint doesn't like SETGIDGAME
diff --git a/fltk-sudoku/distinfo b/fltk-sudoku/distinfo
new file mode 100644
index 0000000000..6d3f67d58f
--- /dev/null
+++ b/fltk-sudoku/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (fltk-1.3.5-source.tar.bz2) = 30ee0a45d0f7f8dfc3139bb237440d3d2784b8a8
+RMD160 (fltk-1.3.5-source.tar.bz2) = 09713fde1b1056633750a5b4964460a370a6cf2e
+SHA512 (fltk-1.3.5-source.tar.bz2) = dee280990a5bf846c9fa44b2e1997d7829e25e17b32e36ea8cf50457c4f1008c57f1cfcdce0b582f6722b33c9aa7b39d8f23cb289e3dff9d588f1a66d7179164
+Size (fltk-1.3.5-source.tar.bz2) = 4497531 bytes
Home |
Main Index |
Thread Index |
Old Index