1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/archivers/bsdtar/Makefile
Pav Lucistnik 6c21728cf1 - Update to 2004.07.14
PR:		ports/69270
Submitted by:	Martin Matuska <martin@tradex.sk> (maintainer)
2004-07-19 17:56:43 +00:00

47 lines
980 B
Makefile

# New ports collection makefile for: libarchive
# Date created: 11 Jun 2004
# Whom: Martin Matuska <martin@tradex.sk>
#
# $FreeBSD$
PORTNAME= bsdtar
PORTVERSION= 2004.07.14
CATEGORIES= archivers
MASTER_SITES= http://people.freebsd.org/~kientzle/libarchive/src/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./-/g}
EXTRACT_SUFX= .tgz
MAINTAINER= martin@tradex.sk
COMMENT= New tar archiver from FreeBSD-CURRENT
BUILD_DEPENDS= ${LOCALBASE}/lib/libarchive.a:${PORTSDIR}/archivers/libarchive
WRKSRC= ${WRKDIR}/${PORTNAME}
CFLAGS+= -I${LOCALBASE}/include
MAKE_FLAGS+= BINDIR=${PREFIX}/bin \
MANDIR=${PREFIX}/man/man
PLIST_FILES= bin/bsdtar
USE_REINPLACE= yes
MANCOMPRESSED= yes
MAN1= bsdtar.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502111
IGNORE= is in the base system
.endif
.if ${OSVERSION} < 500000
EXTRA_PATCHES= ${PATCHDIR}/diff-bsdtar.h
.endif
post-patch:
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Makefile
.include <bsd.port.post.mk>