Date: Mon, 1 Jan 2018 17:11:44 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457787 - in head/math: . symmetrica symmetrica/files Message-ID: <201801011711.w01HBiNa050248@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Mon Jan 1 17:11:44 2018 New Revision: 457787 URL: https://svnweb.freebsd.org/changeset/ports/457787 Log: New port: math/symmetrica: Collection of routines for combinatorial mathematics Submitted by: myself Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13711 Added: head/math/symmetrica/ head/math/symmetrica/Makefile (contents, props changed) head/math/symmetrica/distinfo (contents, props changed) head/math/symmetrica/files/ head/math/symmetrica/files/patch-makefile (contents, props changed) head/math/symmetrica/files/patch-part.c (contents, props changed) head/math/symmetrica/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Mon Jan 1 16:54:50 2018 (r457786) +++ head/math/Makefile Mon Jan 1 17:11:44 2018 (r457787) @@ -733,6 +733,7 @@ SUBDIR += superlu SUBDIR += superlu_mt SUBDIR += surf + SUBDIR += symmetrica SUBDIR += tablix SUBDIR += taucs SUBDIR += testu01 Added: head/math/symmetrica/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/symmetrica/Makefile Mon Jan 1 17:11:44 2018 (r457787) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= symmetrica +DISTVERSION= 2.0 +CATEGORIES= math +MASTER_SITES= http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/ +DISTFILES= SYM2_0_tar.gz + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Collection of routines for combinatorial mathematics + +LICENSE= PD + +USES= gmake +MAKEFILE= makefile +NO_WRKSUBDIR= yes + +PLIST_FILES= bin/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/test ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> Added: head/math/symmetrica/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/symmetrica/distinfo Mon Jan 1 17:11:44 2018 (r457787) @@ -0,0 +1,3 @@ +TIMESTAMP = 1514705794 +SHA256 (SYM2_0_tar.gz) = bf52788dedc14c482e89f5e7efe8c60864a633314ddd446dd4602d5fdaca0ee2 +SIZE (SYM2_0_tar.gz) = 720154 Added: head/math/symmetrica/files/patch-makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/symmetrica/files/patch-makefile Mon Jan 1 17:11:44 2018 (r457787) @@ -0,0 +1,11 @@ +--- makefile.orig 2007-12-07 07:03:22 UTC ++++ makefile +@@ -1,4 +1,6 @@ ++all: test ++ + .c.o: +- cc -c -O2 -DFAST -DALLTRUE $< ++ $(CC) -c $(CFLAGS) -DFAST -DALLTRUE $< + test: test.c bar.o bi.o boe.o bruch.o classical.o de.o di.o ff.o galois.o ga.o gra.o hash.o hiccup.o io.o ko.o list.o lo.o ma.o mee.o mem.o mes.o mhe.o mhh.o mhm.o mhp.o mhs.o mmm.o mms.o mod_dg_sbd.o mo.o mpp.o mps.o mse.o msh.o msm.o mss.o muir.o na.o nb.o nc.o nu.o part.o pee.o peh.o pem.o perm.o pes.o phe.o phh.o phm.o phs.o plet.o pme.o pmh.o poly.o ppe.o pph.o ppm.o ppp.o pps.o pr.o pse.o psh.o psm.o pss.o rest.o rh.o sab.o sb.o sc.o sr.o ta.o teh.o tem.o tep.o tes.o the.o thm.o thp.o ths.o tme.o tmh.o tmp.o tms.o tpe.o tph.o tpm.o tps.o tse.o tsh.o tsm.o tsp.o vc.o zo.o zykelind.o zyk.o +- gcc -DALLTRUE -DFAST test.c bar.o bi.o boe.o bruch.o classical.o de.o di.o ff.o galois.o ga.o gra.o hash.o hiccup.o io.o ko.o list.o lo.o ma.o mee.o mem.o mes.o mhe.o mhh.o mhm.o mhp.o mhs.o mmm.o mms.o mod_dg_sbd.o mo.o mpp.o mps.o mse.o msh.o msm.o mss.o muir.o na.o nb.o nc.o nu.o part.o pee.o peh.o pem.o perm.o pes.o phe.o phh.o phm.o phs.o plet.o pme.o pmh.o poly.o ppe.o pph.o ppm.o ppp.o pps.o pr.o pse.o psh.o psm.o pss.o rest.o rh.o sab.o sb.o sc.o sr.o ta.o teh.o tem.o tep.o tes.o the.o thm.o thp.o ths.o tme.o tmh.o tmp.o tms.o tpe.o tph.o tpm.o tps.o tse.o tsh.o tsm.o tsp.o vc.o zo.o zykelind.o zyk.o -o test -lm ++ $(CC) -DALLTRUE -DFAST test.c bar.o bi.o boe.o bruch.o classical.o de.o di.o ff.o galois.o ga.o gra.o hash.o hiccup.o io.o ko.o list.o lo.o ma.o mee.o mem.o mes.o mhe.o mhh.o mhm.o mhp.o mhs.o mmm.o mms.o mod_dg_sbd.o mo.o mpp.o mps.o mse.o msh.o msm.o mss.o muir.o na.o nb.o nc.o nu.o part.o pee.o peh.o pem.o perm.o pes.o phe.o phh.o phm.o phs.o plet.o pme.o pmh.o poly.o ppe.o pph.o ppm.o ppp.o pps.o pr.o pse.o psh.o psm.o pss.o rest.o rh.o sab.o sb.o sc.o sr.o ta.o teh.o tem.o tep.o tes.o the.o thm.o thp.o ths.o tme.o tmh.o tmp.o tms.o tpe.o tph.o tpm.o tps.o tse.o tsh.o tsm.o tsp.o vc.o zo.o zykelind.o zyk.o -o test -lm Added: head/math/symmetrica/files/patch-part.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/symmetrica/files/patch-part.c Mon Jan 1 17:11:44 2018 (r457787) @@ -0,0 +1,13 @@ +--- part.c.orig 2017-12-31 07:40:55 UTC ++++ part.c +@@ -1767,8 +1767,8 @@ static int rec01(INT ni, OP vec) + /* to compute number of partitions */ + { + INT erg = OK; +- if (ni<0) return; +- if (not EMPTYP(S_V_I(vec,ni))) return; ++ if (ni<0) return 0; ++ if (not EMPTYP(S_V_I(vec,ni))) return 0; + else if (ni<=1) M_I_I(1,S_V_I(vec,ni)); + else { + Added: head/math/symmetrica/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/symmetrica/pkg-descr Mon Jan 1 17:11:44 2018 (r457787) @@ -0,0 +1,6 @@ +Symmetrica is a collection of routines, written in the programming language C, +through which the user can readily write his/her own programs. Routines which +manipulate many types of mathematical objects are available. Their use is +facilitated by Symmetrica's object oriented style. + +WWW: http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801011711.w01HBiNa050248>