math/rubiks: Remove port

Personal use cases are out of project scope
This commit is contained in:
2025-04-23 14:31:25 +02:00
parent 6b46a5defe
commit dfffacbe93
10 changed files with 1 additions and 90 deletions
-1
View File
@@ -971,7 +971,6 @@
SUBDIR += rehearse
SUBDIR += rexx-regmath
SUBDIR += rngstreams
SUBDIR += rubiks
SUBDIR += rubygem-algebra
SUBDIR += rubygem-bigdecimal
SUBDIR += rubygem-cmath
-34
View File
@@ -1,34 +0,0 @@
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
WWW= https://www.sagemath.org/
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>
-3
View File
@@ -1,3 +0,0 @@
TIMESTAMP = 1590240032
SHA256 (rubiks-20070912.tar.bz2) = d8f9f1bcf7a1c7e152eb0df429d391b1a723c614eb7fad6fbbdacf20c19ab57d
SIZE (rubiks-20070912.tar.bz2) = 99028
@@ -1,11 +0,0 @@
--- 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)
@@ -1,11 +0,0 @@
--- 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)
@@ -1,11 +0,0 @@
--- 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)
-11
View File
@@ -1,11 +0,0 @@
--- 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
-2
View File
@@ -1,2 +0,0 @@
There are several programs for working with Rubik's cubes, by three
different people. These are required by SageMath.
-6
View File
@@ -1,6 +0,0 @@
bin/cu2
bin/cubex
bin/dikcube
bin/mcube
bin/optimal
bin/size222