svn commit: r402508 - in head/math/eukleides: . files

Ashish SHUKLA ashish at FreeBSD.org
Sat Nov 28 04:24:18 UTC 2015


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 ]


More information about the svn-ports-all mailing list