aboutsummaryrefslogtreecommitdiffstats
path: root/www/ruby-nora/Makefile
blob: 6de6820c40032224452e2e2a2ce828b66e9dd77c (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:    Nora
# Date created:     8 December 2002
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   nora
PORTVERSION=    0.0.20041021
CATEGORIES= www ruby
MASTER_SITES=   http://www.moonwolf.com/ruby/archive/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=    ruby

MAINTAINER= ports@FreeBSD.org
COMMENT=    A rich set of Ruby libraries for Web applications

DEPRECATED= distfile and homepage disappeared
EXPIRATION_DATE=    2006-12-30

USE_RUBY=   yes
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb

post-patch:
    @${RUBY} -i -pe 'sub(/malloc\.h/, "stdlib.h")' ${WRKSRC}/ext/web/escape_ext/escape_ext.c

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${RUBY_MODEXAMPLESDIR}
    ${CP} -R ${WRKSRC}/sample/ ${RUBY_MODEXAMPLESDIR}/
    @${MKDIR} ${RUBY_MODDOCDIR}/ja
    ${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_MODDOCDIR}/ja/
.endif

.include <bsd.port.mk>