freebsd-ports/chinese/ibus-table-chinese/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

32 lines
830 B
Makefile

# $FreeBSD$
PORTNAME= ibus-table-chinese
PORTVERSION= 1.8.2
PORTREVISION= 2
CATEGORIES= chinese
MAINTAINER= ports@FreeBSD.org
COMMENT= Chinese input tables for IBus
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/share/cmake/Modules/ManageEnvironment.cmake:devel/cmake-fedora \
ibus-daemon:textproc/ibus \
${LOCALBASE}/libexec/ibus-engine-table:textproc/ibus-table
RUN_DEPENDS= ibus-daemon:textproc/ibus \
${LOCALBASE}/libexec/ibus-engine-table:textproc/ibus-table
USES= cmake:insource,noninja pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= definite
INSTALL_TARGET= install
DATADIR= ${PREFIX}/share/ibus-table
CMAKE_ARGS+= -DDATA_DIR:PATH="${PREFIX}/share" \
-DPRJ_DOC_DIR:PATH="${DOCSDIR}" \
-DCMAKE_FEDORA_TMP_DIR:PATH="${WRKSRC}"
MAKE_ENV+= PYTHONDONTWRITEBYTECODE=1
.include <bsd.port.mk>