1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00

Stop mr-aspell conflicting with hi-aspell

Reviewed by:	bapt
This commit is contained in:
Chris Rees 2014-08-26 21:11:51 +00:00
parent 89e6d0e575
commit 9bb7960575
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366275
2 changed files with 13 additions and 3 deletions

View File

@ -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>

View File

@ -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