# New ports collection makefile for: Ruby/XTemplate # Date created: 6 February 2003 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= xtemplate PORTVERSION= 0.8.0 CATEGORIES= textproc ruby MASTER_SITES= SF PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= A lightweight XML template engine for Ruby DEPRECATED= Doesn't work with Ruby 1.9 EXPIRATION_DATE= 2011-08-03 RUN_DEPENDS= ${RUBY_SITELIBDIR}/xmlscan/parser.rb:${PORTSDIR}/textproc/ruby-xmlscan USE_RUBY= yes USE_RUBY_SETUP= yes RUBY_SETUP= install.rb CONFIGURE_ARGS= --with-ext DOCS_EN= CHANGES README STATUS TUTORIAL .include .if ${RUBY_VER} == 1.9 BROKEN= does not build with ruby 1.9 .endif post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODEXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/ ${MKDIR} ${RUBY_MODDOCDIR} .for f in ${DOCS_EN} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ .endfor .endif .include