summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-06-02 07:19:33 +0000
committerobache <obache@pkgsrc.org>2012-06-02 07:19:33 +0000
commitdac145a0804ec06302c6a5c5dc9f8ef93d6421ac (patch)
tree67c1a0dcae9e456c95f1095915df27745d71d324 /emulators
parent50c44aff645350b69f7d32457297290c6fadbae7 (diff)
downloadpkgsrc-dac145a0804ec06302c6a5c5dc9f8ef93d6421ac.tar.gz
Import xnp2-0.83pl20120302 as emulators/xnp2.
Based on PR 46484 by Izumi Tsutsui. Xnp2 is a port for UNIX with X11 of "Neko Project II" PC-9801 emulator.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xnp2/DESCR1
-rw-r--r--emulators/xnp2/Makefile37
-rw-r--r--emulators/xnp2/PLIST8
-rw-r--r--emulators/xnp2/distinfo5
-rw-r--r--emulators/xnp2/options.mk12
5 files changed, 63 insertions, 0 deletions
diff --git a/emulators/xnp2/DESCR b/emulators/xnp2/DESCR
new file mode 100644
index 00000000000..9e2e1ab7c72
--- /dev/null
+++ b/emulators/xnp2/DESCR
@@ -0,0 +1 @@
+Xnp2 is a port for UNIX with X11 of "Neko Project II" PC-9801 emulator.
diff --git a/emulators/xnp2/Makefile b/emulators/xnp2/Makefile
new file mode 100644
index 00000000000..b3b4e5f664a
--- /dev/null
+++ b/emulators/xnp2/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/06/02 07:19:33 obache Exp $
+
+SNAPSHOTDATE= 20120302
+DISTNAME= xnp2-${SNAPSHOTDATE}
+PKGNAME= xnp2-0.83pl${SNAPSHOTDATE}
+CATEGORIES= emulators
+MASTER_SITES= http://www.asahi-net.or.jp/~aw9k-nnk/np2/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= tsutsui@NetBSD.org
+HOMEPAGE= http://www.asahi-net.or.jp/~aw9k-nnk/np2/
+COMMENT= Neko Project II PC-9801 emulator
+LICENSE= modified-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+CONFIGURE_DIRS= x11
+
+GNU_CONFIGURE= yes
+
+.include "options.mk"
+
+INSTALLATION_DIRS+= share/doc/xnp2 ${PKGMANDIR}/ja/man1
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/x11/README.ja \
+ ${DESTDIR}${PREFIX}/share/doc/xnp2
+ ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xnp2.1j \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/ja/man1/xnp2.1
+
+BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.6.0
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/xnp2/PLIST b/emulators/xnp2/PLIST
new file mode 100644
index 00000000000..5351594a8fc
--- /dev/null
+++ b/emulators/xnp2/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/06/02 07:19:33 obache Exp $
+bin/xnp2
+man/ja/man1/xnp2.1
+man/man1/xnp2.1
+share/doc/xnp2/README.ja
+share/xnp2/fddseek.wav
+share/xnp2/fddseek1.wav
+share/xnp2/np2tool.d88
diff --git a/emulators/xnp2/distinfo b/emulators/xnp2/distinfo
new file mode 100644
index 00000000000..095bd560762
--- /dev/null
+++ b/emulators/xnp2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/06/02 07:19:33 obache Exp $
+
+SHA1 (xnp2-20120302.tar.bz2) = d12c9e62eb647a82ffa2a5ff422e8a2770fe722d
+RMD160 (xnp2-20120302.tar.bz2) = 1d29a94123400a3a0ede19b1eb718c9b091e3722
+Size (xnp2-20120302.tar.bz2) = 1676661 bytes
diff --git a/emulators/xnp2/options.mk b/emulators/xnp2/options.mk
new file mode 100644
index 00000000000..22172d45cf7
--- /dev/null
+++ b/emulators/xnp2/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1.1.1 2012/06/02 07:19:33 obache Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.xnp2
+PKG_SUPPORTED_OPTIONS= xnp2-ia32
+PKG_SUGGESTED_OPTIONS= xnp2-ia32
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mxnp2-ia32)
+# Enable ia32 core instead of the default 80286 core
+CONFIGURE_ARGS+= --enable-ia32
+.endif