2000-08-14 02:49:59 -04:00
|
|
|
# New ports collection makefile for: eruby
|
|
|
|
# Date created: 14 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= eruby
|
2002-04-22 17:02:24 -04:00
|
|
|
PORTVERSION= 0.9.8
|
2000-08-16 08:21:24 -04:00
|
|
|
CATEGORIES= textproc www ruby
|
2000-12-11 14:54:50 -05:00
|
|
|
MASTER_SITES= http://www.modruby.net/archive/
|
2000-08-14 02:49:59 -04:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
2000-09-07 03:44:38 -04:00
|
|
|
USE_RUBY= yes
|
2001-06-04 11:56:58 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
USE_RUBY_RD= yes
|
|
|
|
.endif
|
2000-08-14 02:49:59 -04:00
|
|
|
|
2001-06-04 11:56:58 -04:00
|
|
|
CONFIGURE_ARGS= --enable-shared --with-charset="${DEFAULT_CHARSET}"
|
2001-06-08 21:38:53 -04:00
|
|
|
INSTALL_TARGET= site-install
|
2000-09-22 01:04:30 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2000-12-12 09:04:26 -05:00
|
|
|
DEFAULT_CHARSET?= ISO-8859-1
|
2000-10-09 06:33:40 -04:00
|
|
|
|
2000-12-12 09:04:26 -05:00
|
|
|
MAN1= eruby.1
|
2000-08-14 02:49:59 -04:00
|
|
|
|
2001-06-04 11:56:58 -04:00
|
|
|
DOCS_EN= COPYING ChangeLog README.en eruby.html eruby.rd
|
2000-08-14 02:49:59 -04:00
|
|
|
DOCS_JA= README.ja
|
|
|
|
|
|
|
|
do-configure:
|
2001-05-24 07:15:26 -04:00
|
|
|
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} configure.rb ${CONFIGURE_ARGS}
|
2000-08-14 02:49:59 -04:00
|
|
|
|
2001-06-04 11:56:58 -04:00
|
|
|
post-build:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
cd ${WRKSRC}; ${RUBY_RD} eruby.rd > eruby.html
|
|
|
|
.endif
|
|
|
|
|
2000-08-14 02:49:59 -04:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-06-04 11:56:58 -04:00
|
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
|
|
|
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
|
2000-08-14 02:49:59 -04:00
|
|
|
.for f in ${DOCS_EN}
|
2001-06-04 11:56:58 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
|
2000-08-14 02:49:59 -04:00
|
|
|
.endfor
|
|
|
|
.for f in ${DOCS_JA}
|
2001-06-04 11:56:58 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
|
2000-08-14 02:49:59 -04:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2001-04-20 05:20:28 -04:00
|
|
|
.include <bsd.port.mk>
|