View | Details | Raw Unified | Return to bug 224638 | Differences between
and this patch

Collapse All | Expand All

(-)i/archivers/maxcso/Makefile (+40 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=		maxcso
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=		1.9.0
6
CATEGORIES=		archivers
7
8
MAINTAINER=	greg@unrelenting.technology
9
COMMENT=	Fast ISO to CSO compressor for PSP and PS2 emulators
10
11
LICENSE=	ISCL
12
13
LIB_DEPENDS=	libuv.so:devel/libuv \
14
		liblz4.so:archivers/liblz4 \
15
		libzopfli.so:archivers/zopfli
16
BUILD_DEPENDS=	pkg-config:devel/pkgconf
17
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	unknownbrackets
20
21
USES=		gmake compiler:c++11-lang
22
23
CFLAGS+=	-fPIC -DNDEBUG=1 -flto
24
CXXFLAGS+=	-std=c++11
25
LDFLAGS+=	-pie -pthread -fuse-ld=lld
26
# bfd fails to link (not lto related)
27
28
PLIST_FILES=	bin/${PORTNAME}
29
30
# The included makefile uses bundled zopfli and does not use pkg-config
31
do-build:
32
	(cd ${WRKSRC}/7zip && ${GMAKE} ${MAKE_ENV} CXXFLAGS="${CXXFLAGS} -ICPP" 7zip.a)
33
	(cd ${WRKSRC} && ${CXX} ${CXXFLAGS} ${LDFLAGS} -o ${PORTNAME} \
34
			$$(pkg-config --libs --cflags libuv) $$(pkg-config --libs --cflags liblz4) \
35
			-lzopfli -lz -I7zip 7zip/7zip.a src/*.cpp cli/*.cpp)
36
37
do-install:
38
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
39
40
.include <bsd.port.mk>
(-)i/archivers/maxcso/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1514323910
2
SHA256 (unknownbrackets-maxcso-v1.9.0_GH0.tar.gz) = 02aa9eaf4b58c71723a3f00aaf1abc7f631f8989a2be6d393f3fdd876afa026f
3
SIZE (unknownbrackets-maxcso-v1.9.0_GH0.tar.gz) = 2539054
(-)i/archivers/maxcso/pkg-descr (+5 lines)
Added Link Here
1
A fast ISO to CSO compression program for use with PSP (PlayStation Portable)
2
and PS2 (PlayStation 2) emulators, which uses multiple algorithms for best
3
compression ratio.
4
5
WWW: https://github.com/unknownbrackets/maxcso

Return to bug 224638