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
|
2003-05-10 14:49:04 +00:00
|
|
|
MASTER_SITES= ftp://foofoo.stanford.edu/pub/max/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
|
|
|
|
|
2002-06-08 17:33:41 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-11-25 22:36:27 +00:00
|
|
|
COMMENT= Assembler for Hennessy and Patterson's DLX architecture
|
1998-12-30 04:27:21 +00:00
|
|
|
|
2004-11-04 15:19:13 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
USE_GCC= 2.95
|
|
|
|
MAKE_ENV= prefix=${PREFIX} INSTALLDIR=${PREFIX}/bin
|
1999-07-04 20:57:34 +00:00
|
|
|
|
2004-11-04 15:19:13 +00:00
|
|
|
PORTDOCS= dlxsim.tex manual.tex report.tex report2.tex
|
1998-12-30 04:27:21 +00:00
|
|
|
MAN1= dlxcc.1
|
|
|
|
|
|
|
|
do-configure:
|
2004-11-04 15:19:13 +00:00
|
|
|
cd ${WRKSRC}/gcc && ./config.gcc dlx
|
1998-12-30 04:27:21 +00:00
|
|
|
|
|
|
|
do-build:
|
2004-11-04 15:19:13 +00:00
|
|
|
cd ${WRKSRC}/dlxsim && ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
|
|
|
|
cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${MAKE}
|
1998-12-30 04:27:21 +00:00
|
|
|
|
|
|
|
do-install:
|
2004-11-04 15:19:13 +00:00
|
|
|
cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
|
|
|
|
cd ${PREFIX}/bin && ${STRIP_CMD} dlxcc dlx-gcc-cc1 dlx-gcc-cpp
|
1998-12-30 04:27:21 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/dlxsim ${PREFIX}/bin
|
2004-11-04 15:19:13 +00:00
|
|
|
cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
|
1998-12-30 04:27:21 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-11-04 15:19:13 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dlxsim/doc/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
1998-12-30 04:27:21 +00:00
|
|
|
.endif
|
|
|
|
|
2004-11-04 15:19:13 +00:00
|
|
|
.include <bsd.port.mk>
|