64639b92b4
fixes build with in-tree libtool
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.6 2010/06/23 15:48:28 steven Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= smart common input method platform
|
|
|
|
DISTNAME= scim-1.4.9
|
|
PKGNAME= ${DISTNAME}p1
|
|
|
|
SHARED_LIBS += scim-1.0 0.0 # .10.4
|
|
SHARED_LIBS += scim-x11utils-1.0 0.0 # .10.4
|
|
SHARED_LIBS += scim-gtkutils-1.0 0.0 # .10.4
|
|
|
|
CATEGORIES= inputmethods chinese japanese korean
|
|
|
|
HOMEPAGE= http://www.scim-im.org/
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
|
Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \
|
|
freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0 \
|
|
gio-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 \
|
|
png pthread pthread-stubs stdc++ xcb z
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scim/}
|
|
|
|
MODULES= devel/gettext \
|
|
textproc/intltool
|
|
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
|
|
LIB_DEPENDS= gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2
|
|
|
|
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/scim
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--with-gtk-im-module-dir="${LOCALBASE}/lib/gtk-2.0/2.10.0/immodules"
|
|
|
|
.include <bsd.port.mk>
|