summaryrefslogtreecommitdiff
path: root/emulators/suse_libpng/Makefile
blob: a29d1e95e8de3810feabe997f482b3e56bd0985a (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.14 2004/04/14 11:31:12 xtraeme 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

USE_BUILDLINK2=		# defined
EXTRACT_ONLY=		# empty
NO_BUILD=		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"