2013-08-14 14:05:35 +02:00
|
|
|
# Created by: Jing-Tang Keith Jang <keith@FreeBSD.org>
|
2000-11-06 08:43:30 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mmix
|
2014-06-14 14:12:33 +02:00
|
|
|
PORTVERSION= 20131017
|
2000-11-06 08:43:30 +01:00
|
|
|
CATEGORIES= lang
|
2014-06-14 14:12:33 +02:00
|
|
|
MASTER_SITES= http://mmix.cs.hm.edu/src/
|
|
|
|
EXTRACT_SUFX= .tgz
|
2000-11-06 08:43:30 +01:00
|
|
|
|
2014-06-14 14:12:33 +02:00
|
|
|
MAINTAINER= riggs@FreeBSD.org
|
2013-08-21 13:51:24 +02:00
|
|
|
COMMENT= RISC computer designed by Donald E. Knuth
|
2000-11-06 08:43:30 +01:00
|
|
|
|
2014-06-14 14:12:33 +02:00
|
|
|
LICENSE= mmix
|
|
|
|
LICENSE_NAME= mmix license
|
|
|
|
LICENSE_FILE= ${FILESDIR}/LICENSE.txt
|
|
|
|
LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
|
|
|
|
|
2000-11-06 08:43:30 +01:00
|
|
|
BUILD_DEPENDS= ctangle:${PORTSDIR}/devel/cweb
|
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
FILES= mmix.1 mmix.mp silly.out silly.run
|
|
|
|
|
|
|
|
do-install:
|
2014-02-26 08:19:22 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmix ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmixal ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmmix ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmotype ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.mmconfig ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.mmix ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.mms ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.w ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DATADIR}
|
2000-11-06 08:43:30 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|