summaryrefslogtreecommitdiffstats
path: root/lang/mmix/Makefile
blob: 9fc1e589e126b343991a5e9a3fbf2d21de9d0f4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: Jing-Tang Keith Jang <keith@FreeBSD.org>
# $FreeBSD$

PORTNAME=	mmix
PORTVERSION=	20131017
CATEGORIES=	lang
MASTER_SITES=	http://mmix.cs.hm.edu/src/
EXTRACT_SUFX=	.tgz

MAINTAINER=	riggs@FreeBSD.org
COMMENT=	RISC computer designed by Donald E. Knuth

LICENSE=	mmix
LICENSE_NAME=	mmix license
LICENSE_FILE=	${FILESDIR}/LICENSE.txt
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

BUILD_DEPENDS=	ctangle:devel/cweb

NO_WRKSUBDIR=	yes
FILES=		mmix.1 mmix.mp silly.out silly.run

do-install:
	${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}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud