freebsd-ports/textproc/ibus-kmfl/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

46 lines
1.2 KiB
Makefile

# Created by: Nikola Lecic <nikola.lecic@anthesphoria.net>
# $FreeBSD$
PORTNAME= ibus-kmfl
PORTVERSION= 1.0.3
PORTREVISION= 6
CATEGORIES= textproc
MASTER_SITES= SF/kmfl/${PORTNAME}/${PORTVERSION} \
http://anthesphoria.net/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
DIST_SUBDIR= kmfl
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= KMFL IMEngine for IBus framework
LIB_DEPENDS= libibus-1.0.so:${PORTSDIR}/textproc/ibus \
libkmfl.so:${PORTSDIR}/textproc/libkmfl \
libkmflcomp.so:${PORTSDIR}/textproc/kmflcomp
RUN_DEPENDS= kmflcomp:${PORTSDIR}/textproc/kmflcomp
USES= pkgconfig gmake
USE_GNOME= glib20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${CP} ${WRKSRC}/icons/default.png ${WRKSRC}/icons/default-kmfl.png
@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' \
${WRKSRC}/src/kmflutil.c ${WRKSRC}/src/kmfl.xml.in.in
@${REINPLACE_CMD} -e 's|default\.png|default-kmfl.png|g' \
${WRKSRC}/src/kmflutil.c ${WRKSRC}/icons/Makefile.in
.include <bsd.port.mk>