2001-07-13 07:23:37 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.34 2001/07/13 11:23:37 naddy Exp $
|
2001-03-24 17:37:58 -05:00
|
|
|
|
|
|
|
COMMENT= "block-sorting file compressor, unencumbered"
|
1997-11-24 14:26:36 -05:00
|
|
|
|
2000-06-24 23:56:58 -04:00
|
|
|
DISTNAME= bzip2-1.0.1
|
1997-11-24 14:26:36 -05:00
|
|
|
CATEGORIES= archivers
|
2001-04-20 13:35:31 -04:00
|
|
|
NEED_VERSION= 1.384
|
2000-05-25 21:56:09 -04:00
|
|
|
MASTER_SITES= ftp://sourceware.cygnus.com/pub/bzip2/v100/ \
|
2001-07-13 07:23:37 -04:00
|
|
|
ftp://ftp.yggdrasil.com/mirrors/site/sourceware.cygnus.com/pub/bzip2/v100/ \
|
|
|
|
ftp://ftp.funet.fi/pub/mirrors/sourceware.cygnus.com/pub/bzip2/v100/
|
1997-11-24 14:26:36 -05:00
|
|
|
|
2000-06-24 23:56:58 -04:00
|
|
|
HOMEPAGE= http://sourceware.cygnus.com/bzip2/
|
|
|
|
|
2000-09-23 21:23:42 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
1997-11-24 14:26:36 -05:00
|
|
|
|
2000-03-05 03:28:32 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2000-09-16 07:44:22 -04:00
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -Wall -Winline \
|
|
|
|
-fomit-frame-pointer -fno-strength-reduce"
|
2001-04-20 13:35:31 -04:00
|
|
|
FAKE_FLAGS= ${MAKE_FLAGS} PREFIX="${PREFIX}" DESTDIR="${WRKINST}"
|
1997-11-24 14:26:36 -05:00
|
|
|
|
1999-12-28 18:37:32 -05:00
|
|
|
test: build
|
2001-03-24 17:37:58 -05:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} \
|
|
|
|
LD_LIBRARY_PATH="${WRKBUILD}" ${MAKE} ${MAKE_FLAGS} -f \
|
|
|
|
${MAKE_FILE} test
|
1999-12-28 18:37:32 -05:00
|
|
|
|
1997-11-24 14:26:36 -05:00
|
|
|
.include <bsd.port.mk>
|
2000-09-16 07:44:22 -04:00
|
|
|
|
|
|
|
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes"
|
2001-04-20 11:09:11 -04:00
|
|
|
MAKE_ENV+= NO_SHARED_LIBS=Yes
|
2000-09-16 07:44:22 -04:00
|
|
|
.endif
|