aboutsummaryrefslogtreecommitdiffstats
path: root/german/hunspell
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-28 19:30:55 +0800
committerbapt <bapt@FreeBSD.org>2014-01-28 19:30:55 +0800
commitf9d0f581a9cb2f95869f30cb68484f5e1e41f140 (patch)
treee6a5828038e434bc6744bf4389423926a1f271fa /german/hunspell
parent5d6ac62c5b2fb6bcf87e2ee7568e9178ee9cef80 (diff)
downloadfreebsd-ports-gnome-f9d0f581a9cb2f95869f30cb68484f5e1e41f140.tar.gz
freebsd-ports-gnome-f9d0f581a9cb2f95869f30cb68484f5e1e41f140.tar.zst
freebsd-ports-gnome-f9d0f581a9cb2f95869f30cb68484f5e1e41f140.zip
Use aspell instead of ispell to build the package
Cleanup build_depends mute the mkdir
Diffstat (limited to 'german/hunspell')
-rw-r--r--german/hunspell/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/german/hunspell/Makefile b/german/hunspell/Makefile
index 79e02fae29dd..d6dbc7517eca 100644
--- a/german/hunspell/Makefile
+++ b/german/hunspell/Makefile
@@ -14,8 +14,8 @@ COMMENT= German hunspell dictionaries
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-BUILD_DEPENDS= ${LOCALBASE}/bin/buildhash:${PORTSDIR}/textproc/ispell \
- ${LOCALBASE}/bin/hunspell:${PORTSDIR}/textproc/hunspell
+BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell \
+ hunspell:${PORTSDIR}/textproc/hunspell
USES= gmake perl5 shebangfix
USE_BZIP2= yes
@@ -38,8 +38,12 @@ PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
%%DATADIR%%/${ALIAS}.dic
.endfor
+post-patch:
+ @${REINPLACE_CMD} -e "s/AFFIX_EXPANDER = ispell/AFFIX_EXPANDER = aspell/g" \
+ ${WRKSRC}/Makefile
+
do-install:
- ${MKDIR} ${STAGEDIR}${DATADIR}/
+ @${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/hunspell/de_AT.aff ${WRKSRC}/hunspell/de_AT.dic \
${WRKSRC}/hunspell/de_CH.aff ${WRKSRC}/hunspell/de_CH.dic \
${WRKSRC}/hunspell/de_DE.aff ${WRKSRC}/hunspell/de_DE.dic ${STAGEDIR}${DATADIR}/