aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/linux-f8-scim-libs/Makefile
blob: 1970b99b1f8df0e6e64f52b06bbc5ef7f5960e43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection makefile for:    linux-scim-libs
# Date created:     8 January 2008
# Whom:         hrs
#
# $FreeBSD$
#

PORTNAME=   scim-libs
PORTVERSION=    1.4.4
CATEGORIES= textproc linux
MASTER_SITE_SUBDIR= ../extras/${LINUX_DIST_VER}/${LINUX_RPM_ARCH}
DISTNAME=   ${PORTNAME}-${PORTVERSION}-1.fc4

MAINTAINER= hrs@FreeBSD.org
COMMENT=    Smart Common Input Method platform, library part, Linux binary

RUN_DEPENDS=    ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2

ONLY_FOR_ARCHS= i386 amd64
USE_LINUX_RPM=  yes
LINUX_DIST_VER= 4
USE_LDCONFIG=   yes
PLIST_SUB=  LINUX_RPM_ARCH=${LINUX_RPM_ARCH}

post-install:
    @chroot ${PREFIX} /usr/bin/gtk-query-immodules-2.0-32 > ${PREFIX}/etc/gtk-2.0/${LINUX_RPM_ARCH}-redhat-linux-gnu/gtk.immodules

.include <bsd.port.mk>