git: 134226551dd1 - main - archivers/maxcso: Adopt/Update to 1.13.0-27
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Apr 2023 22:13:12 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=134226551dd132136b091e80e3c9bffa83499e51 commit 134226551dd132136b091e80e3c9bffa83499e51 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2023-04-05 22:05:02 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-04-05 22:12:59 +0000 archivers/maxcso: Adopt/Update to 1.13.0-27 - Update to 528c69bf commit - Install manpage - Define LICENSE_FILE ChangeLog: https://github.com/unknownbrackets/maxcso/compare/v1.13.0...528c69bf https://github.com/unknownbrackets/maxcso/releases/tag/v1.12.0 https://github.com/unknownbrackets/maxcso/releases/tag/v1.11.0 --- archivers/maxcso/Makefile | 21 ++++++++++++--------- archivers/maxcso/distinfo | 6 +++--- archivers/maxcso/files/patch-Makefile | 30 ++++++++++-------------------- 3 files changed, 25 insertions(+), 32 deletions(-) diff --git a/archivers/maxcso/Makefile b/archivers/maxcso/Makefile index d03b4bc02685..2b6cbffeb3eb 100644 --- a/archivers/maxcso/Makefile +++ b/archivers/maxcso/Makefile @@ -1,27 +1,30 @@ -PORTNAME= maxcso +PORTNAME= maxcso DISTVERSIONPREFIX= v -DISTVERSION= 1.10.0 -PORTREVISION= 2 -CATEGORIES= archivers +DISTVERSION= 1.13.0-27 +DISTVERSIONSUFFIX= -g528c69bf +CATEGORIES= archivers -MAINTAINER= ports@FreeBSD.org +MAINTAINER= eduardo@FreeBSD.org COMMENT= Fast ISO to CSO compressor for PSP and PS2 emulators WWW= https://github.com/unknownbrackets/maxcso LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE.md -LIB_DEPENDS= libuv.so:devel/libuv \ +LIB_DEPENDS= libdeflate.so:archivers/libdeflate \ liblz4.so:archivers/liblz4 \ + libuv.so:devel/libuv \ libzopfli.so:archivers/zopfli -USES= gmake pkgconfig compiler:c++11-lang - +USES= compiler:c++11-lang gmake pkgconfig USE_GITHUB= yes GH_ACCOUNT= unknownbrackets -PLIST_FILES= bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} \ + share/man/man1/${PORTNAME}.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include <bsd.port.mk> diff --git a/archivers/maxcso/distinfo b/archivers/maxcso/distinfo index 57898aea5ffa..c3c4f72f8718 100644 --- a/archivers/maxcso/distinfo +++ b/archivers/maxcso/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1541531490 -SHA256 (unknownbrackets-maxcso-v1.10.0_GH0.tar.gz) = 8fc56ab96536c0b12f890b34a83b4c4a5c1013756f8664037313132b7c2515eb -SIZE (unknownbrackets-maxcso-v1.10.0_GH0.tar.gz) = 3170809 +TIMESTAMP = 1680728618 +SHA256 (unknownbrackets-maxcso-v1.13.0-27-g528c69bf_GH0.tar.gz) = 5b09c933adc5e5bae54fdf85305e2b58841dc3ad33f095d4ff422491cd4a3fa0 +SIZE (unknownbrackets-maxcso-v1.13.0-27-g528c69bf_GH0.tar.gz) = 3738129 diff --git a/archivers/maxcso/files/patch-Makefile b/archivers/maxcso/files/patch-Makefile index d2e6509c5f05..1f5766d6cbdf 100644 --- a/archivers/maxcso/files/patch-Makefile +++ b/archivers/maxcso/files/patch-Makefile @@ -1,23 +1,13 @@ ---- Makefile.orig 2018-11-08 20:43:35 UTC +--- Makefile.orig 2023-02-12 18:33:37 UTC +++ Makefile -@@ -5,6 +5,9 @@ CFLAGS += -W -Wall -Wextra -O2 -Wno-implicit-function- - CXXFLAGS += -W -Wall -Wextra -std=c++11 -O2 -Izopfli/src -I7zip -DNDEBUG=1 \ - -Wno-unused-parameter -pthread +@@ -68,8 +68,8 @@ $(OBJDIR)/%.o: $(SRCDIR)/%.c $(OBJDIR)/.done + $(CC) -c $(SRC_CFLAGS) $(CFLAGS) -o $@ $< -+CFLAGS += $(shell pkg-config --cflags libuv liblz4) -+CXXFLAGS += $(shell pkg-config --cflags libuv liblz4) -+ - SRC_CXX_SRC = $(wildcard src/*.cpp) - SRC_CXX_OBJ = $(SRC_CXX_SRC:.cpp=.o) - CLI_CXX_SRC = $(wildcard cli/*.cpp) -@@ -23,8 +26,8 @@ ZOPFLI_C_OBJ = $(ZOPFLI_C_SRC:.c=.o) - %.o: %.c - $(CC) -c $(CFLAGS) -o $@ $< + # TODO: Perhaps detect and use system libdeflate if available. +-maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) $(ZOPFLI_C_OBJ) $(SRC_7ZIP) $(SRC_LIBDEFLATE) +- $(CXX) $(LDFLAGS) -o $@ $(SRC_CXXFLAGS) $(CXXFLAGS) $^ $(LIBS) $(EXTRA_LIBS) ++maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) $(SRC_7ZIP) ++ $(CXX) $(LDFLAGS) -o $@ $(SRC_CXXFLAGS) $(CXXFLAGS) $^ $(LIBS) $(EXTRA_LIBS) -lzopfli -ldeflate --maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) $(ZOPFLI_C_OBJ) 7zip/7zip.a -- $(CXX) -o $@ $(CXXFLAGS) $^ -luv -llz4 -lz -+maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) 7zip/7zip.a -+ $(CXX) -o $@ $(CXXFLAGS) $^ $(shell pkg-config --libs libuv liblz4) -lzopfli -lz - - 7zip/7zip.a: - $(MAKE) -C 7zip 7zip.a + $(SRC_7ZIP): + $(MAKE) -f $(SRCDIR)/7zip/Makefile 7zip.a