freebsd-ports/devel/swigruby/Makefile

44 lines
940 B
Makefile
Raw Normal View History

2000-08-21 21:59:08 -04:00
# New ports collection makefile for: SWIGRuby
# Date created: 9 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= swigruby
2000-09-04 14:55:22 -04:00
PORTVERSION= 0.4.4
2000-08-21 21:59:08 -04:00
CATEGORIES= devel ruby
MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
2000-09-07 11:18:20 -04:00
BUILD_DEPENDS= swig:${PORTSDIR}/devel/SWIG
RUN_DEPENDS= swig:${PORTSDIR}/devel/SWIG
2000-08-21 21:59:08 -04:00
2000-09-07 11:18:20 -04:00
USE_RUBY= yes
2000-08-21 21:59:08 -04:00
2000-09-07 11:18:20 -04:00
USE_GMAKE= yes
2000-08-21 21:59:08 -04:00
DOCS_EN= ChangeLog README
DOCS_JA= README.ja
do-configure:
@cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${RUBY} configure.rb
post-install:
.if !defined(NOPORTDOCS)
2000-09-07 11:18:20 -04:00
${MKDIR} ${RUBY_EXAMPLESDIR}/swigruby
${CP} -R ${WRKSRC}/examples/ ${RUBY_EXAMPLESDIR}/swigruby/
${MKDIR} ${RUBY_DOCDIR}/swigruby/ja
2000-08-21 21:59:08 -04:00
.for f in ${DOCS_EN}
2000-09-07 11:18:20 -04:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/swigruby/
2000-08-21 21:59:08 -04:00
.endfor
.for f in ${DOCS_JA}
2000-09-07 11:18:20 -04:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/swigruby/ja/
2000-08-21 21:59:08 -04:00
.endfor
.endif
.include <bsd.port.mk>