pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/fltk-sudoku games/fltk-sudoku: Update to 1.3.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd19b3536d8b
branches:  trunk
changeset: 342529:cd19b3536d8b
user:      micha <micha%pkgsrc.org@localhost>
date:      Mon Oct 21 10:04:12 2019 +0000

description:
games/fltk-sudoku: Update to 1.3.5

No functional changes, but uses current FLTK release.

diffstat:

 games/fltk-sudoku/Makefile |  58 ++++++++++++++++++---------------------------
 games/fltk-sudoku/distinfo |  10 +++---
 2 files changed, 28 insertions(+), 40 deletions(-)

diffs (103 lines):

diff -r f385be7c3579 -r cd19b3536d8b games/fltk-sudoku/Makefile
--- a/games/fltk-sudoku/Makefile        Mon Oct 21 09:59:59 2019 +0000
+++ b/games/fltk-sudoku/Makefile        Mon Oct 21 10:04:12 2019 +0000
@@ -1,61 +1,49 @@
-# $NetBSD: Makefile,v 1.16 2017/08/01 17:40:11 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2019/10/21 10:04:12 micha Exp $
 
-DISTNAME=      fltk-1.1.7-source
-PKGNAME=       fltk-sudoku-1.1.7
-PKGREVISION=   8
-VERS=          ${DISTNAME:S/fltk-//:S/-source//}
-CATEGORIES=    x11
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=fltk/}
-MASTER_SITES+= ftp://ftp2.easysw.com/pub/fltk/${VERS}/
-MASTER_SITES+= ftp://ftp3.easysw.com/pub/fltk/${VERS}/
-MASTER_SITES+= http://ftp.easysw.com/pub/fltk/${VERS}/
-MASTER_SITES+= http://mirror.nu6.org/ftp.easysw.com/pub/fltk/${VERS}/
-MASTER_SITES+= ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/${VERS}/
-MASTER_SITES+= ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/${VERS}/
+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
-#HOMEPAGE=     http://www.easysw.com/~mike/sudoku/index.html
+# 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
-
-SUBST_CLASSES+=                config
-SUBST_STAGE.config=    post-configure
-SUBST_MESSAGE.config=  Adjusting paths to fltk libraries in configure result
-SUBST_FILES.config=    makeinclude fltk-config
-SUBST_SED.config=      -e "s|../lib/|${PREFIX}/lib/|g"
+CONFIGURE_ARGS+=       ac_cv_have_overlay=yes
 
-SUBST_CLASSES+=                config2
-SUBST_STAGE.config2=   post-configure
-SUBST_MESSAGE.config2= Adjusting paths to fltk libraries in Sudoku's Makefile
-SUBST_FILES.config2=   test/Makefile
-SUBST_SED.config2=     -e "s|../lib/||g"
-
-BUILD_DIRS=            test
-BUILD_TARGET=          sudoku
+CONFIGURE_ARGS+=       --disable-shared
+# Use pkgsrc versions, not package's bundled versions.
+CONFIGURE_ARGS+=       --disable-localjpeg --disable-localzlib --disable-localpng
 
 INSTALLATION_DIRS=     bin
 
-SETGIDGAME=            yes
+USE_GAMESGROUP=                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 "../../x11/fltk/buildlink3.mk"
-.include "../../x11/libX11/buildlink3.mk"
-.include "../../x11/libXt/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f385be7c3579 -r cd19b3536d8b games/fltk-sudoku/distinfo
--- a/games/fltk-sudoku/distinfo        Mon Oct 21 09:59:59 2019 +0000
+++ b/games/fltk-sudoku/distinfo        Mon Oct 21 10:04:12 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 20:56:49 agc Exp $
+$NetBSD: distinfo,v 1.3 2019/10/21 10:04:12 micha Exp $
 
-SHA1 (fltk-1.1.7-source.tar.bz2) = 16b174522920403af1e4ccddd36daaefda3765c8
-RMD160 (fltk-1.1.7-source.tar.bz2) = a539a1c6bb3363e54bc82c7995037c5d8ede9dd7
-SHA512 (fltk-1.1.7-source.tar.bz2) = 8e4854968bb61a974669766718311c9028bb5abafed58d52f49aabb26249924cf848e554247dcf6e30a916f3fc0bb002f043739b6a006c738a7294bc11bc5aaa
-Size (fltk-1.1.7-source.tar.bz2) = 2060757 bytes
+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