2c743c4d24
--- The main change between release 0.4.7.2 and 0.6.0 is: * Since late 2007, a complete rewrite of the emulator's base framework has been going on. GXemul 0.6.0 is a very early release of the new framework. So far, only the testm88k machine mode has been rewritten to use the new framework, all other machine modes run in legacy mode using the old framework (which is still included). In other words: For most emulation modes, 0.6.0 will be exactly like 0.4.7.2. In addition to the new framework, a couple of other changes are worth mentioning: * Many unused, rarely used, and bogus emulation modes and features were removed, to reduce the maintenance burden. * Some operating systems listed on the guest OS page have had new releases; the documentation has been updated to reflect this. * New source code (but not the legacy part) is documented using Doxygen comments, and there is a unit testing framework in place. * There is now finally an install Makefile target, and the -j make option can be used to parallelize builds. Please read the HISTORY file for more details. --- Also update pkgsrc files: * update COMMENT and DESCR per the latest release note * remove MAKE_JOBS_SAFE=no as mentioned in the above changes list.
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.43 2010/05/13 14:48:53 tsutsui Exp $
|
|
#
|
|
|
|
DISTNAME= gxemul-0.6.0
|
|
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
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
USE_LANGUAGES= c c++
|
|
HAS_CONFIGURE= yes
|
|
BUILD_TARGET= build
|
|
|
|
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"
|