mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
b1a1d38bf9
From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
31 lines
757 B
Makefile
31 lines
757 B
Makefile
# Created by: vanilla@
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gcin
|
|
PORTVERSION= 2.8.6
|
|
CATEGORIES= chinese textproc gnome
|
|
MASTER_SITES= http://hyperrate.com/gcin-source/
|
|
PKGNAMESUFFIX= -qt4
|
|
EXTRACT_ONLY= gcin-${PORTVERSION}.tar.xz
|
|
|
|
MAINTAINER= vanilla@FreeBSD.org
|
|
COMMENT= Traditional Chinese input utility in X
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LIB_DEPENDS= libgcin-im-client.so:chinese/gcin
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/qt4-im
|
|
USES= gmake pkgconfig qt:4 tar:xz
|
|
USE_QT= inputmethods qmake_build moc_build corelib gui
|
|
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
MKDIR="${MKDIR}"
|
|
|
|
PLIST_FILES= %%QT_PLUGINDIR%%/inputmethods/im-gcin.so
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g; \
|
|
s,%%MOC%%,${MOC},;' ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|