Edit

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

Branch :

  • Show log

    Commit

  • Author : jeremy
    Date : 2011-11-09 00:10:56
    Hash : 1897f95e
    Message : Upgrade to hpricot 0.8.4 to be compatible with ruby 1.9.3.

  • textproc/ruby-hpricot/Makefile
  • # $OpenBSD: Makefile,v 1.14 2011/11/09 00:10:56 jeremy Exp $
    
    COMMENT=		flexible HTML parser
    
    DISTNAME=		hpricot-0.8.4
    CATEGORIES=		textproc
    
    HOMEPAGE=		http://code.whytheluckystiff.net/hpricot/
    
    # BSD
    PERMIT_PACKAGE_CDROM=	Yes
    PERMIT_PACKAGE_FTP=	Yes
    PERMIT_DISTFILES_CDROM=	Yes
    PERMIT_DISTFILES_FTP=	Yes
    
    BUILD_DEPENDS=		${MODRUBY_RAKE_DEPENDS}
    
    MODULES=		lang/ruby
    
    CONFIGURE_STYLE=	ruby gem ext
    
    REGRESS_DEPENDS=	${FULLPKGNAME}:${BUILD_PKGPATH}
    
    do-regress:
    	@cd ${WRKSRC} && ${RUBY} -rubygems -Ilib:test \
    		-e "ARGV.each { |f| load f unless f =~ /^-/  }" \
    		"test/test_preserved.rb" "test/test_paths.rb" \
    		"test/test_xml.rb" "test/test_parser.rb" "test/test_alter.rb" \
    		"test/test_builder.rb"
    
    .include <bsd.port.mk>