summaryrefslogtreecommitdiffstats
path: root/devel/libtar/Makefile
blob: 77fe76ab04ae224f2b7c740899e42696b6ecb2c5 (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
# New ports collection makefile for:   libtar
# Date created:        06 January 2001
# Whom:                George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#

PORTNAME=	libtar
PORTVERSION=	1.2.11
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	ftp://ftp.feep.net/pub/software/libtar/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A library for manipulating POSIX and GNU tar files

USE_GMAKE=		yes
GNU_CONFIGURE=		yes
INSTALLS_SHLIB=		yes
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=		CPPFLAGS="${CPPFLAGS}"

post-install:
	${INSTALL_DATA} ${WRKSRC}/lib/libtar.so.0 ${PREFIX}/lib
	${LN} -sf libtar.so.0 ${PREFIX}/lib/libtar.so

.include <bsd.port.pre.mk>
.include "files/manpages"

.if ${ARCH}!="i386"
CPPFLAGS+=	-fPIC
.endif

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