aboutsummaryrefslogtreecommitdiff
path: root/archivers/bzip/Makefile
blob: dd9555b42623d57406a9f1fc78d9bc73c405a187 (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
PORTNAME=	bzip
DISTVERSION=	0.21
PORTREVISION=	1
CATEGORIES=	archivers
MASTER_SITES=	SOURCEWARE/bzip2

MAINTAINER=	portmaster@BSDforge.com
COMMENT=	Block-sorting file compressor
WWW=		https://sourceware.org/bzip2/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

USE_CSTD=	gnu89

PLIST_FILES=	bin/bzip bin/bunzip \
		share/man/man1/bunzip.1.gz \
		share/man/man1/bzip.1.gz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bzip ${STAGEDIR}${PREFIX}/bin
	${RLN} ${STAGEDIR}${PREFIX}/bin/bzip ${STAGEDIR}${PREFIX}/bin/bunzip
	${INSTALL_MAN} ${WRKSRC}/bzip.1 \
		${STAGEDIR}${PREFIX}/share/man/man1/bzip.1
	${INSTALL_MAN} ${WRKSRC}/bzip.1 \
		${STAGEDIR}${PREFIX}/share/man/man1/bunzip.1

.include <bsd.port.mk>