2000-08-12 20:09:41 +00:00
|
|
|
# New ports collection makefile for: Ruby/Python
|
|
|
|
# Date created: 7 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
2000-08-07 06:09:19 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= python
|
|
|
|
PORTVERSION= 0.3.2
|
2000-08-16 12:21:24 +00:00
|
|
|
CATEGORIES= lang ruby python
|
2000-08-07 06:09:19 +00:00
|
|
|
MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
|
2000-09-07 07:43:29 +00:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2000-09-10 07:57:05 +00:00
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
2000-08-08 16:08:31 +00:00
|
|
|
DIST_SUBDIR= ruby
|
2000-08-07 06:09:19 +00:00
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
2000-09-10 12:40:42 +00:00
|
|
|
PYTHON_VERSION= python1.5
|
2000-08-07 06:09:19 +00:00
|
|
|
|
2000-09-07 07:43:29 +00:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2000-08-07 06:09:19 +00:00
|
|
|
|
2000-09-07 07:43:29 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
INSTALL_TARGET= site-install
|
2000-08-07 06:09:19 +00:00
|
|
|
|
2000-09-07 07:43:29 +00:00
|
|
|
post-configure:
|
|
|
|
${PERL} -i -pe 's/-lc\b/-lc_r/g' ${WRKSRC}/Makefile
|
2000-08-07 06:09:19 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-09-07 07:43:29 +00:00
|
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/python/Lib
|
|
|
|
${MKDIR} ${RUBY_DOCDIR}/python/ja
|
|
|
|
cd ${WRKSRC}/examples; find . -exec ${INSTALL_DATA} {} ${RUBY_EXAMPLESDIR}/python/{} \;
|
2000-08-07 06:09:19 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${WRKSRC}/doc/* \
|
2000-09-07 07:43:29 +00:00
|
|
|
${RUBY_DOCDIR}/python/
|
2000-08-07 06:09:19 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.ja ${WRKSRC}/doc-ja/* \
|
2000-09-07 07:43:29 +00:00
|
|
|
${RUBY_DOCDIR}/python/ja/
|
2000-08-07 06:09:19 +00:00
|
|
|
.endif
|
|
|
|
|
2000-09-07 07:43:29 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
|
|
|
|
.include <bsd.port.post.mk>
|