2001-07-06 06:09:40 -04:00
|
|
|
# New ports collection makefile for: ruby-dl
|
|
|
|
# Date created: 1 July 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dl
|
2002-01-21 23:51:38 -05:00
|
|
|
PORTVERSION= 1.0.1
|
2001-07-06 06:09:40 -04:00
|
|
|
CATEGORIES= devel ruby
|
|
|
|
MASTER_SITES= http://kt-www.jaist.ac.jp/~ttate/ftp/
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
2001-07-19 03:22:55 -04:00
|
|
|
#WRKSRC= ${WRKDIR}/ruby-${PORTNAME}-${PORTVERSION}
|
2001-07-06 06:09:40 -04:00
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
2001-07-25 01:30:25 -04:00
|
|
|
DOCS_EN= Changes README README.html
|
2001-07-06 06:09:40 -04:00
|
|
|
|
2001-11-19 08:58:40 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == i386
|
|
|
|
CONFIGURE_ARGS+= --with-asm
|
|
|
|
.endif
|
|
|
|
|
2001-07-06 06:09:40 -04:00
|
|
|
post-install:
|
2001-07-19 03:22:55 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/h2rb ${PREFIX}/bin/
|
2001-07-06 06:09:40 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-07-25 01:30:25 -04:00
|
|
|
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
|
2001-07-06 06:09:40 -04:00
|
|
|
.for f in ${DOCS_EN}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
|
|
|
|
.endfor
|
|
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
|
2002-01-19 06:28:44 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
2001-07-06 06:09:40 -04:00
|
|
|
.endif
|
|
|
|
|
2001-11-19 08:58:40 -05:00
|
|
|
.include <bsd.port.post.mk>
|