aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-xmlconfigfile/Makefile
blob: 97eb7e15f32d40edbe9cd69d6d61294da651e695 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    Ruby/xmlconfigfile
# Date created:     25 February 2003
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   xmlconfigfile
PORTVERSION=    0.8.0
CATEGORIES= textproc devel ruby
MASTER_SITES=   http://www.maik-schmidt.de/projects/xmlconfigfile/dist/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}_${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org
COMMENT=    A Ruby module for easy handling of XML configuration files

RUN_DEPENDS=    ${RUBY_SITELIBDIR}/rexml/document.rb:${PORTSDIR}/textproc/ruby-rexml

USE_ZIP=    yes

USE_RUBY=   yes
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb

DOCS=       docs CHANGES README TODO

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
    ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif

.include <bsd.port.mk>