diff options
author | ryoon <ryoon@pkgsrc.org> | 2020-11-27 13:09:37 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2020-11-27 13:09:37 +0000 |
commit | 2bdf2483c5eaad22ebd1b2d5107efb326ce62586 (patch) | |
tree | 0c3af246b49435b47dcde2361e4a62b2b0e25c66 /emulators | |
parent | 764952bef7ee8b46cf9b8f77c00a2c87ec3f3843 (diff) | |
download | pkgsrc-2bdf2483c5eaad22ebd1b2d5107efb326ce62586.tar.gz |
emulators/nono: import nono-0.1.4
nono is OMRON LUNA-I emulator runs on NetBSD and etc.
A part of PR pkg/55761.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/nono/DESCR | 1 | ||||
-rw-r--r-- | emulators/nono/Makefile | 29 | ||||
-rw-r--r-- | emulators/nono/PLIST | 7 | ||||
-rw-r--r-- | emulators/nono/distinfo | 9 | ||||
-rw-r--r-- | emulators/nono/patches/patch-cli_Makefile | 14 | ||||
-rw-r--r-- | emulators/nono/patches/patch-po_Makefile | 15 | ||||
-rw-r--r-- | emulators/nono/patches/patch-wx_Makefile.in | 15 |
7 files changed, 90 insertions, 0 deletions
diff --git a/emulators/nono/DESCR b/emulators/nono/DESCR new file mode 100644 index 00000000000..d5147a213cb --- /dev/null +++ b/emulators/nono/DESCR @@ -0,0 +1 @@ +nono is OMRON LUNA-I emulator runs on NetBSD and etc. diff --git a/emulators/nono/Makefile b/emulators/nono/Makefile new file mode 100644 index 00000000000..932c466e5c8 --- /dev/null +++ b/emulators/nono/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2020/11/27 13:09:37 ryoon Exp $ + +DISTNAME= nono-0.1.4 +CATEGORIES= emulators +MASTER_SITES= http://www.pastel-flower.jp/~isaki/nono/archive/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.pastel-flower.jp/~isaki/nono/ +COMMENT= OMRON LUNA-I emulator +LICENSE= nono-license + +NO_BIN_ON_CDROM= ${RESTRICTED} +NO_BIN_ON_FTP= ${RESTRICTED} + +GCC_REQD+= 7 + +USE_TOOLS+= awk:build xgettext +GNU_CONFIGURE= yes +USE_LANGUAGES= c c++14 + +INSTALLATION_DIRS+= share/doc/nono + +post-install: + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DESTDIR}${PREFIX}/share/doc/nono + ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/nono + +.include "../../devel/zlib/buildlink3.mk" +.include "../../x11/wxGTK30/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/nono/PLIST b/emulators/nono/PLIST new file mode 100644 index 00000000000..2cfd84ff841 --- /dev/null +++ b/emulators/nono/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1 2020/11/27 13:09:37 ryoon Exp $ +bin/nono +bin/nono-cli +share/doc/nono/changes.html +share/doc/nono/index.html +share/doc/nono/nono-license.txt +share/locale/ja/LC_MESSAGES/nono.mo diff --git a/emulators/nono/distinfo b/emulators/nono/distinfo new file mode 100644 index 00000000000..de83c36ca7f --- /dev/null +++ b/emulators/nono/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1 2020/11/27 13:09:37 ryoon Exp $ + +SHA1 (nono-0.1.4.tar.gz) = 40409c1e156bb6306068c71b4288b40e44846f69 +RMD160 (nono-0.1.4.tar.gz) = 663fed529c5bf2541a40a4f471650b20ef176182 +SHA512 (nono-0.1.4.tar.gz) = 1d8e6b0d0ce36eea1bf241a5badc8d95a3f15e38a6283f68dbcc5a214b68f1c86e1216b14477cc67826fa0cb1c6b7bd14be16cb23d9715b7c4301ebe9a200912 +Size (nono-0.1.4.tar.gz) = 2368271 bytes +SHA1 (patch-cli_Makefile) = a9597bc1c8c5376ea78c35415abae4bab7c086f3 +SHA1 (patch-po_Makefile) = 76a7d30858d1afd27fcfed512f00bfb4b9dd0f13 +SHA1 (patch-wx_Makefile.in) = 982a4cff11d453bdb7924d05c81173b7c43ad010 diff --git a/emulators/nono/patches/patch-cli_Makefile b/emulators/nono/patches/patch-cli_Makefile new file mode 100644 index 00000000000..d7115f7ae23 --- /dev/null +++ b/emulators/nono/patches/patch-cli_Makefile @@ -0,0 +1,14 @@ +$NetBSD: patch-cli_Makefile,v 1.1 2020/11/27 13:09:37 ryoon Exp $ + +* Fix non-root installation with pkgsrc-specific macro. + +--- cli/Makefile.orig 2020-11-20 12:50:31.000000000 +0000 ++++ cli/Makefile +@@ -24,6 +24,6 @@ nono-cli: ${MYLIBS} ${OBJS} + + install: nono-cli + ${INSTALL} -d ${DESTDIR}${BINDIR} +- ${INSTALL} -m 755 -o 0 -g 0 nono-cli ${DESTDIR}${BINDIR} ++ ${BSD_INSTALL_PROGRAM} nono-cli ${DESTDIR}${BINDIR} + + .include "../Makefile.rule" diff --git a/emulators/nono/patches/patch-po_Makefile b/emulators/nono/patches/patch-po_Makefile new file mode 100644 index 00000000000..1fe07977e5b --- /dev/null +++ b/emulators/nono/patches/patch-po_Makefile @@ -0,0 +1,15 @@ +$NetBSD: patch-po_Makefile,v 1.1 2020/11/27 13:09:37 ryoon Exp $ + +* Fix non-root installation with pkgsrc-specific macro. + +--- po/Makefile.orig 2020-11-20 12:50:31.000000000 +0000 ++++ po/Makefile +@@ -21,7 +21,7 @@ CAT= LC_MESSAGES + install: ${TARGETS} + .for L in ${LANGUAGES} + ${INSTALL} -d ${DESTDIR}${LOCALEDIR}/${L}/${CAT} +- ${INSTALL} -m 644 -o 0 -g 0 ${L}/nono.mo ${DESTDIR}${LOCALEDIR}/${L}/${CAT} ++ ${BSD_INSTALL_DATA} ${L}/nono.mo ${DESTDIR}${LOCALEDIR}/${L}/${CAT} + .endfor + + depend: diff --git a/emulators/nono/patches/patch-wx_Makefile.in b/emulators/nono/patches/patch-wx_Makefile.in new file mode 100644 index 00000000000..e650656a2c4 --- /dev/null +++ b/emulators/nono/patches/patch-wx_Makefile.in @@ -0,0 +1,15 @@ +$NetBSD: patch-wx_Makefile.in,v 1.1 2020/11/27 13:09:37 ryoon Exp $ + +* Fix non-root installation with pkgsrc-specific macro. + +--- wx/Makefile.in.orig 2020-11-20 12:50:31.000000000 +0000 ++++ wx/Makefile.in +@@ -48,7 +48,7 @@ nono: ${MYLIBS} ${OBJS} + + install: nono + ${INSTALL} -d ${DESTDIR}${BINDIR} +- ${INSTALL} -m 755 -o 0 -g 0 nono ${DESTDIR}${BINDIR} ++ ${BSD_INSTALL_PROGRAM} nono ${DESTDIR}${BINDIR} + + # make pot はトップディレクトリで行う必要がある (実行した位置からの相対パスが + # ファイルにコメントで残されるため、毎回違うと diff が出てしまう)。 |