summaryrefslogtreecommitdiff
path: root/emulators/x48/Makefile
diff options
context:
space:
mode:
authorhe <he>2013-07-08 08:37:10 +0000
committerhe <he>2013-07-08 08:37:10 +0000
commitd21cbc80f03ba8c8c3303614aa3fb1c7f1d9fa6c (patch)
tree71de23397bfbf7db37ab283df191975d81f1e2e0 /emulators/x48/Makefile
parent6c95a27af8161f184b4b82dbf20dd6bcb3bdf620 (diff)
downloadpkgsrc-d21cbc80f03ba8c8c3303614aa3fb1c7f1d9fa6c.tar.gz
Update x48 from version 0.4.1 to 0.6.4.
Pkgsrc changes; * HOMEPAGE & distribution site moved. * HP has released the ROMs, and copies of these are now automatically installed. * I could not get the X11 shm option to work (native X11, NetBSD 6.1/i386), so it is disabled in the Makefile. * Patch with updated pty handling code, borrowing some from FreeBSD's package here. Upstream changes: 2011-08-08 "G. Allen Morris III" <gam3@gam3.net> release 0.6.4 * Default to throttling speed only when key-pressed * Add throttle switch for speed emulation * Fix buffer overflow bug * release keys on loss of focus * typo in access_time adjust 2010-02-01 "G. Allen Morris III" <gam3@gam3.net> release 0.6.3 * made updates to x48.spec * put debian directory in dist file * install X48 app data in correct place using pkg-config appdefaultdir xt * removed more debugging messages * added 'netbook' look for small/short screens use +netbook on the command line 2010-01-30 "G. Allen Morris III" <gam3@gam3.net> release 0.6.2 * remove setlocal code that was causing a bug. * removed some debugging code. 2009-06-31 "G. Allen Morris III" <gam3@gam3.net> release 0.6.1 * Fix to XShm to solve the 'LCD' Scramble problem. 2006-04-20 "G. Allen Morris III" <gam3@gam3.net> * Added simple paste feature * Repaired debugger non-readline input * Changed from building with Imakefile to using GNU autoconfig 2005-03-20 "G. Allen Morris III" <gam3@gam3.net> * added equal key for + and Meta Keys for Alpha * applied a different fix for the arrow repeat key bug * fixed a bug in the timer one logic. The cursor now flashes on input. 2005-03-20 "G. Allen Morris III" <gam3@gam3.net> * added patch [000390] time.h compile bug * added patch [000391] Arrow key repeat patch * added ChangeLog file 2005-03-18 "G. Allen Morris III" <gam3@gam3.net> * starting from x48 0.4.0.
Diffstat (limited to 'emulators/x48/Makefile')
-rw-r--r--emulators/x48/Makefile44
1 files changed, 36 insertions, 8 deletions
diff --git a/emulators/x48/Makefile b/emulators/x48/Makefile
index 0bb2968b954..271044e1a3f 100644
--- a/emulators/x48/Makefile
+++ b/emulators/x48/Makefile
@@ -1,24 +1,51 @@
-# $NetBSD: Makefile,v 1.15 2013/01/17 15:51:26 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2013/07/08 08:37:10 he Exp $
#
-DISTNAME= x48_041
-PKGNAME= x48-0.4.1
-PKGREVISION= 1
+DISTNAME= x48-0.6.4
CATEGORIES= emulators
-MASTER_SITES= http://home.earthlink.net/~rmmlgetz/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=x48.berlios/}
+DISTFILES= ${PKGNAME}${EXTRACT_SUFX}
+DISTFILES+= sxrom-e.bz2 gxrom-r.bz2
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://home.earthlink.net/~rmmlgetz/
+HOMEPAGE= http://x48.berlios.de/
COMMENT= HP48 emulator
+LICENSE= gnu-gpl-v3
-WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
-USE_IMAKE= YES
+WRKSRC= ${WRKDIR}
+#USE_IMAKE= YES
+GNU_CONFIGURE= YES
+USE_TOOLS+= pkg-config aclocal autoconf automake autoreconf
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake
+
+DATADIR= lib/x48
INSTALLATION_DIRS+= share/doc/x48/romdump
+INSTALLATION_DIRS+= ${DATADIR}
+INSTALLATION_DIRS+= lib/X11/app-defaults
+
+CONFIGURE_ARGS= --disable-shm
CPPFLAGS+= -DHAVE_STDLIB
+SUBST_CLASSES= fix-ad
+SUBST_STAGE.fix-ad= post-configure
+SUBST_MESSAGE.fix-ad= Fix default rom path
+SUBST_FILES.fix-ad= X48.ad
+SUBST_SED.fix-ad= -e 's,"rom.dump,"${DATADIR}/gxrom-r,'
+
+
+pre-configure:
+ cd ${WRKSRC} && autoreconf -fi
+
post-install:
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} X48 \
+ ${DESTDIR}${PREFIX}/lib/X11/app-defaults
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} ??rom-? ${DESTDIR}${PREFIX}/${DATADIR}
cd ${WRKSRC}/doc && \
${INSTALL_MAN} CARDS.doc INSTALLING ROMDump.doc \
${DESTDIR}${PREFIX}/share/doc/x48
@@ -28,4 +55,5 @@ post-install:
${DESTDIR}${PREFIX}/share/doc/x48/romdump
.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"