aboutsummaryrefslogtreecommitdiff
path: root/lang/mixal/Makefile
blob: dbaa7682f76c4c4cd00efeaaab3339588f06e5e7 (plain) (blame)
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
# ex:ts=8
# Ports collection makefile for:  mixal
# Date created:			  21-Dec-1996
# Whom:                 	  David O'Brien <obrien@cs.ucdavis.edu>
#
# $FreeBSD$
#

PORTNAME=	mixal
PORTVERSION=	1.09
PORTREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	http://www.catb.org/~esr/mixal/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Assembler and interpreter for Donald Knuth's mythical MIX computer

USE_GMAKE=	yes
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
ALL_TARGET=	${PORTNAME}

MAN1=		mixal.1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mixal ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/mixal.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for F in MIX.DOC NOTES README opcodes *.mix
	${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>