aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/bzip2/Makefile
blob: 8e751ca91071966f68281f59fe7b6ea84787cf73 (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
34
# ex:ts=8
# New ports collection makefile for:    bzip2
# Version required: 0.9.0c
# Date created:     19 Nov 1997
# Whom:         Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id: Makefile,v 1.10 1999/04/19 22:28:11 obrien Exp $
#

DISTNAME=   bzip2-0.9.0c
CATEGORIES= archivers
MASTER_SITES=   http://www.bzip2.org/bzip2/v090/ \
        http://www.digistar.com/bzip2/

MAINTAINER= obrien@FreeBSD.org

FETCH_BEFORE_ARGS=  -b
MAN1=       bzip2.1
MLINKS=     bzip2.1 bunzip2.1 bzip2.1 bzcat.1 bzip2.1 bzip2recover.1

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bzip2 ${PREFIX}/bin
    ${LN} -sf ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bunzip2
    ${LN} -sf ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bzcat
    ${INSTALL_PROGRAM} ${WRKSRC}/bzip2recover ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/bzlib.h ${PREFIX}/include
    ${INSTALL_DATA} ${WRKSRC}/libbz2.a ${PREFIX}/lib
    ${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/bzip2
    ${INSTALL_DATA} ${WRKSRC}/manual* ${PREFIX}/share/doc/bzip2
.endif

.include <bsd.port.mk>