diff --git a/misc/sword/Makefile b/misc/sword/Makefile index b0a99ac02ce2..1c1004a4387c 100644 --- a/misc/sword/Makefile +++ b/misc/sword/Makefile @@ -48,7 +48,7 @@ CONFIGURE_ARGS+= --without-curl LIB_DEPENDS+= clucene:${PORTSDIR}/textproc/clucene \ icudata:${PORTSDIR}/devel/icu CONFIGURE_ARGS+= --with-clucene --with-icu -PLIST_SUB+= ICU="" +PLIST_SUB+= ICU="" ICUVER="`${LOCALBASE}/bin/icu-config --version`" .else CONFIGURE_ARGS+= --without-clucene --without-icu PLIST_SUB+= ICU="@comment " diff --git a/misc/sword/pkg-plist b/misc/sword/pkg-plist index 5878aa15ddaa..f72f2baeaf74 100644 --- a/misc/sword/pkg-plist +++ b/misc/sword/pkg-plist @@ -182,16 +182,16 @@ lib/libsword-%%PORTVERSION%%.so lib/libsword.a lib/libsword.la lib/libsword.so -%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_Any_Latex.res -%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_Any_Latin1.res -%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_BETA_Greek.res -%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_BGreek_Greek.res -%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_CCAT_Hebrew.res -%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_CCAT_Syriac.res -%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_Latin_Coptic.res -%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_Latin_Gothic.res -%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_Latin_Ugaritic.res -%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_swordindex.res +%%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_Any_Latex.res +%%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_Any_Latin1.res +%%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_BETA_Greek.res +%%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_BGreek_Greek.res +%%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_CCAT_Hebrew.res +%%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_CCAT_Syriac.res +%%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_Latin_Coptic.res +%%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_Latin_Gothic.res +%%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_Latin_Ugaritic.res +%%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_swordindex.res libdata/pkgconfig/sword.pc %%DATADIR%%/locales.d/locales.conf %%DATADIR%%/locales.d/abbr.conf @@ -279,6 +279,6 @@ libdata/pkgconfig/sword.pc @dirrm %%DATADIR%%/mods.d @dirrm %%DATADIR%%/locales.d @dirrm %%DATADIR%% -%%ICU%%@dirrm lib/sword/%%PORTVERSION%%_icu_50.1 +%%ICU%%@dirrm lib/sword/%%PORTVERSION%%_icu_%%ICUVER%% @dirrm lib/sword @dirrm include/sword