diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2006-06-20 22:33:47 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2006-06-20 22:33:47 +0000 |
commit | c6ccc7ea644be7a999611bb5af6db51915b2906e (patch) | |
tree | a791680db1ded804f2641334bf2daff9e108fe0b /archivers/libarchive/Makefile | |
parent | 8ec7d57630d12364ea4e23a748e4f725c34e7160 (diff) | |
download | ports-c6ccc7ea644be7a999611bb5af6db51915b2906e.tar.gz ports-c6ccc7ea644be7a999611bb5af6db51915b2906e.zip |
Notes
Diffstat (limited to 'archivers/libarchive/Makefile')
-rw-r--r-- | archivers/libarchive/Makefile | 17 |
1 files changed, 14 insertions, 3 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> |