mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
japanese/aobook: Update 2.0.3 => 2.0.4
Changelog: https://gitlab.com/azelpg/aobook/-/blob/v2.0.4/ChangeLog PR: 285455
This commit is contained in:
parent
2107eb94df
commit
1ed14f6c7a
3 changed files with 17 additions and 10 deletions
|
@ -1,11 +1,11 @@
|
|||
PORTNAME= aobook
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.0.3
|
||||
DISTVERSION= 2.0.4
|
||||
CATEGORIES= japanese
|
||||
|
||||
MAINTAINER= mew14930xvi@inbox.lv
|
||||
COMMENT= Aozora Bunko Text Viewer
|
||||
WWW= http://azsky2.html.xdomain.jp/soft/aobook.html
|
||||
WWW= https://azelpg.gitlab.io/azsky2/soft/aobook.html
|
||||
|
||||
LICENSE= MIT OFL11
|
||||
LICENSE_COMB= multi
|
||||
|
@ -16,7 +16,7 @@ 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
|
||||
USES= compiler:c11 iconv:wchar_t jpeg ninja pkgconfig xorg
|
||||
|
||||
USE_GITLAB= yes
|
||||
GL_ACCOUNT= azelpg
|
||||
|
@ -30,10 +30,6 @@ 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}
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1715406939
|
||||
SHA256 (aobook-v2.0.3.tar.bz2) = 20c05cf8b6414375a394b63ad886759c1896e897d26312269b0c9f0a09bcaed8
|
||||
SIZE (aobook-v2.0.3.tar.bz2) = 345026
|
||||
TIMESTAMP = 1742090486
|
||||
SHA256 (aobook-v2.0.4.tar.bz2) = eca5cf68608ebe89d1f4ce50e42afc54324d67c5137e0f63ee62e12410cab6b9
|
||||
SIZE (aobook-v2.0.4.tar.bz2) = 349119
|
||||
|
|
11
japanese/aobook/files/patch-src_main.c
Normal file
11
japanese/aobook/files/patch-src_main.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/main.c.orig 2025-03-16 00:42:53 UTC
|
||||
+++ src/main.c
|
||||
@@ -62,7 +62,7 @@ GlobalData *g_globaldat;
|
||||
|
||||
#define CONFIG_FILENAME "main.conf"
|
||||
|
||||
-#define _HELP_TEXT "[usage] exe <file>\n\n" \
|
||||
+#define _HELP_TEXT "[usage] aobook <file>\n\n" \
|
||||
"--help-mlk : show mlk options"
|
||||
|
||||
//----------------------
|
Loading…
Add table
Reference in a new issue