Makefile 778 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.73 2016/06/28 09:56:23 jasper Exp $
  2. COMMENT= block-sorting file compressor, unencumbered
  3. VERSION= 1.0.6
  4. DISTNAME= bzip2-${VERSION}
  5. REVISION= 8
  6. CATEGORIES= archivers
  7. MASTER_SITES= ${HOMEPAGE}${VERSION}/
  8. SHARED_LIBS= bz2 10.4
  9. HOMEPAGE= http://www.bzip.org/
  10. # BSD
  11. PERMIT_PACKAGE_CDROM= Yes
  12. # uses pledge()
  13. WANTLIB += c
  14. BZ2_CFLAGS= -Wall -Winline -fomit-frame-pointer -fno-strength-reduce
  15. MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${BZ2_CFLAGS}" \
  16. LIBbz2_VERSION=${LIBbz2_VERSION} PREFIX=${TRUEPREFIX}
  17. TEST_FLAGS= LD_LIBRARY_PATH="${WRKBUILD}" LIBbz2_VERSION=${LIBbz2_VERSION}
  18. TEST_TARGET= test
  19. post-install:
  20. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bzip2
  21. ${INSTALL_DATA} ${WRKBUILD}/manual.html ${PREFIX}/share/doc/bzip2
  22. .include <bsd.port.mk>