freebsd-ports/sysutils/squashfs-tools-ng/Makefile
Alexey Dokuchaev 3d3c1deeb4 sysutils/squashfs-tools-ng: new port had been added (+)
This project originally started out as a fork of squashfs-tools 4.3,
after encountering some short comings and realizing that there have
been no updates on the SourceForge site or mailing list for a long
time.  Even before the first public release, the fork was replaced
with a complete re-write after growing frustrated with the existing
code base.

The utilities provided by squashfs-tools-ng offer alternative tooling
and are intentionally named differently, so both packages can be
installed side by side.

WWW: https://infraroot.at/projects/squashfs-tools-ng/
2022-04-01 04:27:46 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= squashfs-tools-ng
PORTVERSION= 1.1.4
CATEGORIES= sysutils
MASTER_SITES= https://infraroot.at/pub/squashfs/
MAINTAINER= danfe@FreeBSD.org
COMMENT= New set of tools and libraries to work with SquashFS images
LICENSE= GPLv3+ LGPL3+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/COPYING.md
USES= libtool pkgconfig tar:xz
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
TEST_TARGET= check
OPTIONS_DEFINE= DOCS LZ4 LZO TOOLS ZSTD
OPTIONS_DEFAULT= LZ4 LZO TOOLS ZSTD
OPTIONS_SUB= yes
TOOLS_DESC= Build the tools, not just the library
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
LZ4_CONFIGURE_OFF= --without-lz4
LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2
LZO_CONFIGURE_ENV= LZO_CFLAGS="-I${LOCALBASE}/include" \
LZO_LIBS="-L${LOCALBASE}/lib -llzo2"
LZO_CONFIGURE_OFF= --without-lzo
TOOLS_CONFIGURE_OFF= --without-tools
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
ZSTD_CONFIGURE_OFF= --without-zstd
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGELOG.md ${WRKSRC}/README.md \
${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>