1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/emulators/dlx/Makefile
Edwin Groothuis a03d2350c7 [patch] mark emulators/dlx as broken except on i386 stable
Per bento, this port only seems to build on i386 stable.
	Mark it so.

	The distfile dates from 1991 (!) so it may well be time to
	let it go unless someone wants to step up to maintain it.

PR:		ports/57275
Submitted by:	Mark Linimon <linimon@lonesome.com>
2003-10-03 13:31:16 +00:00

50 lines
1.2 KiB
Makefile

# 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://foofoo.stanford.edu/pub/max/pub/hennessy-patterson.software/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Assembler for Hennessy and Patterson's DLX architecture
.include <bsd.port.pre.mk>
.if ${ARCH} != i386
BROKEN= will not build on ${ARCH}
.endif
.if ${OSVERSION} > 500000
BROKEN= does not build on -current
.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_CMD} ${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} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/dlxsim/doc/* ${DOCSDIR}
.endif
.include <bsd.port.post.mk>