mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
22522d8fcb
- De-DEPRECATED - Change to new upstream
36 lines
985 B
Makefile
36 lines
985 B
Makefile
PORTNAME= ibus-table-chinese
|
|
PORTVERSION= 1.8.12
|
|
CATEGORIES= chinese
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Chinese input tables for IBus
|
|
WWW= https://github.com/mike-fabian/ibus-table-chinese
|
|
|
|
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= mike-fabian
|
|
|
|
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
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
|
|
-e 's,%%DOCSDIR%%,${DOCSDIR},' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|