summaryrefslogtreecommitdiff
path: root/emulators/linux-systemsimcell/Makefile
blob: a4d53049c1d5c6a02838b274d3c2eaf187178ef0 (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
42
43
# Created by: Stas Timokhin <stast@bsdportal.ru>
# $FreeBSD$

PORTNAME=	systemsimcell
PORTVERSION=	3.1.25
CATEGORIES=	emulators linux
MASTER_SITES=	http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.1//CellSDK-Open-Fedora/x86/ \
		http://www.stasyan.com/devel/distfiles/
PKGNAMEPREFIX=	linux-
EXTRACT_SUFX=
DISTFILES=	systemsim-cell-3.1-25.f9.${ARCH}.rpm \
		sysroot_image-3.1-1.noarch.rpm

MAINTAINER=	devel@stasyan.com
COMMENT=	System simulator for the Cell Broadband Processor

NO_BUILD=	yes
RESTRICTED=	Redistribution of pre-compiled binaries is not permitted

SRC_DISTFILES=
DIST_SUBDIR=	rpm
ONLY_FOR_ARCHS=	i386
USE_LINUX_APPS=	tcl84 tk84 blt
USE_LINUX_RPM=	yes
NOFETCHFILES=	systemsim-cell-3.1-25.f9.${ARCH}.rpm

NO_STAGE=	yes
.include <bsd.port.pre.mk>

DOWNLOAD_URL=	http://www.alphaworks.ibm.com/tech/cellsystemsim/download

.if !exists(${DISTDIR}/${DIST_SUBDIR}/${NOFETCHFILES})
IGNORE=	distfile can only be fetched if you accept the license. Go to ${DOWNLOAD_URL} and put ${NOFETCHFILES} into ${DISTDIR}/${DIST_SUBDIR}.
.endif

pre-fetch:
.if ${OSVERSION}<700055
IGNORE=	you need FreeBSD>=7.0 RELEASE with Linux emulation 2.6.x.
.elif ${OSVERSION}<800076 && ! defined (OVERRIDE_LINUX_NONBASE_PORTS)
IGNORE=	you need to use non-default linux ports (define OVERRIDE_LINUX_BASE_PORT=f10 and OVERRIDE_LINUX_NONBASE_PORTS=f10).
.endif

.include <bsd.port.post.mk>