2000-08-12 22:09:41 +02:00
|
|
|
# New ports collection makefile for: Ruby/Python
|
|
|
|
# Date created: 7 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
2000-08-07 08:09:19 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= python
|
2001-02-05 16:04:13 +01:00
|
|
|
PORTVERSION= 0.3.3
|
2001-09-17 19:54:27 +02:00
|
|
|
PORTREVISION= 2
|
2000-08-16 14:21:24 +02:00
|
|
|
CATEGORIES= lang ruby python
|
2000-08-07 08:09:19 +02:00
|
|
|
MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
|
2000-09-07 09:43:29 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2000-09-10 09:57:05 +02:00
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
2000-08-08 18:08:31 +02:00
|
|
|
DIST_SUBDIR= ruby
|
2000-08-07 08:09:19 +02:00
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
2001-03-29 10:23:04 +02:00
|
|
|
BUILD_DEPENDS= ${NONEXISTENT}:${PYTHON_PORTSDIR}:-DWITHOUT_THREADS
|
|
|
|
|
2000-09-10 22:13:12 +02:00
|
|
|
PYTHON_VERSION?= python1.5
|
2000-08-07 08:09:19 +02:00
|
|
|
|
2000-09-07 09:43:29 +02:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2000-08-07 08:09:19 +02:00
|
|
|
|
2000-09-07 09:43:29 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2002-03-30 13:12:53 +01:00
|
|
|
CONFIGURE_ARGS= --with-python-lib=`cd ${PYTHON_PORTSDIR}; ${MAKE} -V WRKSRC`
|
2000-09-07 09:43:29 +02:00
|
|
|
INSTALL_TARGET= site-install
|
2000-08-07 08:09:19 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-09-10 22:13:12 +02:00
|
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/python
|
|
|
|
${CP} -R ${WRKSRC}/examples/ ${RUBY_EXAMPLESDIR}/python/
|
2000-09-07 09:43:29 +02:00
|
|
|
${MKDIR} ${RUBY_DOCDIR}/python/ja
|
2000-08-07 08:09:19 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${WRKSRC}/doc/* \
|
2000-09-07 09:43:29 +02:00
|
|
|
${RUBY_DOCDIR}/python/
|
2000-08-07 08:09:19 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.ja ${WRKSRC}/doc-ja/* \
|
2000-09-07 09:43:29 +02:00
|
|
|
${RUBY_DOCDIR}/python/ja/
|
2000-08-07 08:09:19 +02:00
|
|
|
.endif
|
|
|
|
|
2000-09-26 10:02:17 +02:00
|
|
|
.include <bsd.port.mk>
|