aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/scim/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/scim/Makefile')
-rw-r--r--textproc/scim/Makefile28
1 files changed, 10 insertions, 18 deletions
diff --git a/textproc/scim/Makefile b/textproc/scim/Makefile
index fc5d24f628e3..1605bae08cf2 100644
--- a/textproc/scim/Makefile
+++ b/textproc/scim/Makefile
@@ -3,37 +3,29 @@
PORTNAME= scim
PORTVERSION= 1.4.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= SF
MAINTAINER= lx@FreeBSD.org
COMMENT= Smart Common Input Method platform
-USE_GNOME= gnomehack gnomehier gtk20 intlhack
+LICENSE= LGPL21
-USE_AUTOTOOLS= libtool
-USE_GCC= any
+USE_GNOME= gnomehier gtk20 intlhack
USE_XORG= x11 xpm
USE_LDCONFIG= yes
-USES= gettext gmake iconv pkgconfig
+USES= gettext gmake iconv pathfix pkgconfig
GNU_CONFIGURE= yes
-CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__
LDFLAGS+= -L${LOCALBASE}/lib -lintl ${ICONV_LIB}
post-patch:
- ${REINPLACE_CMD} -e '/^libscim@SCIM_EPOCH@_la_LDFLAGS/s|=|= ${PTHREAD_LIBS}|' \
- ${WRKSRC}/src/Makefile.in
-
-post-install:
- @${LOCALBASE}/bin/gtk-query-immodules-2.0 > ${LOCALBASE}/etc/gtk-2.0/gtk.immodules
- @${CAT} ${PKGMESSAGE}
- @${ECHO} To display this message again, type ${PKG_INFO} -D ${PKGNAME}
+ @${REINPLACE_CMD} 's/-lstdc++//' \
+ ${WRKSRC}/extras/gtk2_immodule/Makefile.in \
+ ${WRKSRC}/extras/setup/Makefile.in \
+ ${WRKSRC}/src/Makefile.in \
+ ${WRKSRC}/tests/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>