1998-11-03 07:05:20 +00:00
|
|
|
# ex:ts=8
|
2000-02-13 03:25:05 +00:00
|
|
|
# Ports collection makefile for: bzip2
|
|
|
|
# Date created: 19 Nov 1997
|
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1997-11-20 08:18:41 +00:00
|
|
|
#
|
1999-08-25 04:25:23 +00:00
|
|
|
# $FreeBSD$
|
1997-11-20 08:18:41 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 23:24:42 +00:00
|
|
|
PORTNAME= bzip2
|
2000-05-19 00:32:43 +00:00
|
|
|
PORTVERSION= 1.0.0
|
1997-11-20 08:18:41 +00:00
|
|
|
CATEGORIES= archivers
|
2000-05-19 00:32:43 +00:00
|
|
|
MASTER_SITES= ftp://ftp.freesoftware.com/pub/sourceware/bzip2/v100/ \
|
|
|
|
ftp://sourceware.cygnus.com/pub/bzip2/v100/ \
|
1999-10-27 08:22:18 +00:00
|
|
|
http://www.kernel.org/pub/software/utils/compress/bzip2/
|
1997-11-20 08:18:41 +00:00
|
|
|
|
1998-11-03 07:05:20 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1997-11-20 08:18:41 +00:00
|
|
|
|
|
|
|
FETCH_BEFORE_ARGS= -b
|
2000-06-08 14:47:20 +00:00
|
|
|
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-06-15 17:12:51 +00:00
|
|
|
|
1998-09-10 08:03:40 +00:00
|
|
|
MAN1= bzip2.1
|
1999-10-27 08:22:18 +00:00
|
|
|
MLINKS= bzip2.1 bunzip2.1 bzip2.1 bzcat.1 bzip2.1 bz2cat.1 \
|
|
|
|
bzip2.1 bzip2recover.1
|
1997-11-20 08:18:41 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bzip2 ${PREFIX}/bin
|
1998-08-29 01:55:31 +00:00
|
|
|
${LN} -sf ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bunzip2
|
1998-12-10 17:02:32 +00:00
|
|
|
${LN} -sf ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bzcat
|
1999-10-27 08:22:18 +00:00
|
|
|
${LN} -sf ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bz2cat
|
1997-11-20 08:18:41 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bzip2recover ${PREFIX}/bin
|
1999-04-19 22:28:12 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/bzlib.h ${PREFIX}/include
|
1998-10-28 09:37:30 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libbz2.a ${PREFIX}/lib
|
2000-06-08 14:47:20 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libbz2.so.1 ${PREFIX}/lib
|
|
|
|
${LN} -sf ${PREFIX}/lib/libbz2.so.1 ${PREFIX}/lib/libbz2.so
|
1997-11-20 08:18:41 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${PREFIX}/man/man1
|
1998-10-28 09:37:30 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/bzip2
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/manual* ${PREFIX}/share/doc/bzip2
|
2000-05-22 17:13:29 +00:00
|
|
|
${PREFIX}/bin/bzip2 -f ${PREFIX}/share/doc/bzip2/manual.ps
|
1998-10-28 09:37:30 +00:00
|
|
|
.endif
|
1997-11-20 08:18:41 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|