1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/chinese/gcin-qt4/Makefile
2017-09-23 14:29:14 +00:00

31 lines
752 B
Makefile

# Created by: vanilla@
# $FreeBSD$
PORTNAME= gcin
PORTVERSION= 2.8.5
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 tar:xz
USE_QT4= 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>