aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/bsdtar/Makefile
blob: f6c07561de5e6fd15f9ecd3440634b0ead032b9f (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
32
33
34
35
36
37
38
39
# New ports collection makefile for:    libarchive
# Date created:     11 Jun 2004
# Whom:         Martin Matuska <martin@matuska.org>
#
# $FreeBSD$

PORTNAME=   bsdtar
PORTVERSION=    1.02.019
PORTEPOCH=  1
CATEGORIES= archivers
MASTER_SITES=   http://people.freebsd.org/~kientzle/libarchive/src/

MAINTAINER= glewis@FreeBSD.org
COMMENT=    New tar archiver from FreeBSD 5.3

BUILD_DEPENDS=  ${LOCALBASE}/lib/libarchive.a:${PORTSDIR}/archivers/libarchive

CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

GNU_CONFIGURE=  yes
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"

PLIST_FILES=    bin/bsdtar

MANCOMPRESSED=  no
MAN1=       bsdtar.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500040
USE_GETOPT_LONG=yes
.endif

.if ${OSVERSION} >= 502111
IGNORE=     is in the base system
.endif

.include <bsd.port.post.mk>