blob: 2005fb8e029c8b42271a81c3fa3990445f8a2844 (
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
# Date created: Mon Dec 23, 1998
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
PORTNAME= dlx
PORTVERSION= 2.0
CATEGORIES= emulators
MASTER_SITES= ftp://max.stanford.edu/pub/hennessy-patterson.software/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tar.Z
MAINTAINER= obrien@FreeBSD.org
.if ${MACHINE_ARCH} == alpha
BROKEN= will not 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>
|