mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
edb7229dd4
first contains runtime libraries such as libintl and the latter contains developer tools such as msgfmt. Ports that use gettext will usually need a LIB_DEPENDS on gettext-runtime and a BUILD_DEPENDS on gettext-tools. USES=gettext-runtime can be used to set a LIB/BUILD/RUN_DEPENDS on devel/gettext-runtime and USES=gettext-tools can be used to set a BUILD/RUN_DEPENDS on devel/gettext-tools. USES=gettext is now the same as "USES=gettext-runtime gettext-tools" meaning a LIB_DEPENDS on devel/gettext-runtime and a BUILD_DEPENDS on devel/gettext-tools. Update gettext to 0.19.3. Remove :oldver from converters/libiconv and devel/gettext-runtime. Leave symlinks with the old library versions to avoid the need to bump PORTREVISION on a large number of dependent ports. When most of the dependent ports have had normal version updates, PORTREVISION can be bumped on the remaining ones (low number) and the links can be removed. Fix some ports that installed files in lib/locale instead of share/locale. PR: 194038 Reviewed by: bapt Exp-run: antoine Approved by: portmgr (antoine)
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mecab
|
|
PORTVERSION= 0.996
|
|
PORTREVISION= 2
|
|
CATEGORIES= japanese textproc
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= yasu@utahime.org
|
|
COMMENT= Yet Another Part-of-Speech and Morphological Analyzer
|
|
|
|
LICENSE= BSD3CLAUSE GPLv2 LGPL21
|
|
LICENSE_COMB= multi
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= ac_cv_lib_stdcpp_main=no
|
|
INSTALL_TARGET= install-strip
|
|
USES= gettext-tools iconv libtool perl5
|
|
USE_PERL5= build
|
|
USE_LDCONFIG= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
|
|
PORTDOCS= AUTHORS README *.html
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} '/^libmecab_la_LIBADD =/s/$$/ $$(LTLIBICONV)/' \
|
|
${WRKSRC}/src/Makefile.in
|
|
@${REINPLACE_CMD} \
|
|
-e '/CFLAGS/s|-O3|${CFLAGS}|' \
|
|
-e '/CXXFLAGS/s|-O3|${CXXFLAGS}|' \
|
|
${WRKSRC}/configure
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:N*.html:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/mecabrc \
|
|
${STAGEDIR}${PREFIX}/etc/mecabrc.sample
|
|
|
|
.include <bsd.port.mk>
|