diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-28 19:30:55 +0800 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-28 19:30:55 +0800 |
commit | 243babc3bd907f0c2ee4c9e41c4c957524350dc4 (patch) | |
tree | e6a5828038e434bc6744bf4389423926a1f271fa /german/hunspell | |
parent | 4eb7db23fd515a09d748df64d7c404a1840248b6 (diff) | |
download | freebsd-ports-gnome-243babc3bd907f0c2ee4c9e41c4c957524350dc4.tar.gz freebsd-ports-gnome-243babc3bd907f0c2ee4c9e41c4c957524350dc4.tar.zst freebsd-ports-gnome-243babc3bd907f0c2ee4c9e41c4c957524350dc4.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/Makefile | 10 |
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}/ |