2007-09-16 07:14:46 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2007/09/16 11:14:46 simon Exp $
|
2001-03-29 06:41:17 -05:00
|
|
|
|
2007-09-15 06:14:32 -04:00
|
|
|
COMMENT= block-sorting file compressor, encumbered
|
1997-11-16 14:38:06 -05:00
|
|
|
|
1999-12-28 01:13:04 -05:00
|
|
|
DISTNAME= bzip-0.21
|
1997-11-16 14:38:06 -05:00
|
|
|
CATEGORIES= archivers
|
2000-02-17 12:59:54 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
1997-11-16 14:38:06 -05:00
|
|
|
|
2003-05-23 21:14:50 -04:00
|
|
|
# GPL + patents
|
2007-09-16 07:14:46 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= patents
|
2000-02-17 12:57:21 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2007-09-16 07:14:46 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= patents
|
2000-02-17 12:57:21 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-21 07:50:32 -05:00
|
|
|
WANTLIB= c
|
2000-02-17 12:57:21 -05:00
|
|
|
|
2000-02-17 15:16:24 -05:00
|
|
|
MAKE_FLAGS= CC="${CC}" \
|
|
|
|
CFLAGS="${CFLAGS} -fomit-frame-pointer -funroll-loops \
|
|
|
|
-Wall -Winline -Wshadow -W"
|
|
|
|
|
1997-11-16 14:38:06 -05:00
|
|
|
do-install:
|
2000-02-17 12:57:21 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bzip ${PREFIX}/bin
|
2000-09-12 09:44:14 -04:00
|
|
|
@cd ${PREFIX}/bin && ln -fs bzip bunzip
|
2000-02-17 12:57:21 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1
|
1997-11-16 14:38:06 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bunzip.1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|