mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
c68548820c
or USE_LIBRUBY is defined, individual ruby ports no longer need to include it explicitly.
39 lines
976 B
Makefile
39 lines
976 B
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
|
|
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
|
|
|
|
PYTHON_VERSION?= python1.5
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
CONFIGURE_ARGS= --with-python="${PYTHON_VERSION}" --with-pthread
|
|
INSTALL_TARGET= site-install
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/python
|
|
${CP} -R ${WRKSRC}/examples/ ${RUBY_EXAMPLESDIR}/python/
|
|
${MKDIR} ${RUBY_DOCDIR}/python/ja
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${WRKSRC}/doc/* \
|
|
${RUBY_DOCDIR}/python/
|
|
${INSTALL_DATA} ${WRKSRC}/README.ja ${WRKSRC}/doc-ja/* \
|
|
${RUBY_DOCDIR}/python/ja/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|