mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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>
This commit is contained in:
parent
b8f685fda9
commit
ce5ef2ef4d
5 changed files with 57 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
SUBDIR += alias-fonts
|
SUBDIR += alias-fonts
|
||||||
SUBDIR += another-htmllint
|
SUBDIR += another-htmllint
|
||||||
SUBDIR += anthy
|
SUBDIR += anthy
|
||||||
|
SUBDIR += aobook
|
||||||
SUBDIR += bible_names-fpw
|
SUBDIR += bible_names-fpw
|
||||||
SUBDIR += boiled-mozc
|
SUBDIR += boiled-mozc
|
||||||
SUBDIR += bookview
|
SUBDIR += bookview
|
||||||
|
|
40
japanese/aobook/Makefile
Normal file
40
japanese/aobook/Makefile
Normal file
|
@ -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>
|
3
japanese/aobook/distinfo
Normal file
3
japanese/aobook/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1715406939
|
||||||
|
SHA256 (aobook-v2.0.3.tar.bz2) = 20c05cf8b6414375a394b63ad886759c1896e897d26312269b0c9f0a09bcaed8
|
||||||
|
SIZE (aobook-v2.0.3.tar.bz2) = 345026
|
6
japanese/aobook/pkg-descr
Normal file
6
japanese/aobook/pkg-descr
Normal file
|
@ -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.
|
7
japanese/aobook/pkg-plist
Normal file
7
japanese/aobook/pkg-plist
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue