1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

Add ruby-ming, Ruby module for the Ming library which allows you to

create Flash (TM) movies.
This commit is contained in:
Akinori MUSHA 2000-10-16 09:38:27 +00:00
parent 2c023b45fa
commit c698265f5c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33888
6 changed files with 71 additions and 0 deletions

View File

@ -157,6 +157,7 @@
SUBDIR += rayshade
SUBDIR += ruby-gd
SUBDIR += ruby-libpng
SUBDIR += ruby-ming
SUBDIR += ruby-opengl
SUBDIR += sane
SUBDIR += sced

View File

@ -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>

View File

@ -0,0 +1,17 @@
--- depend.orig Fri Oct 13 15:26:31 2000
+++ depend Mon Oct 16 17:55:07 2000
@@ -1,4 +1,4 @@
-SWIGINC= ../py_ext
+SWIGINC= .
OBJS+= ming_wrap.o
@@ -7,7 +7,7 @@
ming_wrap.o: ming_wrap.c
ming_wrap.c: ${SWIGINC}/blocklist.i ${SWIGINC}/blocktypes.i ${SWIGINC}/ming.i ${SWIGINC}/swf.i
- swig -I${SWIGINC} -ruby ${SWIGINC}/ming.i
+ swig1.3 -I${SWIGINC} -ruby ${SWIGINC}/ming.i
clean: clean_local

View File

@ -0,0 +1 @@
Ruby module for the Ming library which allows you to create Flash (TM) movies

View File

@ -0,0 +1,4 @@
This is a Ruby module for the Ming library based on Python module.
Ming allows you to create Flash (TM) movies.
Author: Kazuki Sakamoto <sakamoto@splhack.org>

View File

@ -0,0 +1,5 @@
%%RUBY_SITEARCHLIBDIR%%/mingc.so
%%RUBY_SITELIBDIR%%/ming.rb
%%RUBY_EXAMPLESDIR%%/ming/shape.rb
%%RUBY_EXAMPLESDIR%%/ming/test.rb
@dirrm %%RUBY_EXAMPLESDIR%%/ming