mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
46 lines
1010 B
Makefile
46 lines
1010 B
Makefile
# New ports collection makefile for: SWIGRuby
|
|
# Date created: 9 Aug 2000
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= swigruby
|
|
PORTVERSION= 0.4.4
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= swig:${PORTSDIR}/devel/SWIG
|
|
RUN_DEPENDS= swig:${PORTSDIR}/devel/SWIG
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
DOCS_EN= ChangeLog README
|
|
DOCS_JA= README.ja
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; \
|
|
${SETENV} ${CONFIGURE_ENV} ${RUBY} configure.rb
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/swigruby
|
|
${CP} -R ${WRKSRC}/examples/ ${RUBY_EXAMPLESDIR}/swigruby/
|
|
${MKDIR} ${RUBY_DOCDIR}/swigruby/ja
|
|
.for f in ${DOCS_EN}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/swigruby/
|
|
.endfor
|
|
.for f in ${DOCS_JA}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/swigruby/ja/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
|
|
.include <bsd.port.post.mk>
|