1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/chinese/gcin-qt5/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

30 lines
833 B
Makefile

PORTNAME= gcin
PORTVERSION= 2.9.0
CATEGORIES= chinese textproc gnome
MASTER_SITES= http://hyperrate.com/gcin-source/
PKGNAMESUFFIX= -qt5
EXTRACT_ONLY= gcin-${PORTVERSION}.tar.xz
MAINTAINER= vanilla@FreeBSD.org
COMMENT= Traditional Chinese input utility in X
WWW= https://hyperrate.com/dir.php?eid=67
LICENSE= LGPL21
LIB_DEPENDS= libgcin-im-client.so:chinese/gcin
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/qt5-im
USES= compiler:c++11-lang gmake pkgconfig qt:5 tar:xz
USE_QT= qdbus qmake:build buildtools:build core gui
USE_CXXSTD= c++11
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
MKDIR="${MKDIR}"
PLIST_FILES= ${QT_PLUGINDIR}/platforminputcontexts/libgcinplatforminputcontextplugin.so
post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g; \
s,%%MOC%%,${MOC},;' ${WRKSRC}/Makefile
.include <bsd.port.mk>