Skip to content

Commit

Permalink
Stop mr-aspell conflicting with hi-aspell
Browse files Browse the repository at this point in the history
Reviewed by:	bapt
  • Loading branch information
crees committed Aug 26, 2014
1 parent 70f04f0 commit 476d1a5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion textproc/mr-aspell/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

PORTNAME= ${DICT}-aspell
DISTVERSION= 6-mr-0.10-0
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= textproc

Expand All @@ -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>
4 changes: 2 additions & 2 deletions textproc/mr-aspell/pkg-plist
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 476d1a5

Please sign in to comment.