7e52725f2a
Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti.
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# Ports collection makefile for: mmix
|
|
# Date created: 25 Oct 2000
|
|
# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mmix
|
|
PORTVERSION= 20021126
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www-cs-faculty.stanford.edu/~knuth/programs/
|
|
|
|
MAINTAINER= keith@FreeBSD.org
|
|
COMMENT= MMIX is a RISC computer designed by Donald E. Knuth
|
|
|
|
BUILD_DEPENDS= ctangle:${PORTSDIR}/devel/cweb
|
|
|
|
NO_WRKSUBDIR= yes
|
|
FILES= mmix.1 mmix.mp silly.out silly.run
|
|
USE_REINPLACE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmix ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmixal ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmmix ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmotype ${PREFIX}/bin
|
|
@${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}
|
|
.for f in ${FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|