Date: Sat, 23 May 2020 16:31:33 +0000 (UTC) From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r536314 - in head/math: . rubiks rubiks/files Message-ID: <202005231631.04NGVXXa095850@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thierry Date: Sat May 23 16:31:33 2020 New Revision: 536314 URL: https://svnweb.freebsd.org/changeset/ports/536314 Log: Add a compilation of several programs for working with Rubik's cubes, used by SageMath. Added: head/math/rubiks/ head/math/rubiks/Makefile (contents, props changed) head/math/rubiks/distinfo (contents, props changed) head/math/rubiks/files/ head/math/rubiks/files/patch-dietz_cu2_Makefile (contents, props changed) head/math/rubiks/files/patch-dietz_mcube_Makefile (contents, props changed) head/math/rubiks/files/patch-dietz_solver_Makefile (contents, props changed) head/math/rubiks/files/patch-dik_makefile (contents, props changed) head/math/rubiks/pkg-descr (contents, props changed) head/math/rubiks/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Sat May 23 16:14:53 2020 (r536313) +++ head/math/Makefile Sat May 23 16:31:33 2020 (r536314) @@ -862,6 +862,7 @@ SUBDIR += rngstreams SUBDIR += rocs SUBDIR += rpcalc + SUBDIR += rubiks SUBDIR += rubygem-algebra SUBDIR += rubygem-enumerable-statistics SUBDIR += rubygem-expression_parser Added: head/math/rubiks/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubiks/Makefile Sat May 23 16:31:33 2020 (r536314) @@ -0,0 +1,36 @@ +# Created by: thierry@pompo.net +# $FreeBSD$ + +PORTNAME= rubiks +PORTVERSION= 20070912 +CATEGORIES= math games +MASTER_SITES= http://www.cecm.sfu.ca/sage/spkg/upstream/rubiks/ \ + https://mirrors.xmission.com/sage/spkg/upstream/rubiks/ \ + https://www-ftp.lip6.fr/pub/math/sagemath/spkg/upstream/rubiks/ \ + ftp://www-ftp.lip6.fr/pub/math/sagemath/spkg/upstream/rubiks/ \ + https://mirrors.mit.edu/sage/spkg/upstream/rubiks/ \ + http://files.sagemath.org/spkg/upstream/rubiks/ + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Several programs for working with Rubik's cubes + +LICENSE= BSD2CLAUSE GPLv2 +LICENSE_COMB= multi + +USES= dos2unix tar:bz2 +DOS2UNIX_GLOB= *.c *.cpp *.h *.txt Makefile + +CFLAGS+= -DLARGE_MEM -DVERBOSE +.if !defined(WITH_DEBUG) +LDFLAGS+= -s +.endif + +pre-configure: + ${FIND} ${WRKSRC} -iname makefile | ${XARGS} ${REINPLACE_CMD} \ + -e 's|PREFIX=|#PREFIX=|;s|^CC=|#CC=|;s|^CPP=.*|CPP=${CXX}|; \ + s|^LINK=.*|LINK=${CXX}|;s|^CFLAGS|#CFLAGS|;s|^LFLAGS=|#LFLAGS=|' + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/size222 + +.include <bsd.port.mk> Added: head/math/rubiks/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubiks/distinfo Sat May 23 16:31:33 2020 (r536314) @@ -0,0 +1,3 @@ +TIMESTAMP = 1590240032 +SHA256 (rubiks-20070912.tar.bz2) = d8f9f1bcf7a1c7e152eb0df429d391b1a723c614eb7fad6fbbdacf20c19ab57d +SIZE (rubiks-20070912.tar.bz2) = 99028 Added: head/math/rubiks/files/patch-dietz_cu2_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubiks/files/patch-dietz_cu2_Makefile Sat May 23 16:31:33 2020 (r536314) @@ -0,0 +1,11 @@ +--- dietz/cu2/Makefile.orig 2020-05-23 15:31:49 UTC ++++ dietz/cu2/Makefile +@@ -19,7 +19,7 @@ all: build + debug: build-debug + + build: $(OBJS) +- $(LINK) $(LFLAGS) -o cu2 $(OBJS) $(LIBS) ++ $(LINK) $(LFLAGS) -o cu2 $(OBJS) $(LIBS) $(LDFLAGS) + + build-debug: $(DBGOBJS) + $(LINK) $(DBGLFLAGS) -o cu2 $(OBJS) $(DBGLIBS) Added: head/math/rubiks/files/patch-dietz_mcube_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubiks/files/patch-dietz_mcube_Makefile Sat May 23 16:31:33 2020 (r536314) @@ -0,0 +1,11 @@ +--- dietz/mcube/Makefile.orig 2020-05-23 15:31:49 UTC ++++ dietz/mcube/Makefile +@@ -19,7 +19,7 @@ all: build + debug: build-debug + + build: $(OBJS) +- $(LINK) $(LFLAGS) -o mcube $(OBJS) $(LIBS) ++ $(LINK) $(LFLAGS) -o mcube $(OBJS) $(LIBS) $(LDFLAGS) + + build-debug: $(DBGOBJS) + $(LINK) $(DBGLFLAGS) -o mcube $(OBJS) $(DBGLIBS) Added: head/math/rubiks/files/patch-dietz_solver_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubiks/files/patch-dietz_solver_Makefile Sat May 23 16:31:33 2020 (r536314) @@ -0,0 +1,11 @@ +--- dietz/solver/Makefile.orig 2020-05-23 15:31:49 UTC ++++ dietz/solver/Makefile +@@ -10,7 +10,7 @@ RM=/bin/rm -f + all: build + + build: $(OBJS) +- $(LINK) $(LFLAGS) -o cubex $(OBJS) ++ $(LINK) $(LFLAGS) -o cubex $(OBJS) $(LDFLAGS) + + clean: + $(RM) $(OBJS) Added: head/math/rubiks/files/patch-dik_makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubiks/files/patch-dik_makefile Sat May 23 16:31:33 2020 (r536314) @@ -0,0 +1,11 @@ +--- dik/makefile.orig 2008-03-21 12:39:35 UTC ++++ dik/makefile +@@ -9,7 +9,7 @@ OBJS = cube.o \ + globals.o + + cube: $(OBJS) +- $(CC) $(CFLAGS) -o dikcube $(OBJS) ++ $(CC) $(CFLAGS) -o dikcube $(OBJS) $(LDFLAGS) + size dikcube + + size222: size222.o Added: head/math/rubiks/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubiks/pkg-descr Sat May 23 16:31:33 2020 (r536314) @@ -0,0 +1,4 @@ +There are several programs for working with Rubik's cubes, by three +different people. These are required by SageMath. + +WWW: https://www.sagemath.org/ Added: head/math/rubiks/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rubiks/pkg-plist Sat May 23 16:31:33 2020 (r536314) @@ -0,0 +1,6 @@ +bin/cu2 +bin/cubex +bin/dikcube +bin/mcube +bin/optimal +bin/size222
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005231631.04NGVXXa095850>