aboutsummaryrefslogtreecommitdiff
path: root/archivers/zutils/Makefile
blob: 7c21a90457ad6c495c2d8f57d6f510f296bee97a (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
PORTNAME=	zutils
PORTVERSION=	1.15
CATEGORIES=	archivers
MASTER_SITES=	SAVANNAH/zutils

MAINTAINER=	dutra@FreeBSD.org
COMMENT=	Utilities for searching in bzip2, gzip, lzip, and xz archives
WWW=		https://www.nongnu.org/zutils/zutils.html

LICENSE=	GPLv2

USES=		cpe tar:lz gmake
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share

CONFLICTS_INSTALL=	gzip # bin/zcat bin/zcmp bin/zdiff bin/zgrep share/man/man1/ztest.1.gz

INSTALL_TARGET=	install-strip
CPE_VENDOR=	nongnu

INFO=		zutils

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

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

.include <bsd.port.mk>