head 1.18; access; symbols pkgsrc-2023Q4:1.18.0.12 pkgsrc-2023Q4-base:1.18 pkgsrc-2023Q3:1.18.0.10 pkgsrc-2023Q3-base:1.18 pkgsrc-2023Q2:1.18.0.8 pkgsrc-2023Q2-base:1.18 pkgsrc-2023Q1:1.18.0.6 pkgsrc-2023Q1-base:1.18 pkgsrc-2022Q4:1.18.0.4 pkgsrc-2022Q4-base:1.18 pkgsrc-2022Q3:1.18.0.2 pkgsrc-2022Q3-base:1.18 pkgsrc-2022Q2:1.17.0.18 pkgsrc-2022Q2-base:1.17 pkgsrc-2022Q1:1.17.0.16 pkgsrc-2022Q1-base:1.17 pkgsrc-2021Q4:1.17.0.14 pkgsrc-2021Q4-base:1.17 pkgsrc-2021Q3:1.17.0.12 pkgsrc-2021Q3-base:1.17 pkgsrc-2021Q2:1.17.0.10 pkgsrc-2021Q2-base:1.17 pkgsrc-2021Q1:1.17.0.8 pkgsrc-2021Q1-base:1.17 pkgsrc-2020Q4:1.17.0.6 pkgsrc-2020Q4-base:1.17 pkgsrc-2020Q3:1.17.0.4 pkgsrc-2020Q3-base:1.17 pkgsrc-2020Q2:1.17.0.2 pkgsrc-2020Q2-base:1.17 pkgsrc-2020Q1:1.16.0.2 pkgsrc-2020Q1-base:1.16 pkgsrc-2019Q4:1.16.0.4 pkgsrc-2019Q4-base:1.16 pkgsrc-2019Q3:1.15.0.40 pkgsrc-2019Q3-base:1.15 pkgsrc-2019Q2:1.15.0.38 pkgsrc-2019Q2-base:1.15 pkgsrc-2019Q1:1.15.0.36 pkgsrc-2019Q1-base:1.15 pkgsrc-2018Q4:1.15.0.34 pkgsrc-2018Q4-base:1.15 pkgsrc-2018Q3:1.15.0.32 pkgsrc-2018Q3-base:1.15 pkgsrc-2018Q2:1.15.0.30 pkgsrc-2018Q2-base:1.15 pkgsrc-2018Q1:1.15.0.28 pkgsrc-2018Q1-base:1.15 pkgsrc-2017Q4:1.15.0.26 pkgsrc-2017Q4-base:1.15 pkgsrc-2017Q3:1.15.0.24 pkgsrc-2017Q3-base:1.15 pkgsrc-2017Q2:1.15.0.20 pkgsrc-2017Q2-base:1.15 pkgsrc-2017Q1:1.15.0.18 pkgsrc-2017Q1-base:1.15 pkgsrc-2016Q4:1.15.0.16 pkgsrc-2016Q4-base:1.15 pkgsrc-2016Q3:1.15.0.14 pkgsrc-2016Q3-base:1.15 pkgsrc-2016Q2:1.15.0.12 pkgsrc-2016Q2-base:1.15 pkgsrc-2016Q1:1.15.0.10 pkgsrc-2016Q1-base:1.15 pkgsrc-2015Q4:1.15.0.8 pkgsrc-2015Q4-base:1.15 pkgsrc-2015Q3:1.15.0.6 pkgsrc-2015Q3-base:1.15 pkgsrc-2015Q2:1.15.0.4 pkgsrc-2015Q2-base:1.15 pkgsrc-2015Q1:1.15.0.2 pkgsrc-2015Q1-base:1.15 pkgsrc-2014Q4:1.14.0.18 pkgsrc-2014Q4-base:1.14 pkgsrc-2014Q3:1.14.0.16 pkgsrc-2014Q3-base:1.14 pkgsrc-2014Q2:1.14.0.14 pkgsrc-2014Q2-base:1.14 pkgsrc-2014Q1:1.14.0.12 pkgsrc-2014Q1-base:1.14 pkgsrc-2013Q4:1.14.0.10 pkgsrc-2013Q4-base:1.14 pkgsrc-2013Q3:1.14.0.8 pkgsrc-2013Q3-base:1.14 pkgsrc-2013Q2:1.14.0.6 pkgsrc-2013Q2-base:1.14 pkgsrc-2013Q1:1.14.0.4 pkgsrc-2013Q1-base:1.14 pkgsrc-2012Q4:1.14.0.2 pkgsrc-2012Q4-base:1.14 pkgsrc-2012Q3:1.13.0.8 pkgsrc-2012Q3-base:1.13 pkgsrc-2012Q2:1.13.0.6 pkgsrc-2012Q2-base:1.13 pkgsrc-2012Q1:1.13.0.4 pkgsrc-2012Q1-base:1.13 pkgsrc-2011Q4:1.13.0.2 pkgsrc-2011Q4-base:1.13 pkgsrc-2011Q3:1.12.0.4 pkgsrc-2011Q3-base:1.12 pkgsrc-2011Q2:1.12.0.2 pkgsrc-2011Q2-base:1.12 pkgsrc-2011Q1:1.11.0.16 pkgsrc-2011Q1-base:1.11 pkgsrc-2010Q4:1.11.0.14 pkgsrc-2010Q4-base:1.11 pkgsrc-2010Q3:1.11.0.12 pkgsrc-2010Q3-base:1.11 pkgsrc-2010Q2:1.11.0.10 pkgsrc-2010Q2-base:1.11 pkgsrc-2010Q1:1.11.0.8 pkgsrc-2010Q1-base:1.11 pkgsrc-2009Q4:1.11.0.6 pkgsrc-2009Q4-base:1.11 pkgsrc-2009Q3:1.11.0.4 pkgsrc-2009Q3-base:1.11 pkgsrc-2009Q2:1.11.0.2 pkgsrc-2009Q2-base:1.11 pkgsrc-2009Q1:1.10.0.6 pkgsrc-2009Q1-base:1.10 pkgsrc-2008Q4:1.10.0.4 pkgsrc-2008Q4-base:1.10 pkgsrc-2008Q3:1.10.0.2 pkgsrc-2008Q3-base:1.10 cube-native-xorg:1.9.0.8 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.6 pkgsrc-2008Q2-base:1.9 cwrapper:1.9.0.4 pkgsrc-2008Q1:1.9.0.2 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.4.0.4 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.2 pkgsrc-2007Q3-base:1.4 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.18 date 2022.09.24.08.33.19; author nia; state Exp; branches; next 1.17; commitid nEHltSdvgDMMM5VD; 1.17 date 2020.04.25.21.49.38; author rillig; state Exp; branches; next 1.16; commitid NSInvAPEu74IxO5C; 1.16 date 2019.11.03.19.28.48; author rillig; state Exp; branches; next 1.15; commitid ZNZBHdbtmRabmrJB; 1.15 date 2015.01.04.03.07.51; author dholland; state Exp; branches; next 1.14; commitid vY3sjD5KEFZYCE4y; 1.14 date 2012.10.06.11.54.57; author asau; state Exp; branches; next 1.13; 1.13 date 2011.12.12.07.11.06; author marino; state Exp; branches; next 1.12; 1.12 date 2011.05.28.22.41.43; author dholland; state Exp; branches; next 1.11; 1.11 date 2009.05.19.08.59.15; author wiz; state Exp; branches; next 1.10; 1.10 date 2008.10.03.19.15.52; author rillig; state Exp; branches; next 1.9; 1.9 date 2008.03.04.11.02.24; author rillig; state Exp; branches; next 1.8; 1.8 date 2008.03.04.06.59.06; author jlam; state Exp; branches; next 1.7; 1.7 date 2008.02.28.11.58.48; author rillig; state Exp; branches; next 1.6; 1.6 date 2008.02.20.10.49.16; author rillig; state Exp; branches; next 1.5; 1.5 date 2008.02.02.17.05.00; author rillig; state Exp; branches; next 1.4; 1.4 date 2007.07.29.01.35.57; author rillig; state Exp; branches; next 1.3; 1.3 date 2007.07.25.22.55.35; author rillig; state Exp; branches; next 1.2; 1.2 date 2007.07.25.00.19.33; author rillig; state Exp; branches; next 1.1; 1.1 date 2007.07.25.00.11.10; author rillig; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2007.07.25.00.11.10; author rillig; state Exp; branches; next ; desc @@ 1.18 log @velena: cannot build on aarch64 due to -m32 usage @ text @# $NetBSD: Makefile,v 1.17 2020/04/25 21:49:38 rillig Exp $ # DISTNAME= veleng10 PKGNAME= velena-1.0 PKGREVISION= 4 CATEGORIES= games MASTER_SITES= http://www.ce.unipr.it/~gbe/ EXTRACT_SUFX= .zip MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= http://www.ce.unipr.it/~gbe/ COMMENT= Perfect-play engine for connect four LICENSE= velena-license RESTRICTED= You must not charge a fee for this software nor for any derived work in which this software is included. NO_BIN_ON_CDROM= ${RESTRICTED} NO_SRC_ON_CDROM= ${RESTRICTED} # These platforms cannot build 32-on-64 binaries. NOT_FOR_PLATFORM+= *-*-alpha NOT_FOR_PLATFORM+= *-*-aarch64* NOT_FOR_PLATFORM+= DragonFly-*-x86_64 EXTRACT_OPTS_ZIP= -LLaqo WRKSRC= ${WRKDIR} MAKE_FILE= makefile AUTO_MKDIRS= yes SUBST_CLASSES+= path SUBST_STAGE.path= pre-configure SUBST_FILES.path= connect4.h SUBST_SED.path= -e 's,"white_ob.cn4","${PREFIX}/share/velena/white_ob.cn4",' SUBST_CLASSES+= ansi-c SUBST_STAGE.ansi-c= pre-configure SUBST_FILES.ansi-c= *.c SUBST_SED.ansi-c= -e 's,,,' SUBST_CLASSES+= cflags SUBST_STAGE.cflags= pre-configure SUBST_FILES.cflags= makefile SUBST_SED.cflags= -e s,^CFLAGS.*,, .include "../../mk/bsd.prefs.mk" # Velena isn't 64bit-safe, which results in a "fatal error" for some # board positions. # # Try for example "c170", which works with -m32 and fails without. # .for P in ${LP64PLATFORMS} . if ${MACHINE_PLATFORM:M${P}} CFLAGS+= -m32 LDFLAGS+= -m32 . endif .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/veleng ${DESTDIR}${PREFIX}/bin/velena ${INSTALL_DATA} ${WRKSRC}/readme ${DESTDIR}${PREFIX}/share/doc/velena/README ${INSTALL_DATA} ${WRKSRC}/white_ob.cn4 ${DESTDIR}${PREFIX}/share/velena/. .include "../../mk/bsd.pkg.mk" @ 1.17 log @games/velena: remove redundant SUBST_FILES pattern @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2019/11/03 19:28:48 rillig Exp $ d22 1 @ 1.16 log @games: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2015/01/04 03:07:51 dholland Exp $ d36 1 a36 1 SUBST_FILES.ansi-c= *.c *.h @ 1.15 log @Systematize handling of 32-on-64 binaries. XXX: We need common infrastructure for this; there's more of them than XXX: I realized. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2012/10/06 11:54:57 asau Exp $ d52 1 a52 1 .if ${MACHINE_PLATFORM:M${P}} d55 1 a55 1 .endif @ 1.14 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2011/12/12 07:11:06 marino Exp $ d20 3 a22 1 NOT_FOR_PLATFORM= DragonFly-*-x86_64 # Can't build 32-bit binaries d44 2 d51 4 a54 7 .include "../../mk/bsd.prefs.mk" .if ${MACHINE_ARCH:M*64} != "" . if ${PKGSRC_COMPILER:Mgcc} != "" CFLAGS+= -m32 . else PKG_FAIL_REASON+= "Velena doesn't work on 64-bit platforms." . endif d56 1 @ 1.13 log @games/velena: Mask DragonFly-x86_64 DragonFly x86_64 can't build 32-bit binaries. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2011/05/28 22:41:43 dholland Exp $ a20 1 PKG_DESTDIR_SUPPORT= user-destdir @ 1.12 log @Minor rototill and respin patches; add patch comments, etc. I was taking a shot at making it work on LP64, but there seem to be deeper problems than the usual sorts of things. Add a comment in the makefile documenting a case that fails on LP64 but not ILP32. PKGREVISION++. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2009/05/19 08:59:15 wiz Exp $ d20 1 @ 1.11 log @Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT block). Uncomment some commented out LICENSE lines while here. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2008/10/03 19:15:52 rillig Exp $ d6 1 a6 1 PKGREVISION= 3 d44 3 @ 1.10 log @Velena doesn't work on 64-bit platforms. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2008/03/04 11:02:24 rillig Exp $ d14 1 a15 1 LICENSE= velena-license @ 1.9 log @Resign from maintaining a lot of packages, so everyone is free to update them at will. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2008/03/04 06:59:06 jlam Exp $ d37 16 @ 1.8 log @Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2008/02/28 11:58:48 rillig Exp $ d11 1 a11 1 MAINTAINER= rillig@@NetBSD.org @ 1.7 log @Replaced the deprecated INSTALLATION_DIRS_FROM_PLIST with AUTO_MKDIRS, to shut up the pkglint warnings. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2008/02/20 10:49:16 rillig Exp $ d20 2 d25 1 a25 1 AUTO_MKDIRS= yes @ 1.6 log @I got the velena license wrong and assumed it were public domain, but it isn't. PKGREVISION++ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2008/02/02 17:05:00 rillig Exp $ d23 1 a23 1 INSTALLATION_DIRS_FROM_PLIST= yes @ 1.5 log @Made stdout unbuffered, so that the program can be used by other programs. PKGREVISION++ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2007/07/29 01:35:57 rillig Exp $ d6 1 a6 1 PKGREVISION= 2 d15 1 a15 1 LICENSE= public-domain @ 1.4 log @Fixed outdated inclusion of . @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2007/07/25 22:55:35 rillig Exp $ d6 1 a6 1 PKGREVISION= 1 @ 1.3 log @Velena needs the opening book installed to work correctly. PKGREVISION++ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2007/07/25 00:19:33 rillig Exp $ d30 5 @ 1.2 log @Corrected the license part. This is an example of a weird combination: public-domain, but no commercial use. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2007/07/25 00:11:10 rillig Exp $ d6 1 d25 5 d33 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d14 4 a17 1 #LICENSE= public-domain @ 1.1.1.1 log @Imported velena. Velena is a program playing connect-four based on the work of Victor Allis, who proved in 1986 that the first player can always win. @ text @@