pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46484: New package: Xnp2 NEC PC-9801 emulator



>Number:         46484
>Category:       pkg
>Synopsis:       New package: Xnp2 NEC PC-9801 emulator
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 27 06:10:00 +0000 2012
>Originator:     Izumi Tsutsui
>Release:        NetBSD 6.0_BETA
>Organization:
>Environment:
System: NetBSD/i386 6.0_BETA
Architecture: i386
Machine: i386
also works on NetBSD/hpcarm etc.
>Description:
Xnp2 is a port for UNIX with X11 of "Neko Project II"
NEC's PC-9801 personal computer emulator, maintained by nonaka@.
It can run MS-DOS and applications and might be able to run
FreeBSD/pc98 and (unofficial and old) NetBSD/pc98.
>How-To-Repeat:
>Fix:
shar attached.  Any comments are apprecaited.
I wonder if "--enable-ia32" option should be default or in options.mk.
(ia32 core supports 32bit VM86, but is slower than the default 80286 one)

---cut here---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       xnp2
#       xnp2/DESCR
#       xnp2/Makefile
#       xnp2/PLIST
#       xnp2/distinfo
#       xnp2/options.mk
#
echo c - xnp2
mkdir -p xnp2 > /dev/null 2>&1
echo x - xnp2/DESCR
sed 's/^X//' >xnp2/DESCR << 'END-of-xnp2/DESCR'
XXnp2 is a port for UNIX with X11 of "Neko Project II" PC-9801 emulator.
END-of-xnp2/DESCR
echo x - xnp2/Makefile
sed 's/^X//' >xnp2/Makefile << 'END-of-xnp2/Makefile'
X# $NetBSD$
X
XSNAPSHOTDATE=          20120302
XDISTNAME=              xnp2-${SNAPSHOTDATE}
XPKGNAME=               xnp2-0.83pl${SNAPSHOTDATE}
XCATEGORIES=            emulators
XMASTER_SITES=          http://www.asahi-net.or.jp/~aw9k-nnk/np2/
XEXTRACT_SUFX=          .tar.bz2
X
XMAINTAINER=            tsutsui%NetBSD.org@localhost
XHOMEPAGE=              http://www.asahi-net.or.jp/~aw9k-nnk/np2/
XCOMMENT=               Neko Project II PC-9801 emulator
XLICENSE=               modified-bsd
X
XPKG_DESTDIR_SUPPORT=   user-destdir
X
XUSE_TOOLS+=            pkg-config
X
XUSE_LANGUAGES+=                c c++
X
X.include "../../mk/bsd.prefs.mk"
X
XGNU_CONFIGURE=         yes
XCONFIGURE_DIRS=                x11
XCONFIGURE_ARGS+=       --mandir=${DESTDIR}${PREFIX}/man
X
X.include "options.mk"
X
XBUILD_DIRS=            ${CONFIGURE_DIRS}
X
XINSTALLATION_DIRS+=     share/xnp2 share/doc/xnp2
X
Xpost-install:
X       ${INSTALL_DATA} ${WRKSRC}/x11/README.ja \
X           ${DESTDIR}${PREFIX}/share/doc/xnp2
X
XBUILDLINK_API_DEPENDS.gtk2+=    gtk2+>=2.6.0
X.include "../../x11/gtk2/buildlink3.mk"
X.include "../../devel/SDL/buildlink3.mk"
X.include "../../audio/SDL_mixer/buildlink3.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-xnp2/Makefile
echo x - xnp2/PLIST
sed 's/^X//' >xnp2/PLIST << 'END-of-xnp2/PLIST'
X@comment $NetBSD$
Xbin/xnp2
Xshare/doc/xnp2/README.ja
Xshare/xnp2/fddseek.wav
Xshare/xnp2/fddseek1.wav
Xshare/xnp2/np2tool.d88
Xman/man1/xnp2.1
Xman/man1/xnp2.1j
END-of-xnp2/PLIST
echo x - xnp2/distinfo
sed 's/^X//' >xnp2/distinfo << 'END-of-xnp2/distinfo'
X$NetBSD$
X
XSHA1 (xnp2-20120302.tar.bz2) = d12c9e62eb647a82ffa2a5ff422e8a2770fe722d
XRMD160 (xnp2-20120302.tar.bz2) = 1d29a94123400a3a0ede19b1eb718c9b091e3722
XSize (xnp2-20120302.tar.bz2) = 1676661 bytes
END-of-xnp2/distinfo
echo x - xnp2/options.mk
sed 's/^X//' >xnp2/options.mk << 'END-of-xnp2/options.mk'
X# $NetBSD$
X
XPKG_OPTIONS_VAR=       PKG_OPTIONS.xnp2
XPKG_SUPPORTED_OPTIONS= ia32
XPKG_SUGGESTED_OPTIONS= ia32
X
X.include "../../mk/bsd.options.mk"
X
X.if !empty(PKG_OPTIONS:Mia32)
X# Enable ia32 core instead of the default 80286 core
XCONFIGURE_ARGS+=       --enable-ia32
X.endif
END-of-xnp2/options.mk
exit

---cut here---



Home | Main Index | Thread Index | Old Index