From owner-svn-ports-all@freebsd.org Thu Nov 8 23:19:05 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 592C3110B133; Thu, 8 Nov 2018 23:19:05 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BAE24732C3; Thu, 8 Nov 2018 23:19:04 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9D7453991; Thu, 8 Nov 2018 23:19:04 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA8NJ4AF034468; Thu, 8 Nov 2018 23:19:04 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA8NJ36v034463; Thu, 8 Nov 2018 23:19:03 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <201811082319.wA8NJ36v034463@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Thu, 8 Nov 2018 23:19:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484487 - in head/archivers: . maxcso maxcso/files X-SVN-Group: ports-head X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: in head/archivers: . maxcso maxcso/files X-SVN-Commit-Revision: 484487 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BAE24732C3 X-Spamd-Result: default: False [-106.86 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-1.00)[-0.997,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; IP_SCORE(-3.75)[ip: (-9.91), ipnet: 2610:1c1:1::/48(-4.92), asn: 11403(-3.83), country: US(-0.09)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2018 23:19:05 -0000 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 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@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 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