From owner-svn-ports-head@freebsd.org Mon Jan 1 17:11:46 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A038EEB352B; Mon, 1 Jan 2018 17:11:46 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79EEE744E4; Mon, 1 Jan 2018 17:11:46 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w01HBjQU050255; Mon, 1 Jan 2018 17:11:45 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w01HBiNa050248; Mon, 1 Jan 2018 17:11:44 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201801011711.w01HBiNa050248@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 1 Jan 2018 17:11:44 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . symmetrica symmetrica/files X-SVN-Commit-Revision: 457787 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jan 2018 17:11:46 -0000 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 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