freebsd-ports/x11-toolkits/linux-f10-gtk2/Makefile
Alexander Leidinger 7c5b1b9734 Catch up with distfile rename/update.
Submitted by:	 Jerzy Gurycz <Jerzy.Gurycz@enarxe.com>
2006-01-04 17:18:03 +00:00

44 lines
1.7 KiB
Makefile

# New ports collection makefile for: linux-gtk2
# Date created: 2003-11-19
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= gtk2
PORTVERSION= 2.4.14
PORTREVISION= 3
CATEGORIES= x11-toolkits linux
MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX} \
http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/${SUBDIR}/ \
ftp://ftp.uni-koeln.de/mirrors/fedora/linux/core/${SUBDIR}/
MASTER_SITE_SUBDIR= updates/3/i386
MAINTAINER= freebsd-emulation@FreeBSD.org
COMMENT= GTK+ library, version 2.X, Linux binary
# these libraries are required by gtk-query-immodules-2.0 or
# gdk-pixbuf-query-loaders
RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libglib-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \
${LINUXBASE}/usr/lib/libatk-1.0.so.0:${PORTSDIR}/accessibility/linux-atk \
${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg \
${LINUXBASE}/usr/lib/libpng12.so.0:${PORTSDIR}/graphics/linux-png \
${LINUXBASE}/usr/lib/libtiff.so.3:${PORTSDIR}/graphics/linux-tiff \
${LINUXBASE}/usr/lib/libpango-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-pango
ONLY_FOR_ARCHS= i386 amd64
PLIST= ${PKGDIR}/pkg-plist
USE_XLIB= yes
RESTRICTED= "binaries under GNU LGPL without accompanying source"
RPM_SET= gtk2-${PORTVERSION}-4.fc3.3.${ARCH}.rpm
PLIST_SUB= LIBVERSION="400.14" PORTVERSION="${PORTVERSION}"
post-install:
.for ii in gdk-pixbuf-query-loaders-32 gtk-demo gtk-query-immodules-2.0-32
@${BRANDELF} -t Linux ${PREFIX}/usr/bin/${ii}
.endfor
@chroot ${PREFIX} /usr/bin/gtk-query-immodules-2.0-32 > ${PREFIX}/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
@chroot ${PREFIX} /usr/bin/gdk-pixbuf-query-loaders-32 > ${PREFIX}/etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders
.include "../linux-gtk/Makefile"