2003-01-01 20:55:55 +01:00
|
|
|
# New ports collection makefile for: Nora
|
|
|
|
# Date created: 8 December 2002
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nora
|
2009-02-09 00:06:54 +01:00
|
|
|
PORTVERSION= 0.0.20041114
|
2003-01-01 20:55:55 +01:00
|
|
|
CATEGORIES= www ruby
|
|
|
|
MASTER_SITES= http://www.moonwolf.com/ruby/archive/
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2009-03-06 19:20:59 +01:00
|
|
|
MAINTAINER= dhn@FreeBSD.org
|
2003-02-18 06:42:05 +01:00
|
|
|
COMMENT= A rich set of Ruby libraries for Web applications
|
2003-01-01 20:55:55 +01:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_SETUP= yes
|
|
|
|
|
|
|
|
post-patch:
|
2006-05-06 01:36:24 +02:00
|
|
|
@${RUBY} -i -pe 'sub(/malloc\.h/, "stdlib.h")' ${WRKSRC}/ext/web/escape_ext/escape_ext.c
|
2003-01-01 20:55:55 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2006-05-06 01:36:24 +02:00
|
|
|
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
2003-01-01 20:55:55 +01:00
|
|
|
${CP} -R ${WRKSRC}/sample/ ${RUBY_MODEXAMPLESDIR}/
|
2006-05-06 01:36:24 +02:00
|
|
|
@${MKDIR} ${RUBY_MODDOCDIR}/ja
|
2003-01-01 20:55:55 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_MODDOCDIR}/ja/
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|