summaryrefslogtreecommitdiff
path: root/archivers/pxz/Makefile
blob: ea9609c4c6c048c7664a33573047b1afd2123022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: mm

PORTNAME=	pxz
PORTVERSION=	0.20220509
CATEGORIES=	archivers

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Parallel LZMA compressor using liblzma

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		cpe tar:xz
PLIST_FILES=	bin/pxz share/man/man1/pxz.1.gz

USE_GITHUB=	yes
GH_ACCOUNT=	jnovy
GH_PROJECT=	pxz
GH_TAGNAME=	136e5c2

CPE_VENDOR=	pxz_project

MAKE_ENV+=	BINDIR=${PREFIX}/bin \
		MANDIR=${PREFIX}/share/man

MAKE_ARGS+=	CC="${CC}"

.if !exists(/usr/include/omp.h)
USES+=		compiler:gcc-c++11-lib
.endif

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pxz

.include <bsd.port.mk>