freebsd-ports/x11-toolkits/linux-gtk2/Makefile
Boris Samorodov b9b4aec7e0 In preparation for adding new linux (Fedora 8) infrastructure ports all linux
base ports were unified. Now it's linux_base-fc4 turn: devel/linux-glib2
is incorporated.

Changes:

* emulation/linux_base-fc4:
  . devel/linux-glib2 is incorporated;
  . CONFLICTS is fixed;
  . PORTREVISION is bumped;

* removed *_DEPENDS upon devel/linux-glib2 and PORTREVISION bumped:
  . accessibility/linux-atk;
  . astro/google-earth;
  . audio/linux-openal;
  . graphics/linux-XnViewMP;
  . www/linux-mplayer-plugin;
  . x11-toolkits/linux-gtk2;
  . x11-toolkits/linux-pango;

* devel/linux-glib2:
  . CONFLICTS is fixed;
  . DEPRECATED;
  . EXPIRATION_DATE is set;

Note: this should fix a bug for non-default linux base ports when glib2
      files were installed both by a linux base and by linux-glib2 ports.
2009-01-21 16:17:47 +00:00

40 lines
1.4 KiB
Makefile

# New ports collection makefile for: linux-gtk2
# Date created: 2003-11-19
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= gtk2
PORTVERSION= 2.6.10
PORTREVISION= 1
CATEGORIES= x11-toolkits linux
DISTFILES= ${PORTNAME}-${PORTVERSION}-2.fc4.4.${LINUX_RPM_ARCH}.rpm \
${PORTNAME}-engines-2.6.3-2.${LINUX_RPM_ARCH}.rpm
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/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
USE_XLIB= yes
USE_LINUX_RPM= yes
LINUX_DIST_VER= 4
USE_LDCONFIG= yes
BRANDELF_DIRS= usr/bin
PLIST_SUB= LIBVERSION="600.10" PORTVERSION="${PORTVERSION}"
SRC_DISTFILES= ${PORTNAME}-${PORTVERSION}-2.fc4.4.src.rpm \
${PORTNAME}-engines-2.6.3-2.src.rpm
post-install:
@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 <bsd.port.mk>