Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Dec 2017 14:29:57 -0700
From:      Adam Weinberger <adamw@adamw.org>
To:        yuri@freebsd.org
Cc:        Alexey Dokuchaev <danfe@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r456674 - in head/graphics: . libQGLViewer libQGLViewer/files
Message-ID:  <E628F4ED-8707-4094-8849-AAF51477583E@adamw.org>
In-Reply-To: <dd23ef4c-5136-d6b8-f638-95347ed3a357@freebsd.org>
References:  <201712182143.vBILhFND023143@repo.freebsd.org> <20171224135522.GA1693@FreeBSD.org> <6fa2551a-dee7-9388-07fc-6539800b6c5a@freebsd.org> <20171225112028.GA61880@FreeBSD.org> <dd23ef4c-5136-d6b8-f638-95347ed3a357@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 25 Dec, 2017, at 11:56, Yuri <yuri@freebsd.org> wrote:
>
> On 12/25/17 03:20, Alexey Dokuchaev wrote:
>> "Official" names look good in documentation and port description, but not
>> so as port's directory and PORTNAME.  The fact that it was earlier named
>
> Yeah .... let's just disagree on that one.
>

Alexey and Tijl are not wrong, Yuri. Alexey has been crucial in maintaining  
standards in the ports tree, and his input deserves far more than a  
dismissive response.

I’ve been very torn when approving these reviews. On the one hand, the port  
should be named what end-users call it, and (using the SCIP example) the  
project refers to itself as SCIP 100% of the time. But on the other hand,  
FreeBSD convention has ALWAYS been names that match what’s installed, and  
controverting that breaks precedent and violates POLA.

I’ve been approving these because that’s what the projects call themselves.  
But that’s not sufficient reason to break tradition, and it’s a  
conversation that has to involve far more input than you and me.

For now, please focus on ports without capitalization questions until the  
way forward is clear.

# Adam


--
Adam Weinberger
adamw@adamw.org
http://www.adamw.org
From owner-svn-ports-all@freebsd.org  Mon Dec 25 21:31:56 2017
Return-Path: <owner-svn-ports-all@freebsd.org>
Delivered-To: svn-ports-all@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 D8072EA78D3;
 Mon, 25 Dec 2017 21:31:56 +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 AF03A7454E;
 Mon, 25 Dec 2017 21:31:56 +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 vBPLVtI7097292;
 Mon, 25 Dec 2017 21:31:55 GMT (envelope-from yuri@FreeBSD.org)
