1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/textproc/hunspell/Makefile
Stefan Eßer 5933ac0b09 */*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
2021-11-23 23:11:40 +01:00

43 lines
1.1 KiB
Makefile

# Created by: janos.mohacsi@bsd.hu
PORTNAME= hunspell
PORTVERSION= 1.7.0
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= textproc
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Improved spell-checker for Hungarian and other languages
LICENSE= GPLv2+ LGPL21+ MPL11
LICENSE_COMB= dual
LICENSE_FILE_GPLv2+ = ${_LICENSE_STORE}/GPLv2
LICENSE_FILE_LGPL21+ = ${_LICENSE_STORE}/LGPL21
LICENSE_FILE_MPL11= ${WRKSRC}/COPYING.MPL
CONFLICTS_INSTALL= tinker
CONFIGURE_ARGS= --disable-nls ${ICONV_CONFIGURE_ARG} --with-readline --with-ui
GNU_CONFIGURE= yes
USES= autoreconf compiler:c++11-lib cpe libtool:keepla pathfix \
iconv ncurses readline shebangfix perl5
CPE_VENDOR= ${PORTNAME}_project
USE_GITHUB= yes
SHEBANG_FILES= src/tools/ispellaff2myspell
USE_LDCONFIG= yes
USE_PERL5= run
INSTALL_TARGET= install-strip
PLIST_SUB= SHLIB_VER=${PORTVERSION:R}
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