1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/archivers/bzip2/Makefile
2000-06-15 17:12:51 +00:00

44 lines
1.3 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: bzip2
# Date created: 19 Nov 1997
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= bzip2
PORTVERSION= 1.0.0
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.freesoftware.com/pub/sourceware/bzip2/v100/ \
ftp://sourceware.cygnus.com/pub/bzip2/v100/ \
http://www.kernel.org/pub/software/utils/compress/bzip2/
MAINTAINER= obrien@FreeBSD.org
FETCH_BEFORE_ARGS= -b
INSTALL_SHLIBS= yes
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
${INSTALL_DATA} ${WRKSRC}/libbz2.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/libbz2.so.1 ${PREFIX}/lib
${LN} -sf ${PREFIX}/lib/libbz2.so.1 ${PREFIX}/lib/libbz2.so
${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/bzip2
${INSTALL_DATA} ${WRKSRC}/manual* ${PREFIX}/share/doc/bzip2
${PREFIX}/bin/bzip2 -f ${PREFIX}/share/doc/bzip2/manual.ps
.endif
.include <bsd.port.mk>