summaryrefslogtreecommitdiff
path: root/emulators/ski/Makefile
blob: ae1fa1c0cf9565971d47f90f49d9c9dae3e5bcea (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
36
37
38
39
40
41
42
43
44
45
46
#	$NetBSD: Makefile,v 1.3 2006/02/05 23:09:02 joerg Exp $

DISTNAME=		ski-0.9.81-l6-i686
PKGREVISION=		1
CATEGORIES=		emulators
MASTER_SITES=		# empty

MAINTAINER=		skrll@NetBSD.org
HOMEPAGE=		http://www.hpl.hp.com/research/linux/ski/
COMMENT=		The Hewlett-Packard IA-64 instruction set simulator for Linux/x86

RESTRICTED=		"Modification or Redistribution not permitted"
NO_SRC_ON_FTP=		${RESTRICTED}
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_FTP=		${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}

ONLY_FOR_PLATFORM=	*-*-i386

.include "../../emulators/suse_linux/Makefile.application"

.if !defined(USE_NATIVE_LINUX)
DEPENDS+=		suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11
.endif

WRKSRC=			${WRKDIR}
INTERACTIVE_STAGE=	fetch extract
CHECK_SHLIBS=		NO
NO_BUILD=		YES

DOWNLOAD=		http://www.hpl.hp.com/research/linux/ski/download.php

_FETCH_MESSAGE= \
	    ${ECHO} "==============================================================="; \
	    ${ECHO} "  Due to licensing restrictions, "; \
	    ${ECHO} "  the HP Ski IA-64 emulator for Linux 2.x (i686) must be fetched"; \
	    ${ECHO} "  into ${DISTDIR} from"; \
	    ${ECHO} "  ${DOWNLOAD}"; \
	    ${ECHO} "==============================================================="

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/nue/usr/bin/*ski* ${PREFIX}/bin
	${INSTALL_MAN} ${WRKDIR}/nue/usr/man/man1/*ski*.1 ${PREFIX}/man/man1
	${INSTALL_DATA} ${WRKDIR}/nue/usr/X11R6/lib/X11/app-defaults/XSki ${PREFIX}/lib/X11/app-defaults/XSki

.include "../../mk/bsd.pkg.mk"