diff options
Diffstat (limited to 'textproc/scim-bridge/Makefile')
-rw-r--r-- | textproc/scim-bridge/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/textproc/scim-bridge/Makefile b/textproc/scim-bridge/Makefile new file mode 100644 index 000000000000..797cb2929272 --- /dev/null +++ b/textproc/scim-bridge/Makefile @@ -0,0 +1,39 @@ +# 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> |