diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2018-07-09 05:22:12 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2018-07-09 05:22:12 +0000 |
commit | 9b13cde710c589fc99df6a6f7e08095218060535 (patch) | |
tree | 5a796e831983aacf3365eb87a024d60caf659837 /games/ninix-aya | |
parent | bf0d9c64e9c61fef24c242f805b0a1c124348ff1 (diff) | |
download | ports-9b13cde710c589fc99df6a6f7e08095218060535.tar.gz ports-9b13cde710c589fc99df6a6f7e08095218060535.zip |
Notes
Diffstat (limited to 'games/ninix-aya')
-rw-r--r-- | games/ninix-aya/Makefile | 65 | ||||
-rw-r--r-- | games/ninix-aya/distinfo | 5 | ||||
-rw-r--r-- | games/ninix-aya/files/patch-Makefile | 49 | ||||
-rw-r--r-- | games/ninix-aya/pkg-plist | 156 |
4 files changed, 111 insertions, 164 deletions
diff --git a/games/ninix-aya/Makefile b/games/ninix-aya/Makefile index 9535b6a7d6c3..e60dc08d20b2 100644 --- a/games/ninix-aya/Makefile +++ b/games/ninix-aya/Makefile @@ -2,10 +2,9 @@ # $FreeBSD$ PORTNAME= ninix-aya -PORTVERSION= 4.4 -PORTREVISION= 6 +PORTVERSION= 5.0.6 CATEGORIES= games -MASTER_SITES= OSDN/${PORTNAME}/58500 +MASTER_SITES= OSDN/${PORTNAME}/69796 MAINTAINER= ports@FreeBSD.org COMMENT= Desktop mascot program compatible with "Ukagaka" @@ -13,58 +12,16 @@ COMMENT= Desktop mascot program compatible with "Ukagaka" LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libpng.so:graphics/png -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \ - ${PYNUMPY} +RUN_DEPENDS= rubygem-charlock_holmes>=0.7.3:textproc/rubygem-charlock_holmes \ + rubygem-gstreamer>=3.1.8:multimedia/rubygem-gstreamer \ + rubygem-gettext>=3.2.2:devel/rubygem-gettext \ + rubygem-gtk3>=3.1.8:x11-toolkits/rubygem-gtk3 \ + rubygem-narray>=0.6.1.1:math/rubygem-narray \ + rubygem-rubyzip>=1.2.1:archivers/rubygem-rubyzip NO_ARCH= yes - -USES= gmake python:2.7 tar:tgz -USE_GNOME= pygtk2 -USE_GSTREAMER= python - -DOCSDIR= ${PREFIX}/share/doc/ninix - -OPTIONS_DEFINE= DOCS NLS -OPTIONS_SUB= yes - -NLS_USES= gettext - -.include <bsd.port.options.mk> - -do-build: - @(cd ${WRKSRC}/bin && ${SED} -e \ - 's|@python|${PYTHON_CMD}| ; \ - s|@libdir|${PREFIX}/libexec/ninix|' ninix.in > ninix) -.if ${PORT_OPTIONS:MNLS} -.for i in ja zh_TW - (cd ${WRKSRC}/locale && ${LOCALBASE}/bin/msgfmt -o ${i}.mo ${i}.po) -.endfor -.endif - -do-install: - (cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} ninix \ - ${STAGEDIR}${PREFIX}/bin) - @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/ninix - (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . \ - ${STAGEDIR}${PREFIX}/libexec/ninix) - @(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall \ - -d ${PREFIX}/libexec/ninix -f libexec/ninix) -.if ${PORT_OPTIONS:MNLS} -.for i in ja zh_TW - @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES - (cd ${WRKSRC}/locale && ${INSTALL_DATA} ${i}.mo \ - ${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES/ninix.mo) -.endfor -.endif - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in ChangeLog README README.ninix TODO.ninix KNOWN_ISSUES - (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ - ${STAGEDIR}${DOCSDIR}) -.endfor -.for i in extension.txt kawari.txt saori.txt - (cd ${WRKSRC}/doc && ${INSTALL_DATA} ${i} \ - ${STAGEDIR}${DOCSDIR}) -.endfor +PORTDOCS= COPYING ChangeLog README README.ninix SAORI +USES= gettext tar:tgz +USE_RUBY= yes .include <bsd.port.mk> diff --git a/games/ninix-aya/distinfo b/games/ninix-aya/distinfo index f6c254d59445..c8ba6ca42a46 100644 --- a/games/ninix-aya/distinfo +++ b/games/ninix-aya/distinfo @@ -1,2 +1,3 @@ -SHA256 (ninix-aya-4.4.tgz) = f6cdf0f540af52c31c8736df9e5dbca465131a89654190612fac7b24f5adefac -SIZE (ninix-aya-4.4.tgz) = 335511 +TIMESTAMP = 1531018180 +SHA256 (ninix-aya-5.0.6.tgz) = ca98e357c5be8764e640a6e3043b2a966a6316118de51e37c3a2c3813132b139 +SIZE (ninix-aya-5.0.6.tgz) = 323279 diff --git a/games/ninix-aya/files/patch-Makefile b/games/ninix-aya/files/patch-Makefile new file mode 100644 index 000000000000..2558c93eb352 --- /dev/null +++ b/games/ninix-aya/files/patch-Makefile @@ -0,0 +1,49 @@ +--- Makefile.orig 2018-01-07 07:10:36 UTC ++++ Makefile +@@ -2,22 +2,26 @@ + # Makefile for ninix-aya + # + +-prefix = /opt/ninix-aya ++prefix ?= ${PREFIX} + + exec_libdir = $(prefix)/lib + + bindir = $(DESTDIR)$(prefix)/bin +-docdir = $(DESTDIR)$(prefix)/doc +-libdir = $(DESTDIR)$(exec_libdir) +-localedir = /usr/local/share/locale # system specific ++docdir = $(DESTDIR)$(prefix)/share/doc/ninix-aya ++libdir = $(DESTDIR)$(exec_libdir)/ninix ++localedir = $(DESTDIR)$(prefix)/share/locale # system specific + +-shiori_so_dir = $(DESTDIR)$(prefix)/lib/kawari8:$(DESTDIR)$(prefix)/lib/yaya ++shiori_so_dir = $(prefix)/lib/kawari8:$(prefix)/lib/yaya + + ruby = ruby + + NINIX = ninix + ++sed_dirs = sed -e "s,@ruby,$(ruby),g" -e "s,@libdir,$(libdir),g" -e "s,@so_path,$(shiori_so_dir),g" ++ + all: ++ $(sed_dirs) bin/ninix.in > bin/ninix ++ msgfmt po/ja/ninix-aya.po -o po/ja/ninix-aya.mo + + install: install-lib install-bin install-doc + +@@ -25,13 +29,10 @@ install-lib: + mkdir -p $(libdir) + cp -r lib/* $(libdir) + mkdir -p $(localedir)/ja/LC_MESSAGES +- (cd po/ja ; msgfmt ninix-aya.po -o $(localedir)/ja/LC_MESSAGES/ninix-aya.mo) +- +-sed_dirs = sed -e "s,@ruby,$(ruby),g" -e "s,@libdir,$(libdir),g" -e "s,@so_path,$(shiori_so_dir),g" ++ cp po/ja/ninix-aya.mo $(localedir)/ja/LC_MESSAGES + + install-bin: + mkdir -p $(bindir) +- $(sed_dirs) bin/ninix.in > bin/ninix + install -m 755 bin/ninix $(bindir)/$(NINIX) + + install-doc: diff --git a/games/ninix-aya/pkg-plist b/games/ninix-aya/pkg-plist index 1a2f67da2925..b415a1932360 100644 --- a/games/ninix-aya/pkg-plist +++ b/games/ninix-aya/pkg-plist @@ -1,109 +1,49 @@ bin/ninix -libexec/ninix/ninix/__init__.py -libexec/ninix/ninix/__init__.pyc -libexec/ninix/ninix/alias.py -libexec/ninix/ninix/alias.pyc -libexec/ninix/ninix/balloon.py -libexec/ninix/ninix/balloon.pyc -libexec/ninix/ninix/communicate.py -libexec/ninix/ninix/communicate.pyc -libexec/ninix/ninix/config.py -libexec/ninix/ninix/config.pyc -libexec/ninix/ninix/dll.py -libexec/ninix/ninix/dll.pyc -libexec/ninix/ninix/dll/aya.py -libexec/ninix/ninix/dll/aya.pyc -libexec/ninix/ninix/dll/aya5.py -libexec/ninix/ninix/dll/aya5.pyc -libexec/ninix/ninix/dll/bln.py -libexec/ninix/ninix/dll/bln.pyc -libexec/ninix/ninix/dll/gomi.py -libexec/ninix/ninix/dll/gomi.pyc -libexec/ninix/ninix/dll/hanayu.py -libexec/ninix/ninix/dll/hanayu.pyc -libexec/ninix/ninix/dll/httpc.py -libexec/ninix/ninix/dll/httpc.pyc -libexec/ninix/ninix/dll/kawari.py -libexec/ninix/ninix/dll/kawari.pyc -libexec/ninix/ninix/dll/kawari8.py -libexec/ninix/ninix/dll/kawari8.pyc -libexec/ninix/ninix/dll/mciaudio.py -libexec/ninix/ninix/dll/mciaudio.pyc -libexec/ninix/ninix/dll/mciaudior.py -libexec/ninix/ninix/dll/mciaudior.pyc -libexec/ninix/ninix/dll/misaka.py -libexec/ninix/ninix/dll/misaka.pyc -libexec/ninix/ninix/dll/niseshiori.py -libexec/ninix/ninix/dll/niseshiori.pyc -libexec/ninix/ninix/dll/osuwari.py -libexec/ninix/ninix/dll/osuwari.pyc -libexec/ninix/ninix/dll/saori_cpuid.py -libexec/ninix/ninix/dll/saori_cpuid.pyc -libexec/ninix/ninix/dll/satori.py -libexec/ninix/ninix/dll/satori.pyc -libexec/ninix/ninix/dll/ssu.py -libexec/ninix/ninix/dll/ssu.pyc -libexec/ninix/ninix/dll/textcopy.py -libexec/ninix/ninix/dll/textcopy.pyc -libexec/ninix/ninix/dll/win_dll.py -libexec/ninix/ninix/dll/win_dll.pyc -libexec/ninix/ninix/dll/wmove.py -libexec/ninix/ninix/dll/wmove.pyc -libexec/ninix/ninix/dll/yaya.py -libexec/ninix/ninix/dll/yaya.pyc -libexec/ninix/ninix/entry_db.py -libexec/ninix/ninix/entry_db.pyc -libexec/ninix/ninix/home.py -libexec/ninix/ninix/home.pyc -libexec/ninix/ninix/install.py -libexec/ninix/ninix/install.pyc -libexec/ninix/ninix/keymap.py -libexec/ninix/ninix/keymap.pyc -libexec/ninix/ninix/kinoko.py -libexec/ninix/ninix/kinoko.pyc -libexec/ninix/ninix/lock.py -libexec/ninix/ninix/lock.pyc -libexec/ninix/ninix/makoto.py -libexec/ninix/ninix/makoto.pyc -libexec/ninix/ninix/menu.py -libexec/ninix/ninix/menu.pyc -libexec/ninix/ninix/metamagic.py -libexec/ninix/ninix/metamagic.pyc -libexec/ninix/ninix/nekodorif.py -libexec/ninix/ninix/nekodorif.pyc -libexec/ninix/ninix/ngm.py -libexec/ninix/ninix/ngm.pyc -libexec/ninix/ninix/pix.py -libexec/ninix/ninix/pix.pyc -libexec/ninix/ninix/plugin.py -libexec/ninix/ninix/plugin.pyc -libexec/ninix/ninix/prefs.py -libexec/ninix/ninix/prefs.pyc -libexec/ninix/ninix/sakura.py -libexec/ninix/ninix/sakura.pyc -libexec/ninix/ninix/script.py -libexec/ninix/ninix/script.pyc -libexec/ninix/ninix/seriko.py -libexec/ninix/ninix/seriko.pyc -libexec/ninix/ninix/sstp.py -libexec/ninix/ninix/sstp.pyc -libexec/ninix/ninix/sstplib.py -libexec/ninix/ninix/sstplib.pyc -libexec/ninix/ninix/surface.py -libexec/ninix/ninix/surface.pyc -libexec/ninix/ninix/update.py -libexec/ninix/ninix/update.pyc -libexec/ninix/ninix/version.py -libexec/ninix/ninix/version.pyc -libexec/ninix/ninix_main.py -libexec/ninix/ninix_main.pyc -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/KNOWN_ISSUES -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/README.ninix -%%PORTDOCS%%%%DOCSDIR%%/TODO.ninix -%%PORTDOCS%%%%DOCSDIR%%/extension.txt -%%PORTDOCS%%%%DOCSDIR%%/kawari.txt -%%PORTDOCS%%%%DOCSDIR%%/saori.txt -%%NLS%%share/locale/ja/LC_MESSAGES/ninix.mo -%%NLS%%share/locale/zh_TW/LC_MESSAGES/ninix.mo +lib/ninix/ninix/alias.rb +lib/ninix/ninix/balloon.rb +lib/ninix/ninix/communicate.rb +lib/ninix/ninix/config.rb +lib/ninix/ninix/dll.rb +lib/ninix/ninix/dll/aya.rb +lib/ninix/ninix/dll/aya5.rb +lib/ninix/ninix/dll/bln.rb +lib/ninix/ninix/dll/gomi.rb +lib/ninix/ninix/dll/hanayu.rb +lib/ninix/ninix/dll/httpc.rb +lib/ninix/ninix/dll/kawari.rb +lib/ninix/ninix/dll/kawari8.rb +lib/ninix/ninix/dll/mciaudio.rb +lib/ninix/ninix/dll/mciaudior.rb +lib/ninix/ninix/dll/misaka.rb +lib/ninix/ninix/dll/niseshiori.rb +lib/ninix/ninix/dll/osuwari.rb +lib/ninix/ninix/dll/saori_cpuid.rb +lib/ninix/ninix/dll/satori.rb +lib/ninix/ninix/dll/ssu.rb +lib/ninix/ninix/dll/textcopy.rb +lib/ninix/ninix/dll/wmove.rb +lib/ninix/ninix/dll/yaya.rb +lib/ninix/ninix/entry_db.rb +lib/ninix/ninix/home.rb +lib/ninix/ninix/install.rb +lib/ninix/ninix/keymap.rb +lib/ninix/ninix/kinoko.rb +lib/ninix/ninix/lock.rb +lib/ninix/ninix/logging.rb +lib/ninix/ninix/makoto.rb +lib/ninix/ninix/menu.rb +lib/ninix/ninix/metamagic.rb +lib/ninix/ninix/nekodorif.rb +lib/ninix/ninix/ngm.rb +lib/ninix/ninix/pix.rb +lib/ninix/ninix/prefs.rb +lib/ninix/ninix/sakura.rb +lib/ninix/ninix/script.rb +lib/ninix/ninix/seriko.rb +lib/ninix/ninix/sstp.rb +lib/ninix/ninix/sstplib.rb +lib/ninix/ninix/surface.rb +lib/ninix/ninix/update.rb +lib/ninix/ninix/version.rb +lib/ninix/ninix_main.rb +share/locale/ja/LC_MESSAGES/ninix-aya.mo |