Date: Sun, 18 Aug 2024 05:14:03 GMT From: MANTANI Nobutaka <nobutaka@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ce5ef2ef4d54 - main - japanese/aobook: New port: Aozora Bunko Text Viewer Message-ID: <202408180514.47I5E31T008368@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by nobutaka: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce5ef2ef4d54d8c7b863a6d0c4e2e79662f9979c commit ce5ef2ef4d54d8c7b863a6d0c4e2e79662f9979c Author: MANTANI Nobutaka <nobutaka@FreeBSD.org> AuthorDate: 2024-08-18 05:08:50 +0000 Commit: MANTANI Nobutaka <nobutaka@FreeBSD.org> CommitDate: 2024-08-18 05:08:50 +0000 japanese/aobook: New port: Aozora Bunko Text Viewer Aozora Bunko is a Japanese digital library. This online collection encompasses several thousands of works of Japanese-language fiction and non-fiction. These include out-of-copyright books or works that the authors wish to make freely available. PR: 278660 Reported by: mew14930xvi <mew14930xvi@inbox.lv> --- japanese/Makefile | 1 + japanese/aobook/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ japanese/aobook/distinfo | 3 +++ japanese/aobook/pkg-descr | 6 ++++++ japanese/aobook/pkg-plist | 7 +++++++ 5 files changed, 57 insertions(+) diff --git a/japanese/Makefile b/japanese/Makefile index 67f8f953a30e..641652962b2f 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -14,6 +14,7 @@ SUBDIR += alias-fonts SUBDIR += another-htmllint SUBDIR += anthy + SUBDIR += aobook SUBDIR += bible_names-fpw SUBDIR += boiled-mozc SUBDIR += bookview diff --git a/japanese/aobook/Makefile b/japanese/aobook/Makefile new file mode 100644 index 000000000000..d50838df62ff --- /dev/null +++ b/japanese/aobook/Makefile @@ -0,0 +1,40 @@ +PORTNAME= aobook +DISTVERSIONPREFIX= v +DISTVERSION= 2.0.3 +CATEGORIES= japanese + +MAINTAINER= mew14930xvi@inbox.lv +COMMENT= Aozora Bunko Text Viewer +WWW= http://azsky2.html.xdomain.jp/soft/aobook.html + +LICENSE= MIT OFL11 +LICENSE_COMB= multi +LICENSE_FILE_MIT= ${WRKSRC}/COPYING +LICENSE_FILE_OFL11= ${WRKSRC}/OFL.txt + +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libpng16.so:graphics/png + +USES= compiler:c11 desktop-file-utils iconv jpeg ninja pkgconfig xorg + +USE_GITLAB= yes +GL_ACCOUNT= azelpg + +USE_XORG= x11 xcursor xext + +GNU_CONFIGURE= yes + +ALL_TARGET= ${PORTNAME} + +BUILD_WRKSRC= ${WRKSRC}/build +INSTALL_WRKSRC= ${BUILD_WRKSRC} + +post-extract: + @${REINPLACE_CMD} -e "/HELP_TEXT/s/exe/${PORTNAME}/" \ + ${WRKSRC}/src/main.c + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/japanese/aobook/distinfo b/japanese/aobook/distinfo new file mode 100644 index 000000000000..11ed2e84b7ce --- /dev/null +++ b/japanese/aobook/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1715406939 +SHA256 (aobook-v2.0.3.tar.bz2) = 20c05cf8b6414375a394b63ad886759c1896e897d26312269b0c9f0a09bcaed8 +SIZE (aobook-v2.0.3.tar.bz2) = 345026 diff --git a/japanese/aobook/pkg-descr b/japanese/aobook/pkg-descr new file mode 100644 index 000000000000..74bf2064144a --- /dev/null +++ b/japanese/aobook/pkg-descr @@ -0,0 +1,6 @@ +Aozora Bunko Text Viewer. + +Aozora Bunko is a Japanese digital library. This online collection +encompasses several thousands of works of Japanese-language fiction +and non-fiction. These include out-of-copyright books or works that +the authors wish to make freely available. diff --git a/japanese/aobook/pkg-plist b/japanese/aobook/pkg-plist new file mode 100644 index 000000000000..20577d139e9a --- /dev/null +++ b/japanese/aobook/pkg-plist @@ -0,0 +1,7 @@ +bin/aobook +%%DATADIR%%/kenten.otf +share/applications/aobook.desktop +%%DOCSDIR%%/manual.html +%%DOCSDIR%%/ReadMe +share/icons/hicolor/48x48/apps/aobook.png +share/icons/hicolor/scalable/apps/aobook.svg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408180514.47I5E31T008368>