aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-aspectr/Makefile
blob: cdc0d9501b6745fbe58a9fca7b58b44cf17d43e9 (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
# New ports collection makefile for:    ruby-aspectr
# Date created:     08 April 2002
# Whom:         Sean Chittenden <seanc@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   aspectr
PORTVERSION=    0.3.5
CATEGORIES= devel ruby
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/./-/g}
DIST_SUBDIR=    ruby

MAINTAINER= seanc@FreeBSD.org

USE_RUBY=   yes

NO_BUILD=   yes

DOCS=       CHANGELOG README TODO

do-install:
    ${INSTALL_DATA} ${WRKSRC}/lib/aspectr.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/logger.rb ${RUBY_MODEXAMPLESDIR}/
.endif

.include <bsd.port.mk>