openbsd-ports/archivers/bzip/Makefile
2010-10-18 21:55:51 +00:00

28 lines
700 B
Makefile

# $OpenBSD: Makefile,v 1.28 2010/10/18 21:55:51 sthen Exp $
COMMENT= block-sorting file compressor, encumbered
DISTNAME= bzip-0.21
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_BACKUP}
# GPL + patents
PERMIT_PACKAGE_CDROM= patents
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= patents
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MAKE_FLAGS= CC="${CC}" \
CFLAGS="${CFLAGS} -fomit-frame-pointer -funroll-loops \
-Wall -Winline -Wshadow -W"
USE_GROFF= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bzip ${PREFIX}/bin
@cd ${PREFIX}/bin && ln -fs bzip bunzip
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bunzip.1
.include <bsd.port.mk>