Makefile 979 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.6 2014/10/11 19:54:47 jeremy Exp $
  2. COMMENT = builds man pages
  3. DISTNAME = ronn-0.7.3
  4. REVISION = 3
  5. CATEGORIES = textproc
  6. HOMEPAGE = http://rtomayko.github.com/ronn/
  7. MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
  8. # MIT
  9. PERMIT_PACKAGE_CDROM = Yes
  10. MODULES = lang/ruby
  11. CONFIGURE_STYLE = ruby gem
  12. MODRUBY_ADJ_FILES = ronn
  13. post-install:
  14. cd ${WRKINST}/${LOCALBASE}/${GEM_LIB}/gems/${DISTNAME}/man && \
  15. mv ronn.1 ${WRKINST}/${LOCALBASE}/man/man1/ronn${GEM_MAN_SUFFIX}.1 && \
  16. mv ronn-format.7 ${WRKINST}/${LOCALBASE}/man/man7/ronn-format${GEM_MAN_SUFFIX}.7
  17. rm -r ${WRKINST}/${LOCALBASE}/${GEM_LIB}/gems/${DISTNAME}/man
  18. BUILD_DEPENDS = ${RUN_DEPENDS}
  19. RUN_DEPENDS = textproc/ruby-hpricot,${MODRUBY_FLAVOR}>=0.8.2 \
  20. textproc/ruby-mustache,${MODRUBY_FLAVOR}>=0.7.0 \
  21. textproc/ruby-rdiscount,${MODRUBY_FLAVOR}>=1.5.8 \
  22. www/ruby-sinatra,${MODRUBY_FLAVOR}
  23. MODRUBY_TEST = rake
  24. MODRUBY_TEST_ENV = RUBYOPT=-rubygems
  25. .include <bsd.port.mk>