Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 2015 04:24:17 +0000 (UTC)
From:      Ashish SHUKLA <ashish@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402508 - in head/math/eukleides: . files
Message-ID:  <201511280424.tAS4OHps000658@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ashish
Date: Sat Nov 28 04:24:16 2015
New Revision: 402508
URL: https://svnweb.freebsd.org/changeset/ports/402508

Log:
  - Patch euktoeps, so it uses GNU getopt
  - Add dependency on misc/getopt
  
  Reported by:	Nicolas <nh.techn at gmail.com>

Added:
  head/math/eukleides/files/patch-bash_euktoeps   (contents, props changed)
Modified:
  head/math/eukleides/Makefile

Modified: head/math/eukleides/Makefile
==============================================================================
--- head/math/eukleides/Makefile	Sat Nov 28 03:29:05 2015	(r402507)
+++ head/math/eukleides/Makefile	Sat Nov 28 04:24:16 2015	(r402508)
@@ -3,7 +3,7 @@
 
 PORTNAME=	eukleides
 PORTVERSION=	1.5.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	math
 MASTER_SITES=	http://www.eukleides.org/files/
 
@@ -14,7 +14,8 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libreadline.so:${PORTSDIR}/devel/readline
-RUN_DEPENDS=	pstoedit:${PORTSDIR}/graphics/pstoedit
+RUN_DEPENDS=	pstoedit:${PORTSDIR}/graphics/pstoedit \
+		getopt>=0:${PORTSDIR}/misc/getopt
 
 USE_TEX=	latex
 USES=		bison gettext iconv gmake tar:bzip2

Added: head/math/eukleides/files/patch-bash_euktoeps
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/eukleides/files/patch-bash_euktoeps	Sat Nov 28 04:24:16 2015	(r402508)
@@ -0,0 +1,11 @@
+--- bash/euktoeps.orig
++++ bash/euktoeps
+@@ -31,7 +31,7 @@
+ exit $1
+ }
+ 
+-args=$(getopt -o i:l::#:d:vh --long include:,locale::,interactive:,data:,version,help \
++args=$(%%LOCALBASE%%/bin/getopt -o i:l::#:d:vh --long include:,locale::,interactive:,data:,version,help \
+        -n 'Euktoeps' -- "$@")
+ 
+ if [ $? -ne 0 ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511280424.tAS4OHps000658>