diff options
author | wiz <wiz@pkgsrc.org> | 2007-09-11 18:05:57 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-09-11 18:05:57 +0000 |
commit | 706c6f7d8da953ef621b3e59a2eec1f217adfcee (patch) | |
tree | d57f1862ee410a02d6ddcefef8d66908b38d75df /textproc/hunspell | |
parent | c25401b78f670918653cb7433128a06feb3bdc91 (diff) | |
download | pkgsrc-706c6f7d8da953ef621b3e59a2eec1f217adfcee.tar.gz |
Fix default path to dictionaries. Ride import.
Diffstat (limited to 'textproc/hunspell')
-rw-r--r-- | textproc/hunspell/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/textproc/hunspell/Makefile b/textproc/hunspell/Makefile index 2356e1c0918..5013a38fd82 100644 --- a/textproc/hunspell/Makefile +++ b/textproc/hunspell/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/09/11 17:40:29 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2007/09/11 18:05:57 wiz Exp $ # DISTNAME= hunspell-1.1.12-2 @@ -21,6 +21,14 @@ CONFIGURE_ARGS+= --with-ui PKGCONFIG_OVERRIDE+= hunspell.pc.in +SUBST_CLASSES+= paths +SUBST_MESSAGE.paths= Fixing default path to dictionaries. +SUBST_STAGE.paths= pre-configure +SUBST_FILES.paths= man/hunspell.1 man/hu/hunspell.1 src/tools/hunspell.cxx +SUBST_SED.paths+= -e 's,/usr/share/hunspell,${PREFIX}/share/hunspell,g' +# Trailing slash important to not change hunspell.cxx +SUBST_SED.paths+= -e 's,/usr/share/myspell/,${PREFIX}/share/hunspell/,g' + .include "options.mk" .include "../../devel/gettext-lib/buildlink3.mk" |