blob: 57324e1939ed5aabd619a0200e9dff3578a743a9 (
plain) (
blame)
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
|
# $FreeBSD$
PORTNAME= pixz
PORTVERSION= 1.0.2
CATEGORIES= archivers
MASTER_SITES= SF/pixz
EXTRACT_SUFX= .tgz
MAINTAINER= hrs@FreeBSD.org
COMMENT= Parallel, indexing version of XZ
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
SUB_FILES= Makefile
PLIST_FILES= bin/${PORTNAME} man/man1/pixz.1.gz
MAKE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
LIB_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.endif
post-extract: apply-slist
${INSTALL_DATA} ${WRKDIR}/Makefile ${WRKSRC}
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.1 ${WRKSRC}
.include <bsd.port.post.mk>
|