-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (34 loc) · 1.16 KB
/
Makefile
File metadata and controls
45 lines (34 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# $FreeBSD$
PORTNAME= nuspell
PORTVERSION= g20180623
CATEGORIES= textproc
MAINTAINER= [email protected]
COMMENT= Modern C++ spell checking library based on Hunspell
LICENSE= GPLv2+ LGPL21+ LGPL3 MPL11
LICENSE_COMB= dual
LICENSE_FILE_GPLv2+= ${_LICENSE_STORE}/GPLv2
LICENSE_FILE_LGPL21+= ${_LICENSE_STORE}/LGPL21
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LESSER
LICENSE_FILE_MPL11= ${_LICENSE_STORE}/MPL11
BUILD_DEPENDS= catch>0:devel/catch
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libicuuc.so:devel/icu
CONFLICTS_INSTALL= hunspell-[0-9]* tinker-[0-9]*
USES= autoreconf compiler:c++14-lang iconv libtool:keepla ncurses \
pathfix perl5 pkgconfig readline shebangfix
SHEBANG_FILES= src/tools/ispellaff2myspell tests/test.sh
USE_PERL5= run
CONFIGURE_ARGS= --with-readline --with-ui
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
TEST_TARGET= check
USE_GITHUB= yes
GH_ACCOUNT= hunspell
GH_TAGNAME= 7608b98
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/tools/hunspell.cxx
makepatch-clean:
@${RM} ${WRKSRC}/tests/suggestiontest/Makefile.orig
.include <bsd.port.mk>
# XXX Don't override definition in Mk/bsd.port.mk
makepatch: makepatch-clean