freebsd-ports/archivers/bzip2/Makefile

38 lines
1.1 KiB
Makefile
Raw Normal View History

# ex:ts=8
2000-02-12 22:25:05 -05:00
# Ports collection makefile for: bzip2
# Version required: 0.9.0c
# Date created: 19 Nov 1997
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
1999-08-25 00:25:23 -04:00
# $FreeBSD$
#
DISTNAME= bzip2-0.9.5d
CATEGORIES= archivers
MASTER_SITES= ftp://sourceware.cygnus.com/pub/bzip2/v095/ \
http://www.kernel.org/pub/software/utils/compress/bzip2/
MAINTAINER= obrien@FreeBSD.org
FETCH_BEFORE_ARGS= -b
1998-09-10 04:03:40 -04:00
MAN1= bzip2.1
MLINKS= bzip2.1 bunzip2.1 bzip2.1 bzcat.1 bzip2.1 bz2cat.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
${LN} -sf ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bz2cat
${INSTALL_PROGRAM} ${WRKSRC}/bzip2recover ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/bzlib.h ${PREFIX}/include
1998-10-28 04:37:30 -05:00
${INSTALL_DATA} ${WRKSRC}/libbz2.a ${PREFIX}/lib
${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${PREFIX}/man/man1
1998-10-28 04:37:30 -05:00
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/bzip2
${INSTALL_DATA} ${WRKSRC}/manual* ${PREFIX}/share/doc/bzip2
1999-08-14 12:26:19 -04:00
${PREFIX}/bin/bzip2 ${PREFIX}/share/doc/bzip2/manual.ps
1998-10-28 04:37:30 -05:00
.endif
.include <bsd.port.mk>