mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
7a5341a07b
- SH4 emulation now allows NetBSD/dreamcast to reach userland. - A framework to let emulated clocks run at same speed as the host clock has been added. - The built-in debugger's expression syntax has been changed. - Better MIPS emulation for some combination of emulated processor and guest operating system. - Bug fixes.
52 lines
979 B
Makefile
52 lines
979 B
Makefile
# New ports collection makefile for: gxemul
|
|
# Date created: 15 May 2005
|
|
# Whom: Janni
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gxemul
|
|
PORTVERSION= 0.4.3
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://gavare.se/gxemul/src/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= jkoshy
|
|
|
|
MAINTAINER= jkoshy@FreeBSD.org
|
|
COMMENT= Instruction-level machine emulator
|
|
|
|
HAS_CONFIGURE= yes
|
|
ALL_TARGET= build
|
|
|
|
PLIST_FILES= bin/gxemul
|
|
MAN1= gxemul.1
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
OPTIONS= X11 "X11 support" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITHOUT_X11)
|
|
CONFIGURE_ARGS+=--disable-x
|
|
.else
|
|
USE_XLIB= yes
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -Ee \
|
|
's|/usr/X11R6|${X11BASE}|g; s|-O[0-9]?||g; s|-f[a-zA-Z-]+||g' \
|
|
${WRKSRC}/configure
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/man/gxemul.1 ${MAN1PREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|