- Update LICENSE

- Add LICENSE_FILE
- Import upstream patch to drop dependency on lang/gawk [1]
- Update WWW

Obtained from:	726a506ef1 [1]
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-11-24 15:34:29 +00:00
parent 85ee7dbbf5
commit 19ce04aefe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427033
3 changed files with 33 additions and 5 deletions

View File

@ -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

View File

@ -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
+ }
}

View File

@ -1,3 +1,3 @@
Hyphen - hyphenation library to use converted TeX hyphenation patterns
WWW: http://hunspell.sourceforge.net
WWW: https://github.com/hunspell/hyphen