Makefile 589 B

1234567891011121314151617181920212223242526272829
  1. # $OpenBSD: Makefile,v 1.1.1.1 2016/04/04 11:26:22 jca Exp $
  2. COMMENT = decompressor for mozilla lz4json format
  3. DISTNAME = lz4json-0.0.20141228
  4. GH_ACCOUNT = andikleen
  5. GH_PROJECT = lz4json
  6. GH_COMMIT = e3e6365ded1b5dcfe1ce69ce2c764dd010526c81
  7. CATEGORIES = archivers
  8. # BSD 2-Clause
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB += c lz4
  11. LIB_DEPENDS = archivers/lz4
  12. MAKE_FLAGS = CFLAGS="-Wall ${CFLAGS}" \
  13. CPPFLAGS="-I${LOCALBASE}/include" \
  14. LDFLAGS="-L${LOCALBASE}/lib -llz4 ${LDFLAGS}"
  15. ALL_TARGET =
  16. do-install:
  17. ${INSTALL_PROGRAM} ${WRKSRC}/lz4jsoncat ${PREFIX}/bin
  18. .include <bsd.port.mk>