aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/linux-f8-gdk-pixbuf/Makefile
blob: d8404bd796d8b1cb248942f744bf7000b9625080 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    linux-gdk-pixbuf
# Date created:     23 December 2003
# Whom:         Seth Kingsley <sethk@meowfishies.com>
#
# $FreeBSD$
#

PORTNAME=   gdk-pixbuf
PORTVERSION=    0.22.0.11.3.5
CATEGORIES= graphics linux
MASTER_SITES=   ${MASTER_SITE_FEDORA_LINUX}
MASTER_SITE_SUBDIR=fedora/fedora/${BASEVERSION}/${MACHINE_ARCH}/RPMS.updates/
PKGNAMEPREFIX=  linux-
DISTNAME=   ${PORTNAME}-${PORTVERSION:C/^([^\.]+\.[^\.]+\.[^\.]+)\./\1-/}.${MACHINE_ARCH}
EXTRACT_SUFX=   .rpm
EXTRACT_ONLY=

MAINTAINER= sethk@meowfishies.com
COMMENT=    Linux version of the graphic library for GTK+

BUILD_DEPENDS=  rpm:${PORTSDIR}/archivers/rpm

USE_LINUX_PREFIX=yes
ONLY_FOR_ARCHS= i386
DIST_SUBDIR=    rpm
NO_BUILD=   yes
NO_FILTER_SHLIBS=yes
PLIST_SUB=  VERSION=${PORTVERSION:C/^([^\.]+\.[^\.]+\.[^\.]+).+/\1/}

# Set the version of Fedora Core
BASEVERSION?=   2
RPMFLAGS=   --ignoreos --root ${PREFIX} --dbpath /var/lib/rpm\
        --nodeps --replacepkgs

do-install:
    @for rpm in ${DISTFILES}; do\
        ${ECHO_MSG} $$rpm;\
        rpm -U ${RPMFLAGS} ${DISTDIR}/${DIST_SUBDIR}/$$rpm || true;\
    done

.include <bsd.port.mk>