2000-11-06 07:43:30 +00:00
|
|
|
# Ports collection makefile for: mmix
|
|
|
|
# Date created: 25 Oct 2000
|
|
|
|
# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mmix
|
2009-02-27 12:57:10 +00:00
|
|
|
PORTVERSION= 20090205
|
2000-11-06 07:43:30 +00:00
|
|
|
CATEGORIES= lang
|
2009-02-27 12:57:10 +00:00
|
|
|
MASTER_SITES= http://www-cs-faculty.stanford.edu/~knuth/programs/ \
|
|
|
|
http://mirror.mcx2.org/
|
2000-11-06 07:43:30 +00:00
|
|
|
|
2009-03-06 18:14:36 +00:00
|
|
|
MAINTAINER= dhn@FreeBSD.org
|
2003-12-11 14:38:19 +00:00
|
|
|
COMMENT= A RISC computer designed by Donald E. Knuth
|
2000-11-06 07:43:30 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ctangle:${PORTSDIR}/devel/cweb
|
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
FILES= mmix.1 mmix.mp silly.out silly.run
|
|
|
|
|
2001-11-23 03:54:26 +00:00
|
|
|
post-patch:
|
2002-12-14 05:33:18 +00:00
|
|
|
@${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
|
2001-11-23 03:54:26 +00:00
|
|
|
|
2000-11-06 07:43:30 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmix ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmixal ${PREFIX}/bin
|
2001-11-23 03:54:26 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmmix ${PREFIX}/bin
|
2000-11-06 07:43:30 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmotype ${PREFIX}/bin
|
2001-11-23 03:54:26 +00:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.mmconfig ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.mmix ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.mms ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.w ${DATADIR}
|
2000-11-06 07:43:30 +00:00
|
|
|
.for f in ${FILES}
|
2001-11-23 03:54:26 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
|
2000-11-06 07:43:30 +00:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|