aboutsummaryrefslogtreecommitdiffstats
path: root/lang/mixal/Makefile
blob: 099a95899b7052d6767f35429a296ce9c29ad38e (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
# Created by: David O'Brien <obrien@cs.ucdavis.edu>
# $FreeBSD$

PORTNAME=   mixal
PORTVERSION=    1.11
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

NO_STAGE=   yes
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>