# New ports collection makefile for: Ruby/XTemplate # Date created: 6 February 2003 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= xtemplate PORTVERSION= 0.5.2 CATEGORIES= textproc ruby MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org COMMENT= A lightweight XML template engine for Ruby RUN_DEPENDS= ${RUBY_SITELIBDIR}/xmlscan/parser.rb:${PORTSDIR}/textproc/ruby-xmlscan # You can use REXML as an alternative to xmlscan: # ${RUBY_SITELIBDIR}/rexml/document.rb:${PORTSDIR}/textproc/ruby-rexml # YAML is supported optionally: # ${RUBY_SITELIBDIR}/yaml.rb:${PORTSDIR}/devel/ruby-yaml USE_RUBY= yes USE_RUBY_SETUP= yes RUBY_SETUP= install.rb CONFIGURE_ARGS= --with-ext DOCS_EN= CHANGES README STATUS TUTORIAL 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