blob: 2adfd93fe88d1f034d9653ad1da8f06f8a52a075 (
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
|
# ex:ts=8
# Ports collection makefile for: dlx
# Version required: 2.0
# Date created: Mon Dec 23, 1998
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
DISTNAME= dlx
PKGNAME= dlx-2.0
CATEGORIES= emulators
MASTER_SITES= ftp://max.stanford.edu/pub/hennessy-patterson.software/
EXTRACT_SUFX= .tar.Z
MAINTAINER= obrien@FreeBSD.org
.if ${MACHINE_ARCH} == alpha
BROKEN= won\'t build on alpha
.endif
MAN1= dlxcc.1
do-configure:
cd ${WRKSRC}/gcc ; ./config.gcc dlx
do-build:
cd ${WRKSRC}/dlxsim ; make install
cd ${WRKSRC}/gcc ; make prefix=${PREFIX} INSTALLDIR=${PREFIX}/bin
do-install:
@cd ${WRKSRC}/gcc ; make prefix=${PREFIX} INSTALLDIR=${PREFIX}/bin install
@strip ${PREFIX}/bin/dlxcc ${PREFIX}/bin/dlx-gcc-cc1 \
${PREFIX}/bin/dlx-gcc-cpp
${INSTALL_PROGRAM} ${WRKSRC}/bin/dlxsim ${PREFIX}/bin
@cd ${WRKSRC}/man ; ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/dlx
@${INSTALL_DATA} ${WRKSRC}/dlxsim/doc/* ${PREFIX}/share/doc/dlx
.endif
.include <bsd.port.mk>
|