Makefile 741 B

12345678910111213141516171819202122232425262728293031
  1. # $OpenBSD: Makefile,v 1.6 2016/03/16 16:46:32 naddy Exp $
  2. COMMENT= lightweight Scheme implementation with subset of R5RS
  3. DISTNAME= tinyscheme-1.41
  4. CATEGORIES= lang
  5. HOMEPAGE= http://tinyscheme.sourceforge.net/home.html
  6. # BSD
  7. PERMIT_PACKAGE_CDROM= Yes
  8. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tinyscheme/}
  9. WANTLIB += c m
  10. MAKE_FILE= ${WRKSRC}/makefile
  11. MAKE_FLAGS= LD="${CC}"
  12. CFLAGS+= -fPIC -DInitFile="\"${PREFIX}/share/tinyscheme/init.scm\""
  13. NO_TEST= Yes
  14. do-install:
  15. ${INSTALL_PROGRAM} ${WRKSRC}/scheme ${PREFIX}/bin/tinyscheme
  16. ${INSTALL_DATA} ${WRKSRC}/scheme.h ${PREFIX}/include/tinyscheme.h
  17. ${INSTALL_DATA_DIR} ${PREFIX}/share/tinyscheme/
  18. ${INSTALL_DATA} ${WRKSRC}/init.scm ${PREFIX}/share/tinyscheme
  19. .include <bsd.port.mk>