1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/www/mod_ruby/Makefile
Akinori MUSHA 7ab6a51b36 Update to 0.2.0.
Now it uses textproc/eruby's shared library.
2000-09-22 05:05:43 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: mod_ruby
# Date created: 12 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= mod_ruby
PORTVERSION= 0.2.0
CATEGORIES= www ruby
MASTER_SITES= http://www.ruby-lang.org/~shugo/mod_ruby/
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
LIB_DEPENDS= eruby.1:${PORTSDIR}/textproc/eruby
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
USE_RUBY= yes
APXS= ${LOCALBASE}/sbin/apxs
CONFIGURE_ARGS= --apxs="${APXS}" \
--enable-eruby=yes \
--eruby-includes="${LOCALBASE}/include" \
--eruby-libraries="${LOCALBASE}/lib"
DOCS_EN= ChangeLog README.en
DOCS_JA= README.ja
do-configure:
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} Makefile.RB ${CONFIGURE_ARGS}
do-install:
${APXS} -i -A -n ruby ${WRKSRC}/mod_ruby.so
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/mod_ruby/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/mod_ruby/
.endfor
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/mod_ruby/ja/
.endfor
.endif
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>