diff options
author | knu <knu@FreeBSD.org> | 2000-10-16 17:38:27 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-10-16 17:38:27 +0800 |
commit | a57b568e4a291fb1cc452d9382a307c85fbfc620 (patch) | |
tree | c89b7a7eff0389bf739cf4e2532cb819964289cb /graphics/ruby-ming/Makefile | |
parent | 5ad7472c57690d0763be26ee75198204c1b6c3f7 (diff) | |
download | freebsd-ports-gnome-a57b568e4a291fb1cc452d9382a307c85fbfc620.tar.gz freebsd-ports-gnome-a57b568e4a291fb1cc452d9382a307c85fbfc620.tar.zst freebsd-ports-gnome-a57b568e4a291fb1cc452d9382a307c85fbfc620.zip |
Add ruby-ming, Ruby module for the Ming library which allows you to
create Flash (TM) movies.
Diffstat (limited to 'graphics/ruby-ming/Makefile')
-rw-r--r-- | graphics/ruby-ming/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/graphics/ruby-ming/Makefile b/graphics/ruby-ming/Makefile new file mode 100644 index 000000000000..f651b011bbf2 --- /dev/null +++ b/graphics/ruby-ming/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: Ruby/Ming +# Date created: 16 Oct 2000 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= ming +PORTVERSION= 0.0.2e +CATEGORIES= graphics ruby +MASTER_SITES= http://www.opaque.net/ming/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +EXTRACT_SUFX= .tgz + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/SWIG-devel +LIB_DEPENDS= ming.0:${PORTSDIR}/graphics/ming + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +MD5_FILE= ${PORTSDIR}/graphics/ming/distinfo + +WRKSRC= ${WRKDIR}/${DISTNAME}/rb_ext +CONFIGURE_ARGS= --with-ming-include="${LOCALBASE}/include/ming" +INSTALL_TARGET= site-install + +EXAMPLES= shape.rb test.rb + +post-extract: + ${LN} -sf ${WRKSRC}/../py_ext/*.i ${WRKSRC}/ + +post-install: + ${INSTALL_DATA} ${WRKSRC}/ming.rb ${RUBY_SITELIBDIR}/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/ming +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/ming/ +.endfor +.endif + +.include <bsd.port.mk> |