svn commit: r484487 - in head/archivers: . maxcso maxcso/files
Li-Wen Hsu
lwhsu at FreeBSD.org
Thu Nov 8 23:19:05 UTC 2018
Author: lwhsu
Date: Thu Nov 8 23:19:03 2018
New Revision: 484487
URL: https://svnweb.freebsd.org/changeset/ports/484487
Log:
Add maxcso, ISO to CSO compressor for PSP/PS2 emulators
PR: 224638
Submitted by: Greg V <greg at unrelenting.technology>
Added:
head/archivers/maxcso/
head/archivers/maxcso/Makefile (contents, props changed)
head/archivers/maxcso/distinfo (contents, props changed)
head/archivers/maxcso/files/
head/archivers/maxcso/files/patch-Makefile (contents, props changed)
head/archivers/maxcso/pkg-descr (contents, props changed)
Modified:
head/archivers/Makefile
Modified: head/archivers/Makefile
==============================================================================
--- head/archivers/Makefile Thu Nov 8 23:08:55 2018 (r484486)
+++ head/archivers/Makefile Thu Nov 8 23:19:03 2018 (r484487)
@@ -88,6 +88,7 @@
SUBDIR += lzop
SUBDIR += makeself
SUBDIR += mar
+ SUBDIR += maxcso
SUBDIR += minizip
SUBDIR += mscompress
SUBDIR += mtf
Added: head/archivers/maxcso/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/maxcso/Makefile Thu Nov 8 23:19:03 2018 (r484487)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= maxcso
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.10.0
+CATEGORIES= archivers
+
+MAINTAINER= greg at unrelenting.technology
+COMMENT= Fast ISO to CSO compressor for PSP and PS2 emulators
+
+LICENSE= ISCL
+
+LIB_DEPENDS= libuv.so:devel/libuv \
+ liblz4.so:archivers/liblz4 \
+ libzopfli.so:archivers/zopfli
+
+USES= gmake pkgconfig compiler:c++11-lang
+
+USE_GITHUB= yes
+GH_ACCOUNT= unknownbrackets
+
+PLIST_FILES= bin/${PORTNAME}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
Added: head/archivers/maxcso/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/maxcso/distinfo Thu Nov 8 23:19:03 2018 (r484487)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1541531490
+SHA256 (unknownbrackets-maxcso-v1.10.0_GH0.tar.gz) = 8fc56ab96536c0b12f890b34a83b4c4a5c1013756f8664037313132b7c2515eb
+SIZE (unknownbrackets-maxcso-v1.10.0_GH0.tar.gz) = 3170809
Added: head/archivers/maxcso/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/maxcso/files/patch-Makefile Thu Nov 8 23:19:03 2018 (r484487)
@@ -0,0 +1,23 @@
+--- Makefile.orig 2018-11-08 20:43:35 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
+
++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 $@ $<
+
+-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
Added: head/archivers/maxcso/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/maxcso/pkg-descr Thu Nov 8 23:19:03 2018 (r484487)
@@ -0,0 +1,5 @@
+A fast ISO to CSO compression program for use with PSP (PlayStation Portable)
+and PS2 (PlayStation 2) emulators, which uses multiple algorithms for best
+compression ratio.
+
+WWW: https://github.com/unknownbrackets/maxcso
More information about the svn-ports-all
mailing list