mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
404d327197
version, this port still builds and installs 0.1.1 if RUBY_VER=1.4.
53 lines
1.0 KiB
Makefile
53 lines
1.0 KiB
Makefile
# New ports collection makefile for: eruby
|
|
# Date created: 14 Aug 2000
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= eruby
|
|
PORTVERSION= ${VERSION}
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc www ruby
|
|
MASTER_SITES= http://www.ruby-lang.org/~shugo/eruby/
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
USE_RUBY= yes
|
|
RUBY_REQUIRE= 160 <= Ruby
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(RUBY_PROVIDED)
|
|
VERSION= 0.1.2
|
|
.else
|
|
VERSION= 0.1.1
|
|
.endif
|
|
|
|
CONFIGURE_ARGS= --enable-shared --default-charset="${DEFAULT_CHARSET}"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAN1= eruby.1
|
|
|
|
DEFAULT_CHARSET?= US-ASCII
|
|
|
|
DOCS_EN= ChangeLog README.en
|
|
DOCS_JA= README.ja
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} Makefile.RB ${CONFIGURE_ARGS}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_DOCDIR}/eruby/ja
|
|
.for f in ${DOCS_EN}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/eruby/
|
|
.endfor
|
|
.for f in ${DOCS_JA}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/eruby/ja/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|