c062f90649
- remove part of patch and use MAKE_FLAGS instead
32 lines
778 B
Makefile
32 lines
778 B
Makefile
# $OpenBSD: Makefile,v 1.11 2000/02/17 20:16:24 brad Exp $
|
|
|
|
DISTNAME= bzip-0.21
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
|
|
|
NO_CDROM= "NOFEE: can not sell"
|
|
|
|
MAINTAINER= ports@openbsd.org
|
|
|
|
LICENSE_TYPE= NOFEE
|
|
PERMIT_PACKAGE_CDROM= No
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= No
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MAKE_FLAGS= CC="${CC}" \
|
|
CFLAGS="${CFLAGS} -fomit-frame-pointer -funroll-loops \
|
|
-Wall -Winline -Wshadow -W"
|
|
|
|
pre-install:
|
|
@cat ${FILESDIR}/COPYRIGHT
|
|
|
|
do-install:
|
|
@rm -f ${PREFIX}/bin/bzip ${PREFIX}/bin/bunzip
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bzip ${PREFIX}/bin
|
|
@ln -sf ${PREFIX}/bin/bzip ${PREFIX}/bin/bunzip
|
|
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bunzip.1
|
|
|
|
.include <bsd.port.mk>
|