ddae4e92d8
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
30 lines
833 B
Makefile
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>
|