Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2016 15:34:29 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r427033 - in head/textproc/hyphen: . files
Message-ID:  <201611241534.uAOFYTIq001512@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Nov 24 15:34:29 2016
New Revision: 427033
URL: https://svnweb.freebsd.org/changeset/ports/427033

Log:
  - Update LICENSE
  - Add LICENSE_FILE
  - Import upstream patch to drop dependency on lang/gawk [1]
  - Update WWW
  
  Obtained from:	https://github.com/hunspell/hyphen/commit/726a506ef16cb76cf1ed97ed5b2fc2c77cddef84 [1]

Added:
  head/textproc/hyphen/files/
  head/textproc/hyphen/files/patch-lig.awk   (contents, props changed)
Modified:
  head/textproc/hyphen/Makefile
  head/textproc/hyphen/pkg-descr

Modified: head/textproc/hyphen/Makefile
==============================================================================
--- head/textproc/hyphen/Makefile	Thu Nov 24 15:34:24 2016	(r427032)
+++ head/textproc/hyphen/Makefile	Thu Nov 24 15:34:29 2016	(r427033)
@@ -9,12 +9,11 @@ DIST_SUBDIR=	${PORTNAME}
 MAINTAINER=	office@FreeBSD.org
 COMMENT=	Library for high quality hyphenation and justification
 
-LICENSE=	LGPL21 LGPL3 MPL
+LICENSE=	LGPL21+ MPL
 LICENSE_COMB=	dual
+LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING.LGPL
+LICENSE_FILE_MPL=	${WRKSRC}/COPYING.MPL
 
-BUILD_DEPENDS=	gawk:lang/gawk
-
-CONFIGURE_ENV=	ac_cv_prog_AWK=gawk
 GNU_CONFIGURE=	yes
 USES=		libtool pathfix perl5 shebangfix
 USE_LDCONFIG=	yes

Added: head/textproc/hyphen/files/patch-lig.awk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/hyphen/files/patch-lig.awk	Thu Nov 24 15:34:29 2016	(r427033)
@@ -0,0 +1,29 @@
+--- lig.awk.orig	2010-03-04 12:13:47 UTC
++++ lig.awk
+@@ -24,14 +24,20 @@ c=b
+ c!=b { print c }
+ 
+ /f[1-9]?$/ {
+-	print gensub("f[1-9]?$", "ff", "g", b);
+-	if (c!=b) print gensub("f[1-9]?$", "ff", "g", c);
++	out=b; gsub("f[1-9]?$", "ff", out); print out
++	if (c!=b) {
++		out=c; gsub("f[1-9]?$", "ff", out); print out
++	}
+ 
+-	print gensub("f[1-9]?$", "fi", "g", b);
+-	if (c!=b) print gensub("f[1-9]?$", "fi", "g", c);
++	out=b; gsub("f[1-9]?$", "fi", out); print out
++	if (c!=b) {
++		out=c; gsub("f[1-9]?$", "fi", out); print out
++	}
+ 
+-	print gensub("f[1-9]?$", "fl", "g", b);
+-	if (c!=b) print gensub("f[1-9]?$", "fl", "g", c);
++	out=b; gsub("f[1-9]?$", "fl", out); print out
++	if (c!=b) {
++		out=c; gsub("f[1-9]?$", "fl", out); print out
++	}
+ }
+ 
+ 

Modified: head/textproc/hyphen/pkg-descr
==============================================================================
--- head/textproc/hyphen/pkg-descr	Thu Nov 24 15:34:24 2016	(r427032)
+++ head/textproc/hyphen/pkg-descr	Thu Nov 24 15:34:29 2016	(r427033)
@@ -1,3 +1,3 @@
 Hyphen - hyphenation library to use converted TeX hyphenation patterns
 
-WWW: http://hunspell.sourceforge.net
+WWW: https://github.com/hunspell/hyphen



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