mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: Ruby/Python
|
|
# Date created: 7 Aug 2000
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= python
|
|
PORTVERSION= 0.3.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= lang ruby python
|
|
MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
COMMENT= Ruby extension library for embedding Python in Ruby
|
|
|
|
BUILD_DEPENDS= ${NONEXISTENT}:${PYTHON_PORTSDIR}:-DWITHOUT_THREADS
|
|
|
|
USE_PYTHON= yes
|
|
PYTHON_VERSION?= python1.5
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
CONFIGURE_ARGS= --with-python-lib=`cd ${PYTHON_PORTSDIR}; ${MAKE} -V WRKSRC`
|
|
INSTALL_TARGET= site-install
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/examples/ ${RUBY_MODEXAMPLESDIR}/
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${WRKSRC}/doc/* \
|
|
${RUBY_MODDOCDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/README.ja ${WRKSRC}/doc-ja/* \
|
|
${RUBY_MODDOCDIR}/ja/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|