summaryrefslogtreecommitdiff
path: root/archivers/libarchive
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2006-06-20 22:33:47 +0000
committerGreg Lewis <glewis@FreeBSD.org>2006-06-20 22:33:47 +0000
commitc6ccc7ea644be7a999611bb5af6db51915b2906e (patch)
treea791680db1ded804f2641334bf2daff9e108fe0b /archivers/libarchive
parentUnbreak (diff)
. Update to 1.2.53. bsdtar is now included in this port.
Notes
Notes: svn path=/head/; revision=165885
Diffstat (limited to 'archivers/libarchive')
-rw-r--r--archivers/libarchive/Makefile17
-rw-r--r--archivers/libarchive/distinfo6
2 files changed, 17 insertions, 6 deletions
diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile
index 8802f1623ca5..0a53db2ed00a 100644
--- a/archivers/libarchive/Makefile
+++ b/archivers/libarchive/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= libarchive
-PORTVERSION= 1.2.37
+PORTVERSION= 1.2.53
PORTEPOCH= 1
CATEGORIES= archivers
MASTER_SITES= http://people.freebsd.org/~kientzle/libarchive/src/
@@ -16,7 +16,8 @@ COMMENT= Library to create and read several streaming archive formats
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
-PLIST_FILES= include/archive.h \
+PLIST_FILES= bin/bsdtar \
+ include/archive.h \
include/archive_entry.h \
lib/libarchive.a \
lib/libarchive.la \
@@ -24,6 +25,7 @@ PLIST_FILES= include/archive.h \
lib/libarchive.so.3
MANCOMPRESSED= no
+MAN1= bsdtar.1
MAN3= archive_entry.3 \
archive_read.3 \
archive_util.3 \
@@ -32,4 +34,13 @@ MAN3= archive_entry.3 \
MAN5= libarchive-formats.5 \
tar.5
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500040
+USE_GETOPT_LONG=yes
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/archivers/libarchive/distinfo b/archivers/libarchive/distinfo
index 96fdd25bebc5..7d02aacd86c0 100644
--- a/archivers/libarchive/distinfo
+++ b/archivers/libarchive/distinfo
@@ -1,3 +1,3 @@
-MD5 (libarchive-1.2.37.tar.gz) = c805505a06b5af5976a12c02351a76b9
-SHA256 (libarchive-1.2.37.tar.gz) = bf7c025be26c4cf4580dfcf54c6a5154d637c9d3f3f7a94e169f86ec9be09cc3
-SIZE (libarchive-1.2.37.tar.gz) = 419535
+MD5 (libarchive-1.2.53.tar.gz) = 2e2df461fef05049b3a92e5bedc2de2c
+SHA256 (libarchive-1.2.53.tar.gz) = 7ea32dcf542471d48464bad4e408fbb3b7dbea7d6594a01df73236ae3dc378e8
+SIZE (libarchive-1.2.53.tar.gz) = 522540