aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/ia64sim/Makefile
blob: 26e755c9ec1376b5490dc706abb6fdb198f7fd26 (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
44
45
46
47
48
49
50
51
# ex:ts=8
# Ports collection makefile for:  ia64sim
# Date created:           Tue Oct 10, 2000
# Whom:               David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#

PORTNAME=   ia64sim
PORTVERSION=    0.5
PORTREVISION=   1
CATEGORIES= emulators
MASTER_SITES=   http://www.pacificsites.com/~ccrayne/  \
        http://www.boo.net/~jasonp/
DISTNAME=   ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    IA64 simulator (Intel(R) Architecture 64)

USE_ZIP=    yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 501103
BROKEN+=        "and does not build with latest gcc"
.endif

.if ${ARCH} != "i386"
BROKEN=     "Does not compile on !i386"
.endif

EXTRACT_BEFORE_ARGS=    -qLa
WRKSRC=     ${WRKDIR}/home/chuck/ia64simcc
USE_GMAKE=  yes
MAKEFILE=   makefile.unx

PLIST_FILES=    bin/ia64sim
PORTDOCS=   ia64user.txt readme

pre-build:
    ${RM} -f ${WRKSRC}/obj/*.o
    ${RM} -f ${WRKSRC}/ia64sim

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ia64sim ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/ia64user.txt ${WRKSRC}/readme ${DOCSDIR}
.endif

.include <bsd.port.post.mk>