1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Stop hard coding ICU version and fix plist (missed by r310086).

This commit is contained in:
Jung-uk Kim 2013-01-10 20:49:04 +00:00
parent 619325b19d
commit 1d0ebdb3ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310204
2 changed files with 12 additions and 12 deletions

View File

@ -48,7 +48,7 @@ CONFIGURE_ARGS+= --without-curl
LIB_DEPENDS+= clucene:${PORTSDIR}/textproc/clucene \ LIB_DEPENDS+= clucene:${PORTSDIR}/textproc/clucene \
icudata:${PORTSDIR}/devel/icu icudata:${PORTSDIR}/devel/icu
CONFIGURE_ARGS+= --with-clucene --with-icu CONFIGURE_ARGS+= --with-clucene --with-icu
PLIST_SUB+= ICU="" PLIST_SUB+= ICU="" ICUVER="`${LOCALBASE}/bin/icu-config --version`"
.else .else
CONFIGURE_ARGS+= --without-clucene --without-icu CONFIGURE_ARGS+= --without-clucene --without-icu
PLIST_SUB+= ICU="@comment " PLIST_SUB+= ICU="@comment "

View File

@ -182,16 +182,16 @@ lib/libsword-%%PORTVERSION%%.so
lib/libsword.a lib/libsword.a
lib/libsword.la lib/libsword.la
lib/libsword.so lib/libsword.so
%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_Any_Latex.res %%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_Any_Latex.res
%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_Any_Latin1.res %%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_Any_Latin1.res
%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_BETA_Greek.res %%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_BETA_Greek.res
%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_BGreek_Greek.res %%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_BGreek_Greek.res
%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_CCAT_Hebrew.res %%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_CCAT_Hebrew.res
%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_CCAT_Syriac.res %%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_CCAT_Syriac.res
%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_Latin_Coptic.res %%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_Latin_Coptic.res
%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_Latin_Gothic.res %%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_Latin_Gothic.res
%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_Latin_Ugaritic.res %%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_Latin_Ugaritic.res
%%ICU%%lib/sword/%%PORTVERSION%%_icu_50.1/translit_swordindex.res %%ICU%%lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%/translit_swordindex.res
libdata/pkgconfig/sword.pc libdata/pkgconfig/sword.pc
%%DATADIR%%/locales.d/locales.conf %%DATADIR%%/locales.d/locales.conf
%%DATADIR%%/locales.d/abbr.conf %%DATADIR%%/locales.d/abbr.conf
@ -279,6 +279,6 @@ libdata/pkgconfig/sword.pc
@dirrm %%DATADIR%%/mods.d @dirrm %%DATADIR%%/mods.d
@dirrm %%DATADIR%%/locales.d @dirrm %%DATADIR%%/locales.d
@dirrm %%DATADIR%% @dirrm %%DATADIR%%
%%ICU%%@dirrm lib/sword/%%PORTVERSION%%_icu_50.1 %%ICU%%@dirrm lib/sword/%%PORTVERSION%%_icu_%%ICUVER%%
@dirrm lib/sword @dirrm lib/sword
@dirrm include/sword @dirrm include/sword