aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-11-26 18:34:40 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-11-26 18:34:40 +0800
commite97f3f32efee7e207fcd6d6af8a97bfc8bda9a1b (patch)
treef06338956ae105644397d65df97402926fd106fd /textproc
parente3c7511ddbe6883f263a1338f6b7c70f28ac42fe (diff)
downloadfreebsd-ports-gnome-e97f3f32efee7e207fcd6d6af8a97bfc8bda9a1b.tar.gz
freebsd-ports-gnome-e97f3f32efee7e207fcd6d6af8a97bfc8bda9a1b.tar.zst
freebsd-ports-gnome-e97f3f32efee7e207fcd6d6af8a97bfc8bda9a1b.zip
- Add LICENSE_FILE
- Add PLIST_SUB - Update WWW
Diffstat (limited to 'textproc')
-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