aboutsummaryrefslogtreecommitdiff
path: root/textproc/hunspell
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-11-26 10:34:40 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-11-26 10:34:40 +0000
commit7961e8c48132801e08c4878489baa9aeb3c0f49f (patch)
treef06338956ae105644397d65df97402926fd106fd /textproc/hunspell
parent6966ce9047bd7b75be69352e51624dd924608dee (diff)
Notes
Diffstat (limited to 'textproc/hunspell')
-rw-r--r--textproc/hunspell/Makefile4
-rw-r--r--textproc/hunspell/pkg-descr2
-rw-r--r--textproc/hunspell/pkg-plist10
3 files changed, 10 insertions, 6 deletions
diff --git a/textproc/hunspell/Makefile b/textproc/hunspell/Makefile
index fc324e17b498..c3b5afcc1d1e 100644
--- a/textproc/hunspell/Makefile
+++ b/textproc/hunspell/Makefile
@@ -12,6 +12,8 @@ COMMENT= Improved spell-checker for Hungarian and other languages
LICENSE= GPLv2 LGPL21 MPL
LICENSE_COMB= dual
+LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL
+LICENSE_FILE_MPL= ${WRKSRC}/COPYING.MPL
CONFLICTS_INSTALL= tinker-[0-9]*
CONFIGURE_ARGS= --disable-nls ${ICONV_CONFIGURE_ARG} --with-readline --with-ui
@@ -22,6 +24,8 @@ USE_LDCONFIG= yes
USE_PERL5= run
INSTALL_TARGET= install-strip
+PLIST_SUB= SHLIB_VER=${PORTVERSION:R}
+
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/tools/hunspell.cxx
diff --git a/textproc/hunspell/pkg-descr b/textproc/hunspell/pkg-descr
index 420f98776448..b897d3ed8604 100644
--- a/textproc/hunspell/pkg-descr
+++ b/textproc/hunspell/pkg-descr
@@ -9,4 +9,4 @@ Main features:
- Hunspell is based on MySpell and works also with MySpell dictionaries.
- C++ library under GPL/LGPL/MPL tri-license.
-WWW: http://hunspell.sourceforge.net/
+WWW: https://hunspell.github.io/
diff --git a/textproc/hunspell/pkg-plist b/textproc/hunspell/pkg-plist
index 18ecc612ab49..52ab40e754d1 100644
--- a/textproc/hunspell/pkg-plist
+++ b/textproc/hunspell/pkg-plist
@@ -28,11 +28,11 @@ include/hunspell/phonet.hxx
include/hunspell/replist.hxx
include/hunspell/suggestmgr.hxx
include/hunspell/w_char.hxx
-lib/libhunspell-1.3.a
-lib/libhunspell-1.3.la
-lib/libhunspell-1.3.so
-lib/libhunspell-1.3.so.0
-lib/libhunspell-1.3.so.0.0.0
+lib/libhunspell-%%SHLIB_VER%%.a
+lib/libhunspell-%%SHLIB_VER%%.la
+lib/libhunspell-%%SHLIB_VER%%.so
+lib/libhunspell-%%SHLIB_VER%%.so.0
+lib/libhunspell-%%SHLIB_VER%%.so.0.0.0
libdata/pkgconfig/hunspell.pc
man/hu/man1/hunspell.1.gz
man/man1/hunspell.1.gz