Makefile 628 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.2 2017/04/16 18:23:51 fcambus Exp $
  2. COMMENT = embeddable JavaScript engine
  3. DISTNAME = duktape-2.1.0
  4. EXTRACT_SUFX = .tar.xz
  5. CATEGORIES = lang
  6. HOMEPAGE = http://duktape.org/
  7. MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
  8. # MIT
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB += c m
  11. MASTER_SITES = ${HOMEPAGE}
  12. MAKE_FLAGS = CC="${CC}"
  13. MAKE_FILE = Makefile.cmdline
  14. ALL_TARGET = duk
  15. NO_TEST = Yes
  16. do-install:
  17. ${INSTALL_PROGRAM} ${WRKSRC}/duk ${PREFIX}/bin
  18. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/duktape
  19. ${INSTALL_DATA} ${WRKSRC}/mandel.js ${PREFIX}/share/examples/duktape
  20. .include <bsd.port.mk>