pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/hunspell Fix default path to dictionaries. Ri...
details: https://anonhg.NetBSD.org/pkgsrc/rev/021b428daf30
branches: trunk
changeset: 533235:021b428daf30
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Sep 11 18:05:57 2007 +0000
description:
Fix default path to dictionaries. Ride import.
diffstat:
textproc/hunspell/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 97ac64f4962c -r 021b428daf30 textproc/hunspell/Makefile
--- a/textproc/hunspell/Makefile Tue Sep 11 17:50:14 2007 +0000
+++ b/textproc/hunspell/Makefile Tue Sep 11 18:05:57 2007 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index