1997-03-05 09:30:54 +01:00
|
|
|
# New ports collection Makefile for: bsvc
|
1998-04-04 15:14:19 +02:00
|
|
|
# Date created: 03-Mar-1997
|
1999-09-07 05:10:49 +02:00
|
|
|
# Whom: tenser@spitfire.ecsel.psu.edu
|
1997-03-05 09:30:54 +01:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1997-03-05 09:30:54 +01:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:56:17 +02:00
|
|
|
PORTNAME= bsvc
|
|
|
|
PORTVERSION= 2.1
|
2009-02-23 15:46:37 +01:00
|
|
|
PORTREVISION= 3
|
2008-04-09 15:42:26 +02:00
|
|
|
CATEGORIES= emulators tk
|
2006-06-18 21:40:15 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
1998-04-04 15:14:19 +02:00
|
|
|
MASTER_SITE_SUBDIR= system/emulators
|
2003-12-11 18:13:00 +01:00
|
|
|
DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX}
|
1997-03-05 09:30:54 +01:00
|
|
|
|
2001-09-17 19:40:31 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:24:13 +01:00
|
|
|
COMMENT= An extensible hardware simulation framework with MC68K support
|
1997-03-05 09:30:54 +01:00
|
|
|
|
2000-09-25 14:21:43 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
1999-09-07 05:10:49 +02:00
|
|
|
MAKE_ENV= PROJECT_BASE=${PREFIX} WRKSRC=${WRKSRC}
|
2007-04-03 00:56:15 +02:00
|
|
|
USE_TK_RUN= yes
|
2009-11-19 23:07:43 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
1998-10-06 07:18:00 +02:00
|
|
|
|
2003-06-05 00:43:38 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-11-24 11:11:54 +01:00
|
|
|
pre-patch:
|
2003-12-11 18:13:00 +01:00
|
|
|
@${CP} ${WRKSRC}/Makefile.Linux ${WRKSRC}/Makefile
|
|
|
|
|
1998-10-06 07:18:00 +02:00
|
|
|
post-patch:
|
2003-12-11 18:13:00 +01: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 12:39:52 +01:00
|
|
|
|
2003-05-18 11:55:25 +02:00
|
|
|
.include <bsd.port.post.mk>
|