freebsd-ports/emulators/sim/Makefile
Chris D. Faulhaber 03231c45e0 Move the s/\r// from post-configure to pre-patch to make
patching work more consistently.
2002-05-22 18:02:28 +00:00

45 lines
920 B
Makefile

# New ports collection makefile for: sim
# Date created: 7 November 1997
# Whom: jraynard
#
# $FreeBSD$
#
PORTNAME= sim
PORTVERSION= 2.9.9
CATEGORIES= emulators
MASTER_SITES= http://simh.trailing-edge.com/sources/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=jedgar
DISTNAME= ${PORTNAME}hv29-9
MAINTAINER= jedgar@FreeBSD.org
USE_ZIP= yes
RESTRICTED= "Non-commercial use only"
MAKEFILE= ${FILESDIR}/Makefile
NO_WRKSUBDIR= yes
SHELL=${SH}
BIN_FILES= altair eclipse h316 nova pdp1 pdp10 pdp11 pdp15 pdp4 pdp7 pdp8 \
pdp9 s3
pre-patch:
@${MKDIR} ${WRKSRC}/BIN
@for i in `find . -name "*.[hc]"`; \
do \
${PERL} -pi -e 's@\r@@g' $$i ;\
done
do-install:
.for file in ${BIN_FILES}
${INSTALL_PROGRAM} ${WRKDIR}/BIN/${file} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/sim
@${INSTALL_DATA} ${WRKDIR}/simh_doc.txt ${PREFIX}/share/doc/sim
.endif
.include <bsd.port.mk>