Makefile 696 B

123456789101112131415161718192021222324252627
  1. # $OpenBSD: Makefile,v 1.5 2014/10/11 19:54:47 jeremy Exp $
  2. COMMENT = logic-free template language
  3. DISTNAME = mustache-0.99.4
  4. REVISION = 2
  5. CATEGORIES = textproc
  6. # MIT
  7. PERMIT_PACKAGE_CDROM = Yes
  8. MODULES = lang/ruby
  9. CONFIGURE_STYLE = ruby gem
  10. post-install:
  11. cd ${WRKINST}/${LOCALBASE}/${GEM_LIB}/gems/${DISTNAME}/man && \
  12. mv mustache.1 ${WRKINST}/${LOCALBASE}/man/man1/mustache${GEM_MAN_SUFFIX}.1 && \
  13. mv mustache.5 ${WRKINST}/${LOCALBASE}/man/man5/mustache${GEM_MAN_SUFFIX}.5
  14. rm -r ${WRKINST}/${LOCALBASE}/${GEM_LIB}/gems/${DISTNAME}/man
  15. TEST_DEPENDS = textproc/ruby-ronn,${MODRUBY_FLAVOR}
  16. MODRUBY_TEST = testrb
  17. MODRUBY_TEST_TARGET = -I lib test/*_test.rb
  18. .include <bsd.port.mk>