1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/textproc/scim-bridge/Makefile
Max Brazhnikov 9445c3e0fc Add textproc/scim-bridge and textproc/scim-bridge-qt4:
Scim-bridge is wrapper library for SCIM, written in C. Scim-bridge
is seperated in two parts, the agent and the clients. The agent is
the IME server which communicates with SCIM. The clients are IMModules
which communicate only with the agent so that there is no binary
dependency between the clients and SCIM.

WWW:	http://www.scim-im.org/projects/scim_bridge/

PR:		126603
Submitted by:	Henry Hu <henry.hu.sh at gmail.com>
Approved by:	miwi (mentor)
2008-09-23 15:16:58 +00:00

40 lines
890 B
Makefile

# New ports collection makefile for: scim-bridge
# Date created: 2008-09-10
# Whom: Max Brazhnikov <makc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= scim-bridge
PORTVERSION= 0.4.15
CATEGORIES= textproc
MASTER_SITES= SF
MASTER_SITE_SUBDIR= scim
MAINTAINER= henry.hu.sh@gmail.com
COMMENT= Scim-bridge agent (server)
LIB_DEPENDS= scim-1.0.10:${PORTSDIR}/textproc/scim
USE_GMAKE= yes
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-D__STDC_ISO_10646__"
CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE} \
--enable-agent \
--disable-gtk2-immodule \
--disable-qt3-immodule \
--disable-qt4-immodule
PLIST_FILES= bin/scim-bridge
post-patch:
@${GREP} -lR "<malloc\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc\.h>|<stdlib.h>|g'
@${GREP} -lR "<alloca\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|<alloca\.h>|<stdlib.h>|g'
.include <bsd.port.mk>