Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $OpenBSD: Makefile,v 1.8 2016/03/11 19:46:48 sthen Exp $
  2. COMMENT = HTML slide generator based on SlideML
  3. V = 1.1.0
  4. REVISION = 1
  5. GH_TAGNAME = SLIDEML_${V:S/./_/g}
  6. GH_ACCOUNT = conformal
  7. GH_PROJECT = slideml
  8. DISTNAME = ${GH_PROJECT}-${V}
  9. CATEGORIES = productivity
  10. HOMEPAGE = https://github.com/conformal/slideml/wiki
  11. MAINTAINER = Laurent Fanis <laurent.fanis@gmail.com>
  12. #W3C Software Notice and License & BSD
  13. PERMIT_PACKAGE_CDROM = Yes
  14. RUN_DEPENDS = graphics/p5-Image-Size
  15. NO_BUILD = Yes
  16. NO_TEST = Yes
  17. DATA_DIR = ${PREFIX}/share/slideml
  18. DOC_DIR = ${PREFIX}/share/doc/slideml
  19. EG_DIR = ${PREFIX}/share/examples/slideml
  20. pre-configure:
  21. ${SUBST_CMD} ${WRKSRC}/slideml.pl
  22. do-install:
  23. ${INSTALL_SCRIPT} ${WRKSRC}/slideml.pl ${PREFIX}/bin
  24. ${INSTALL_DATA_DIR} ${DOC_DIR}
  25. ${INSTALL_DATA} ${WRKSRC}/slideml_spec.txt ${DOC_DIR}
  26. ${INSTALL_DATA} ${WRKSRC}/license ${DOC_DIR}
  27. ${INSTALL_DATA_DIR} ${DATA_DIR}
  28. ${INSTALL_DATA} ${WRKSRC}/slidy.{css,js} ${DATA_DIR}
  29. ${INSTALL_DATA_DIR} ${EG_DIR}
  30. ${INSTALL_DATA} ${WRKSRC}/examples/slides.sml ${EG_DIR}
  31. .include <bsd.port.mk>