aboutsummaryrefslogtreecommitdiff
path: root/archivers/zutils/Makefile
blob: e213be0f869febb61349c8e845ece3c67380afa5 (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
# Created by: Albert Vernon <f3cun3c02@sneakemail.com>
# $FreeBSD$

PORTNAME=	zutils
PORTVERSION=	1.2
CATEGORIES=	archivers
MASTER_SITES=	SAVANNAH/zutils
EXTRACT_SUFX=	.tar.lz

MAINTAINER=	danilo@FreeBSD.org
COMMENT=	Utilities for searching in bzip2, gzip, lzip, and xz archives

LICENSE=	GPLv3

EXTRACT_DEPENDS=	lzip:${PORTSDIR}/archivers/lzip

INFO=		zutils

GNU_CONFIGURE=	yes

do-extract:
	@${MKDIR} ${WRKDIR}
	@(cd ${WRKDIR} ; ${LOCALBASE}/bin/lzip -cd \
		${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | ${TAR} -xf -)

post-patch:
	# Remove compiler hardcoded flags and use environment
	@${REINPLACE_CMD} '24,27d' ${WRKSRC}/configure

post-install:
	@-${RM} ${STAGEDIR}${PREFIX}/info/dir

.include <bsd.port.mk>