openbsd-ports/archivers/bzip2/Makefile
2001-04-20 17:35:31 +00:00

34 lines
943 B
Makefile

# $OpenBSD: Makefile,v 1.33 2001/04/20 17:35:32 brad Exp $
COMMENT= "block-sorting file compressor, unencumbered"
DISTNAME= bzip2-1.0.1
CATEGORIES= archivers
NEED_VERSION= 1.384
MASTER_SITES= ftp://sourceware.cygnus.com/pub/bzip2/v100/ \
ftp://ftp.yggdrasil.com/mirrors/site/sourceware.cygnus.com/pub/bzip2/v100/
HOMEPAGE= http://sourceware.cygnus.com/bzip2/
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -Wall -Winline \
-fomit-frame-pointer -fno-strength-reduce"
FAKE_FLAGS= ${MAKE_FLAGS} PREFIX="${PREFIX}" DESTDIR="${WRKINST}"
test: build
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} \
LD_LIBRARY_PATH="${WRKBUILD}" ${MAKE} ${MAKE_FLAGS} -f \
${MAKE_FILE} test
.include <bsd.port.mk>
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes"
MAKE_ENV+= NO_SHARED_LIBS=Yes
.endif