aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archivers/libarchive/Makefile18
-rw-r--r--archivers/libarchive/distinfo6
-rw-r--r--archivers/libarchive/pkg-descr2
3 files changed, 17 insertions, 9 deletions
diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile
index a0e986bfb918..0eec64cbbcc3 100644
--- a/archivers/libarchive/Makefile
+++ b/archivers/libarchive/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= libarchive
-PORTVERSION= 2.7.1
+PORTVERSION= 2.8.3
PORTEPOCH= 1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
@@ -13,8 +13,11 @@ MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= glewis@FreeBSD.org
COMMENT= Library to create and read several streaming archive formats
+LIB_DEPENDS= lzma.0:${PORTSDIR}/archivers/xz
+
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+USE_GNOME= libxml2
PLIST_FILES= bin/bsdcpio \
bin/bsdtar \
@@ -23,7 +26,8 @@ PLIST_FILES= bin/bsdcpio \
lib/libarchive.a \
lib/libarchive.la \
lib/libarchive.so \
- lib/libarchive.so.9
+ lib/libarchive.so.10 \
+ lib/pkgconfig/libarchive.pc
MANCOMPRESSED= no
MAN1= bsdcpio.1 \
@@ -41,9 +45,13 @@ MAN5= cpio.5 \
mtree.5 \
tar.5
-.include <bsd.port.pre.mk>
+CFLAGS+= "-I${LOCALBASE}/include"
+MAKE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
+ CPPFLAGS="-I${LOCALBASE}/include"
+CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
+ CPPFLAGS="-I${LOCALBASE}/include"
-regression-test:
+check:
(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} check)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/archivers/libarchive/distinfo b/archivers/libarchive/distinfo
index cb4f44baf2e3..e19ed0d18f69 100644
--- a/archivers/libarchive/distinfo
+++ b/archivers/libarchive/distinfo
@@ -1,3 +1,3 @@
-MD5 (libarchive-2.7.1.tar.gz) = f43382413b4457d0e192771b100a66e7
-SHA256 (libarchive-2.7.1.tar.gz) = a7e066ef857d3db0211e2d916ca14aafc48a4776c4fa108fd67092ce862a7ba8
-SIZE (libarchive-2.7.1.tar.gz) = 1248222
+MD5 (libarchive-2.8.3.tar.gz) = fe8d917e101d4b37580124030842a1d0
+SHA256 (libarchive-2.8.3.tar.gz) = 16095d15334b3c8dbb02db5af3d415f12c1c3bdd4eb43af7bbc36ab7572c0b7a
+SIZE (libarchive-2.8.3.tar.gz) = 1438099
diff --git a/archivers/libarchive/pkg-descr b/archivers/libarchive/pkg-descr
index a339b66a2f66..7ed442e218ef 100644
--- a/archivers/libarchive/pkg-descr
+++ b/archivers/libarchive/pkg-descr
@@ -2,4 +2,4 @@ Libarchive is a programming library that can create and read several
different streaming archive formats, including most popular tar
variants and the POSIX cpio format.
-WWW: http://people.freebsd.org/~kientzle/libarchive/
+WWW: http://libarchive.googlecode.com/