freebsd-ports/x11-toolkits/linux-f8-gtk2/Makefile
Boris Samorodov 0263b9d868 Welcome to the new linux ports infrastructure which allows using
both current (fc4) and future linux (f8) distributions at one
ports tree.

The patch contains full changes to ports/Mk files and all ports involved.
But only infrastructure is changed. The resulting packages are the same as
before. Hence no need to bump PORTREVISIONs.

The idea was taken from bsd.gnome.mk and others.

More than 130 ports are switched to follow a new linux infrastructure
introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new
bsd.linux-apps.mk.

Thanks for all who was involved and helped me with this work.
And help from Alexander Leidinger was incredible.

Other changes are coming. Stay tuned!

PR:		ports/132510
Submitted by:	bsam (me)
Exp-run by:	portmgr (pav)
2009-03-19 17:28:51 +00:00

34 lines
1.1 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
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX_RPM= yes
# these libraries are required by gtk-query-immodules-2.0 or
# gdk-pixbuf-query-loaders
USE_LINUX_APPS= atk jpeg pango png tiff xorglibs
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>