1998-12-30 04:27:21 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: dlx
|
|
|
|
# Date created: Mon Dec 23, 1998
|
|
|
|
# Whom: David O'Brien (obrien@NUXI.com)
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-12-30 04:27:21 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 04:56:17 +00:00
|
|
|
PORTNAME= dlx
|
|
|
|
PORTVERSION= 2.0
|
1998-12-30 04:27:21 +00:00
|
|
|
CATEGORIES= emulators
|
1999-04-16 06:53:30 +00:00
|
|
|
MASTER_SITES= ftp://max.stanford.edu/pub/hennessy-patterson.software/
|
2000-04-15 09:38:52 +00:00
|
|
|
DISTNAME= ${PORTNAME}
|
1998-12-30 04:27:21 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
2000-02-13 03:25:05 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1998-12-30 04:27:21 +00:00
|
|
|
|
1999-07-04 20:57:34 +00:00
|
|
|
.if ${MACHINE_ARCH} == alpha
|
2000-02-13 03:25:05 +00:00
|
|
|
BROKEN= will not build on alpha
|
1999-07-04 20:57:34 +00:00
|
|
|
.endif
|
|
|
|
|
1998-12-30 04:27:21 +00:00
|
|
|
MAN1= dlxcc.1
|
|
|
|
|
|
|
|
do-configure:
|
1999-07-04 20:57:34 +00:00
|
|
|
cd ${WRKSRC}/gcc ; ./config.gcc dlx
|
1998-12-30 04:27:21 +00:00
|
|
|
|
|
|
|
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>
|