summaryrefslogtreecommitdiff
path: root/emulators/suse_libpng/Makefile
blob: 9ad07a0bb05909e7954285a162a07bc68ec4abfa (plain)
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
# $NetBSD: Makefile,v 1.15 2004/04/19 00:28:59 wiz Exp $

DISTNAME=		libpng
PKGREVISION=		1
PKGNAME=		suse_${DISTNAME}-${SUSE_VERSION}
CATEGORIES=		emulators
MASTER_SITES=		${MASTER_SITE_SUSE_UPD:=gra1/}
DISTFILES=		${RPMFILES}
EXTRACT_SUFX=		.rpm

MAINTAINER=		tron@NetBSD.org
HOMEPAGE=		http://www.suse.com/
COMMENT=		Linux compatibility package for the PNG library

DEPENDS+=		suse_base>=${SUSE_VERSION}:../../emulators/suse_base

ONLY_FOR_PLATFORM=      NetBSD-*-i386 NetBSD-*-powerpc FreeBSD-*-i386

EXTRACT_ONLY=		# empty
NO_BUILD=		YES
NO_BUILDLINK=		YES
PLIST_SRC=		${WRKDIR}/PLIST_DYNAMIC

.include "../../emulators/suse_linux/arch.mk"

.if ${SUSE_ARCH} == "i386"
RPMFILES=		${DISTNAME}-2.1.0.12-160.${SUSE_ARCH}${EXTRACT_SUFX}
.elif ${SUSE_ARCH} == "ppc"
RPMFILES=		${DISTNAME}-2.1.0.12-131.${SUSE_ARCH}${EXTRACT_SUFX}
.else
RPMFILES=		${DISTNAME}${EXTRACT_SUFX}
.endif

.include "../../emulators/suse_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"