2 |
|
# $FreeBSD: ports/textproc/hunspell/Makefile,v 1.30 2011/11/09 15:25:45 miwi Exp $ |
3 |
|
|
4 |
|
PORTNAME= hunspell |
5 |
< |
PORTVERSION= 1.3.3 |
5 |
> |
PORTVERSION= 1.6.2 |
6 |
> |
DISTVERSIONPREFIX= v |
7 |
|
CATEGORIES= textproc |
7 |
– |
MASTER_SITES= SF/${PORTNAME}/Hunspell/${PORTVERSION} |
8 |
|
DIST_SUBDIR= ${PORTNAME} |
9 |
|
|
10 |
|
MAINTAINER= ports@MidnightBSD.org |
16 |
|
CONFLICTS_INSTALL= tinker-[0-9]* |
17 |
|
CONFIGURE_ARGS= --disable-nls ${ICONV_CONFIGURE_ARG} --with-readline --with-ui |
18 |
|
GNU_CONFIGURE= yes |
19 |
< |
USES= libtool:keepla pathfix iconv ncurses readline shebangfix perl5 |
19 |
> |
USES= autoreconf compiler:c++11-lib libtool:keepla pathfix \ |
20 |
> |
iconv ncurses readline shebangfix perl5 |
21 |
> |
USE_GITHUB= yes |
22 |
|
SHEBANG_FILES= src/tools/ispellaff2myspell |
23 |
|
USE_LDCONFIG= yes |
24 |
|
USE_PERL5= run |
25 |
|
INSTALL_TARGET= install-strip |
26 |
|
|
27 |
+ |
PLIST_SUB= SHLIB_VER=${PORTVERSION:R} |
28 |
+ |
|
29 |
|
post-patch: |
30 |
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/tools/hunspell.cxx |
31 |
|
|
32 |
< |
post-configure: |
33 |
< |
@${REINPLACE_CMD} -e 's|444|644|g' ${WRKSRC}/src/parsers/Makefile |
32 |
> |
makepatch-clean: |
33 |
> |
@${RM} ${WRKSRC}/tests/suggestiontest/Makefile.orig |
34 |
|
|
35 |
|
.include <bsd.port.mk> |
36 |
+ |
|
37 |
+ |
# XXX Don't override definition in Mk/bsd.port.mk |
38 |
+ |
makepatch: makepatch-clean |