1997-03-05 08:30:54 +00:00
|
|
|
# New ports collection Makefile for: bsvc
|
1998-04-04 13:14:19 +00:00
|
|
|
# Date created: 03-Mar-1997
|
1999-09-07 03:10:49 +00:00
|
|
|
# Whom: tenser@spitfire.ecsel.psu.edu
|
1997-03-05 08:30:54 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1997-03-05 08:30:54 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 04:56:17 +00:00
|
|
|
PORTNAME= bsvc
|
|
|
|
PORTVERSION= 2.1
|
2009-02-23 14:46:37 +00:00
|
|
|
PORTREVISION= 3
|
2008-04-09 13:42:26 +00:00
|
|
|
CATEGORIES= emulators tk
|
2006-06-18 19:40:15 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
1998-04-04 13:14:19 +00:00
|
|
|
MASTER_SITE_SUBDIR= system/emulators
|
2003-12-11 17:13:00 +00:00
|
|
|
DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX}
|
1997-03-05 08:30:54 +00:00
|
|
|
|
2001-09-17 17:40:31 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:24:13 +00:00
|
|
|
COMMENT= An extensible hardware simulation framework with MC68K support
|
1997-03-05 08:30:54 +00:00
|
|
|
|
2000-09-25 12:21:43 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
1999-09-07 03:10:49 +00:00
|
|
|
MAKE_ENV= PROJECT_BASE=${PREFIX} WRKSRC=${WRKSRC}
|
2007-04-02 22:56:15 +00:00
|
|
|
USE_TK_RUN= yes
|
2009-11-19 22:07:43 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
1998-10-06 05:18:00 +00:00
|
|
|
|
2003-06-04 22:43:38 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-11-24 10:11:54 +00:00
|
|
|
pre-patch:
|
2003-12-11 17:13:00 +00:00
|
|
|
@${CP} ${WRKSRC}/Makefile.Linux ${WRKSRC}/Makefile
|
|
|
|
|
1998-10-06 05:18:00 +00:00
|
|
|
post-patch:
|
2003-12-11 17:13:00 +00:00
|
|
|
|
|
|
|
.for cfile in codegen.c listing.c object.c main.c
|
|
|
|
@${REINPLACE_CMD} -e 's|exit()|exit(1)|g' ${WRKSRC}/Assemblers/68kasm/${cfile}
|
|
|
|
.endfor
|
|
|
|
@${REINPLACE_CMD} -e 's|^#endif.*$$|#endif|g' \
|
|
|
|
${WRKSRC}/Assemblers/68kasm/instlookup.c
|
|
|
|
|
|
|
|
@${FIND} ${WRKSRC} -name "*.[ch]xx" -exec \
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's/iostream\.h/iostream/; \
|
|
|
|
s/strstream\.h/strstream/; \
|
|
|
|
s/fstream\.h/fstream/' \{\} \;
|
|
|
|
@${FIND} ${WRKSRC} -name Makefile -exec \
|
|
|
|
${REINPLACE_CMD} -e 's/make/$(MAKE)/' \{\} \;
|
1997-03-06 11:39:52 +00:00
|
|
|
|
2003-05-18 09:55:25 +00:00
|
|
|
.include <bsd.port.post.mk>
|