freebsd-ports/devel/swigruby/Makefile

45 lines
974 B
Makefile
Raw Normal View History

2000-08-22 03:59:08 +02: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 20:55:22 +02:00
PORTVERSION= 0.4.4
2000-08-22 03:59:08 +02:00
CATEGORIES= devel ruby
MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
2003-02-18 06:04:59 +01:00
COMMENT= Ruby module for SWIG 1.1
2000-08-22 03:59:08 +02:00
2002-10-30 14:11:43 +01:00
BUILD_DEPENDS= swig1.1:${PORTSDIR}/devel/swig11
RUN_DEPENDS= swig1.1:${PORTSDIR}/devel/swig11
2000-08-22 03:59:08 +02:00
2000-09-07 17:18:20 +02:00
USE_RUBY= yes
2000-08-22 03:59:08 +02:00
2000-09-07 17:18:20 +02:00
USE_GMAKE= yes
2000-08-22 03:59:08 +02:00
DOCS_EN= ChangeLog README
DOCS_JA= README.ja
do-configure:
@cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${RUBY} configure.rb --with-swig=swig1.1
2000-08-22 03:59:08 +02:00
post-install:
.if !defined(NOPORTDOCS)
2002-10-06 23:08:30 +02:00
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/ ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}/ja
2000-08-22 03:59:08 +02:00
.for f in ${DOCS_EN}
2002-10-06 23:08:30 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
2000-08-22 03:59:08 +02:00
.endfor
.for f in ${DOCS_JA}
2002-10-06 23:08:30 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
2000-08-22 03:59:08 +02:00
.endfor
.endif
.include <bsd.port.mk>