aboutsummaryrefslogtreecommitdiff
path: root/archivers/pixz/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/pixz/Makefile')
-rw-r--r--archivers/pixz/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/archivers/pixz/Makefile b/archivers/pixz/Makefile
new file mode 100644
index 000000000000..f37ddb2c3188
--- /dev/null
+++ b/archivers/pixz/Makefile
@@ -0,0 +1,32 @@
+# $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}
+MAN1= ${PORTNAME}.1
+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>