61df09a294
Changelog: [20140817] Release 0.6.0.1. It has been a while since the last release, and the SVN repository mirror at Sourceforge seems to be broken, so it felt reasonable to package the current code into a patch release. Not much has happened feature-wise since 0.6.0. [20140816] On FreeBSD/amd64 with GCC 4.2.1 as the default compiler, you may need to install GCC 4.8.4 and run the configure script like this to avoid triggering a bug in the default compiler: CXX=c++48 CXXFLAGS=-Wl,-rpath,/usr/local/lib/gcc48 ./configure [20110820] Not much coding lately. The only thing worth mentioning is that the Dreamcast emulation mode now gets further when running Marcus Comstedt's test programs, and also shows "something" when booting the PROM from my real Dreamcast. (This was in the legacy Dreamcast mode, for fun. I haven't had time to work on the new framework at all.) [20100729] Uploaded a clip to YouTube, showing the NetBSD/pmax install procedure in GXemul.
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.52 2014/12/08 20:55:19 ryoon Exp $
|
|
|
|
DISTNAME= gxemul-0.6.0.1
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://gxemul.sourceforge.net/src/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://gxemul.sourceforge.net/
|
|
COMMENT= Framework for full-system computer architecture emulation
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
USE_LANGUAGES= c c++
|
|
HAS_CONFIGURE= yes
|
|
BUILD_TARGET= build
|
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/gxemul.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
.for f in README HISTORY LICENSE
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
.endfor
|
|
cd ${WRKSRC}/doc && pax -rwppm . ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gxemul
|
|
PKG_SUPPORTED_OPTIONS= x11
|
|
PKG_SUGGESTED_OPTIONS= x11
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
GLOBAL_LDFLAGS= -L${X11BASE}/lib ${COMPILER_RPATH_FLAG}${X11BASE}/lib
|
|
SUBST_CLASSES+= x11
|
|
SUBST_STAGE.x11= post-patch
|
|
SUBST_FILES.x11= configure
|
|
SUBST_SED.x11= -e 's|-L/usr/X11R6/lib|${GLOBAL_LDFLAGS:Q}|g'
|
|
SUBST_SED.x11+= -e 's|/usr/X11R6|${X11BASE}|g'
|
|
SUBST_MESSAGE.x11= Fixing X linking flags.
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|