1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/archivers/bzip/Makefile

33 lines
957 B
Makefile
Raw Normal View History

# 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:$
#
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>
pre-install:
@cat ${FILESDIR}/COPYRIGHT
do-install:
rm -f ${PREFIX}/bin/bzip ${PREFIX}/bin/bzip
${INSTALL} -C -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${WRKSRC}/bzip ${PREFIX}/bin/bzip
ln ${PREFIX}/bin/bzip ${PREFIX}/bin/bunzip
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bzip.1
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${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>