Edit

IABSD.fr/ports/textproc/ruby-ronn/Makefile

Branch :

  • Show log

    Commit

  • Author : jeremy
    Date : 2014-10-11 19:54:46
    Hash : a6b8b062
    Message : Bump gem ports buildable with ruby 1.8 that have binaries The binaries now use a 18 suffix on ruby 1.8.

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