Makefile 875 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.14 2017/05/28 16:23:28 espie Exp $
  2. COMMENT= Scheme Underground's implementation of R5RS
  3. # '
  4. V= 1.9.2
  5. DISTNAME= scheme48-$V
  6. CATEGORIES= lang
  7. HOMEPAGE= http://www.s48.org/
  8. MAINTAINER= Aaron W. Hsu <arcfide@sacrideo.us>
  9. # 3-clause BSD
  10. PERMIT_PACKAGE_CDROM= Yes
  11. MASTER_SITES= ${HOMEPAGE}/$V/
  12. EXTRACT_SUFX= .tgz
  13. WANTLIB= c m pthread
  14. USE_GMAKE= Yes
  15. ALL_TARGET= enough
  16. CONFIGURE_STYLE= gnu
  17. CONFIGURE_ENV= LD="${CC}" LDFLAGS="-Wl,--export-dynamic"
  18. post-install:
  19. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/scheme48
  20. ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${WRKSRC}/doc/*.ps \
  21. ${WRKSRC}/doc/*.pdf ${PREFIX}/share/doc/scheme48
  22. ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/scheme48
  23. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/scheme48/html
  24. ${INSTALL_DATA} ${WRKSRC}/doc/html/* \
  25. ${PREFIX}/share/doc/scheme48/html
  26. .include <bsd.port.mk>