aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2014-08-27 05:11:51 +0800
committercrees <crees@FreeBSD.org>2014-08-27 05:11:51 +0800
commit476d1a5a1d12e3768ecb3f0dfa6a8fab6647bea9 (patch)
tree7c698ba3d9b4442594ef2156587d5a6b5b04ba7a /textproc
parent70f04f0decf42cfc575bb680ae0238f4fb764d17 (diff)
downloadfreebsd-ports-gnome-476d1a5a1d12e3768ecb3f0dfa6a8fab6647bea9.tar.gz
freebsd-ports-gnome-476d1a5a1d12e3768ecb3f0dfa6a8fab6647bea9.tar.zst
freebsd-ports-gnome-476d1a5a1d12e3768ecb3f0dfa6a8fab6647bea9.zip
Stop mr-aspell conflicting with hi-aspell
Reviewed by: bapt
Diffstat (limited to 'textproc')
-rw-r--r--textproc/mr-aspell/Makefile12
-rw-r--r--textproc/mr-aspell/pkg-plist4
2 files changed, 13 insertions, 3 deletions
diff --git a/textproc/mr-aspell/Makefile b/textproc/mr-aspell/Makefile
index cf6b63474046..866a8f143562 100644
--- a/textproc/mr-aspell/Makefile
+++ b/textproc/mr-aspell/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ${DICT}-aspell
DISTVERSION= 6-mr-0.10-0
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= textproc
@@ -12,5 +12,15 @@ COMMENT= Aspell Marathi dictionary
DICT= mr
+# This stops it conflicting on u-deva.cmap|.cset with hi-aspell
+post-patch:
+ ${REINPLACE_CMD} '\,^data_files,s,u-deva\.c[sm][ea][tp],mr-&,g' \
+ ${WRKSRC}/Makefile.pre
+ ${REINPLACE_CMD} 's,u-deva,mr-&,' ${WRKSRC}/info ${WRKSRC}/mr.dat \
+ ${WRKSRC}/u-deva.cset
+.for c in cmap cset
+ ${MV} ${WRKSRC}/u-deva.$c ${WRKSRC}/mr-u-deva.$c
+.endfor
+
.include "${.CURDIR}/../../textproc/aspell/Makefile.inc"
.include <bsd.port.post.mk>
diff --git a/textproc/mr-aspell/pkg-plist b/textproc/mr-aspell/pkg-plist
index 1ce7cc3bcf18..241c0b2ef21a 100644
--- a/textproc/mr-aspell/pkg-plist
+++ b/textproc/mr-aspell/pkg-plist
@@ -1,6 +1,6 @@
lib/aspell-%%VER%%/mr.dat
-lib/aspell-%%VER%%/u-deva.cmap
-lib/aspell-%%VER%%/u-deva.cset
+lib/aspell-%%VER%%/mr-u-deva.cmap
+lib/aspell-%%VER%%/mr-u-deva.cset
share/aspell/mr.multi
share/aspell/mr.rws
share/aspell/marathi.alias