Received: (from yuri@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBPLVtDT097286;
 Mon, 25 Dec 2017 21:31:55 GMT (envelope-from yuri@FreeBSD.org)
Message-Id: <201712252131.vBPLVtDT097286@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: yuri set sender to
 yuri@FreeBSD.org using -f
From: Yuri Victorovich <yuri@FreeBSD.org>
Date: Mon, 25 Dec 2017 21:31:55 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r457259 - in head/math: . zimpl zimpl/files
X-SVN-Group: ports-head
X-SVN-Commit-Author: yuri
X-SVN-Commit-Paths: in head/math: . zimpl zimpl/files
X-SVN-Commit-Revision: 457259
X-SVN-Commit-Repository: ports
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-all@freebsd.org
X-Mailman-Version: 2.1.25
Precedence: list
List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all/>;
List-Post: <mailto:svn-ports-all@freebsd.org>
List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Dec 2017 21:31:56 -0000

Author: yuri
Date: Mon Dec 25 21:31:55 2017
New Revision: 457259
URL: https://svnweb.freebsd.org/changeset/ports/457259

Log:
  New port: math/zimpl: Language to translate the LP models into .lp or .mps
  
  Submitted by:	myself
  Approved by:	adamw (mentor)
  Differential Revision:	https://reviews.freebsd.org/D13623

Added:
  head/math/zimpl/
  head/math/zimpl/Makefile   (contents, props changed)
  head/math/zimpl/distinfo   (contents, props changed)
  head/math/zimpl/files/
  head/math/zimpl/files/patch-Makefile   (contents, props changed)
  head/math/zimpl/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Mon Dec 25 20:55:49 2017	(r457258)
+++ head/math/Makefile	Mon Dec 25 21:31:55 2017	(r457259)
@@ -766,5 +766,6 @@
     SUBDIR += xspread
     SUBDIR += yacas
     SUBDIR += z3
+    SUBDIR += zimpl
 
 .include <bsd.port.subdir.mk>

Added: head/math/zimpl/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/zimpl/Makefile	Mon Dec 25 21:31:55 2017	(r457259)
@@ -0,0 +1,27 @@
+# Created by: Yuri Victorovich <yuri@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	zimpl
+DISTVERSION=	3.3.4
+CATEGORIES=	math
+MASTER_SITES=	http://zimpl.zib.de/download/
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Language to translate the LP models into .lp or .mps
+
+LICENSE=	LGPL3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libgmp.so:math/gmp
+
+USES=		gmake localbase:ldflags tar:tgz
+USE_LDCONFIG=	yes
+
+MAKE_ARGS=	CC=${CC} LINKCC=${CC} DCC=${CC} LDFLAGS="${LDFLAGS} -lgmp -lm -lz" SHARED=true
+
+PLIST_FILES=	bin/zimpl
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/zimpl-* ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>

Added: head/math/zimpl/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/zimpl/distinfo	Mon Dec 25 21:31:55 2017	(r457259)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1514229681
+SHA256 (zimpl-3.3.4.tgz) = 3362fb21524df459723d23f6e0c122ebdd684153a9cc991a2c7f5b2752a83eb2
+SIZE (zimpl-3.3.4.tgz) = 802251

Added: head/math/zimpl/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/zimpl/files/patch-Makefile	Mon Dec 25 21:31:55 2017	(r457259)
@@ -0,0 +1,51 @@
+--- Makefile.orig	2017-03-07 17:20:10 UTC
++++ Makefile
+@@ -26,7 +26,7 @@
+ #
+ .PHONY:		all depend clean lint doc doxygen check valgrind libdbl coverage
+ 
+-ARCH            :=      $(shell uname -m | \
++ARCHX           :=      $(shell uname -m | \
+                         sed \
+ 			-e s/sun../sparc/ \
+ 			-e s/i.86/x86/ \
+@@ -40,6 +40,7 @@ OSTYPE          :=      $(shell uname -s
+                         tr '[:upper:]' '[:lower:]' | \
+ 			tr '/' '_' | \
+                         sed \
++			-e s/freebsd/linux/ \
+ 			-e s/cygwin.*/cygwin/ \
+                         -e s/irix../irix/ \
+                         -e s/windows.*/windows/ \
+@@ -76,7 +77,7 @@ SRCDIR		=	src
+ BINDIR		=	bin
+ LIBDIR		=	lib
+ 
+-CPPFLAGS	=	-I$(SRCDIR) -DVERSION='"$(VERSION)"'
++CPPFLAGS	+=	-I$(SRCDIR) -DVERSION='"$(VERSION)"'
+ CFLAGS		=	-O
+ LDFLAGS		=	-lgmp -lm
+ YFLAGS		=	-d -t -v  
+@@ -102,10 +103,10 @@ ifeq ($(STATIC),true)
+ LINK		=	static
+ endif
+ 
+-BASE		=	$(OSTYPE).$(ARCH).$(COMP).$(OPT)
+-OBJDIR		=	obj/O.$(OSTYPE).$(ARCH).$(COMP).$(LINK).$(OPT)
++BASE		=	$(OSTYPE).$(ARCHX).$(COMP).$(OPT)
++OBJDIR		=	obj/O.$(OSTYPE).$(ARCHX).$(COMP).$(LINK).$(OPT)
+ NAME		=	zimpl
+-BINNAME		=	$(NAME)-$(VERSION).$(OSTYPE).$(ARCH).$(COMP).$(LINK).$(OPT)
++BINNAME		=	$(NAME)-$(VERSION).$(OSTYPE).$(ARCHX).$(COMP).$(LINK).$(OPT)
+ LIBNAME		=	$(NAME)-$(VERSION).$(BASE)
+ 
+ LIBRARY		=	$(LIBDIR)/lib$(LIBNAME)$(LIBEXT)
+@@ -140,7 +141,7 @@ OBJSRC		=	$(addprefix $(SRCDIR)/,$(OBJEC
+ LIBSRC		=	$(addprefix $(SRCDIR)/,$(LIBOBJ:.o=.c)) #(SRCDIR)/numbdbl.c
+ 
+ #-----------------------------------------------------------------------------
+-include make/make.$(OSTYPE).$(ARCH).$(COMP).$(OPT)
++include make/make.$(OSTYPE).$(ARCHX).$(COMP).$(OPT)
+ -include make/local/make.$(HOSTNAME)
+ -include make/local/make.$(HOSTNAME).$(COMP)
+ -include make/local/make.$(HOSTNAME).$(COMP).$(OPT)

Added: head/math/zimpl/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/zimpl/pkg-descr	Mon Dec 25 21:31:55 2017	(r457259)
@@ -0,0 +1,6 @@
+Zimpl is a little language to translate the mathematical model of a problem
+into a linear or nonlinear (mixed-) integer mathematical program expressed
+in .lp or .mps file format which can be read and (hopefully) solved by a LP
+or MIP solver. 
+
+WWW: http://zimpl.zib.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E628F4ED-8707-4094-8849-AAF51477583E>