summaryrefslogtreecommitdiffstats
path: root/archivers/bzip/Makefile
blob: 1ab840d825bb8c37d543fa0078f06e4add0a0d5c (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
# New ports collection makefile for:    bzip
# Version required:     0.21
# Date created:         Fr  27 Sep 1996 11:47:35 MET DST
# Whom:                 Andreas Klemm <andreas@klemm.gtn.com>
#
# $Id: Makefile,v 1.4 1996/10/15 19:56:29 andreas Exp $
#

DISTNAME=       bzip-0.21
CATEGORIES+=	archivers
MASTER_SITES=   http://www.cs.man.ac.uk/arch/people/j-seward/

MAINTAINER=     andreas@klemm.gtn.com

NO_CDROM=       yes     # Restrictive copyright (don't sell for profit)

pre-install:
	@cat ${FILESDIR}/COPYRIGHT

do-install:
	rm -f ${PREFIX}/bin/bzip ${PREFIX}/bin/bunzip
	${INSTALL_PROGRAM} ${WRKSRC}/bzip ${PREFIX}/bin/bzip
	ln -s ${PREFIX}/bin/bzip ${PREFIX}/bin/bunzip
	${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bzip.1
	${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bunzip.1
.if !defined(NOMANCOMPRESS)
	gzip -9nf ${PREFIX}/man/man1/bzip.1
	gzip -9nf ${PREFIX}/man/man1/bunzip.1
.endif

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