summaryrefslogtreecommitdiffstats
path: root/archivers/bzip/Makefile
blob: 7c757511aee3d8232a686f7ab74044d86fe042f4 (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.3 1996/09/28 12:34:36 andreas Exp $
#

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

MAINTAINER=     Andreas Klemm <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