Added
Link Here
|
1 |
PORTNAME= libchdr |
2 |
DISTVERSION= g20241111 |
3 |
CATEGORIES= devel |
4 |
|
5 |
MAINTAINER= bsdcode@disroot.org |
6 |
COMMENT= Standalone library for reading MAME CHDv1-v5 formats |
7 |
WWW= https://github.com/rtissera/libchdr |
8 |
|
9 |
LICENSE= BSD3CLAUSE |
10 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
11 |
|
12 |
LIB_DEPENDS= libzstd.so:archivers/zstd |
13 |
|
14 |
USES= cmake pathfix |
15 |
USE_GITHUB= yes |
16 |
GH_ACCOUNT= rtissera |
17 |
GH_TAGNAME= b3974651d869c2f804e9879b063c23280d2ae617 |
18 |
USE_LDCONFIG= yes |
19 |
|
20 |
CMAKE_ARGS= -DBUILD_LTO=${defined(WITH_LTO):?ON:OFF} |
21 |
CMAKE_ON= INSTALL_STATIC_LIBS WITH_SYSTEM_ZLIB WITH_SYSTEM_ZSTD |
22 |
|
23 |
post-install: |
24 |
${LN} -s libchdr-static.a ${STAGEDIR}${PREFIX}/lib/libchdr.a |
25 |
|
26 |
.include <bsd.port.mk> |