summaryrefslogtreecommitdiffstats
path: root/archivers/bsdtar/Makefile
blob: 797c78bc8a31d805619725eeb016afbbfc9ae6e9 (plain)
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
# New ports collection makefile for:	libarchive
# Date created:		11 Jun 2004
# Whom:			Martin Matuska <martin@matuska.org>
#
# $FreeBSD$

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

MAINTAINER=	glewis@FreeBSD.org
COMMENT=	A utility to create and manipulate streaming archive files

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

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud