All pastes #52373 Raw Edit

Someone

public text v1 · immutable
#52373 ·published 2006-04-30 13:28 UTC
rendered paste body
# New ports collection makefile for:    yarv
# Date created:         2006-04-22
# Whom:                 Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
#
# $FreeBSD$
#

PORTNAME=       yarv
PORTVERSION=    0.4.0
CATEGORIES=     lang ruby
MASTER_SITES=   http://www.atdot.net/${PORTNAME}/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}

MAINTAINER=     itetcu@people.tecnik93.com
COMMENT=        YARV is Virtual Machine for Programming Language Ruby

USE_RUBY=       yes
USE_RUBY_FEATURES=      benchmark  bigdecimal devel-logger \
        dl              drb             erb \
        fileutils       gserver         iconv \
        ipaddr          open-uri        openssl \
        optparse        pp              racc-runtime \
        rdoc            rexml           ruby18 \
        runit           set             soap \
        stringio        strscan         testunit \
        tsort           webrick         xmlrpc \
        yaml            zlib \
        benchmark dl fileutil optparse pp racc-runtime \
        rexml ruby18 set stringio strscan tsort yaml

#RUBY_NO_RUN_DEPENDS=   yes
USE_RUBY_RDOC=  yes

BUILD_DEPENDS+= bison2: ${PORTSDIR}/devel/bison2

USE_AUTOTOOLS+= autoconf:259
# libtool:15 autoconf:259
#:env
HAS_CONFIGURE=  yes
#USE_RUBY_SETUP=        yes
#RUBY_SETUP=    install.rb
#CONFIGURE_ARGS=        -- --with-lua-dir=${LOCALBASE}
CONFIGURE_ARGS+=        --prefix=${PREFIX}

pre-configure:
#       (cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${AUTOCONF})

post-install:
.if !defined(NOPORTDOCS)
        ${MKDIR} ${RUBY_MODDOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/
.endif

.include <bsd.port.mk>