Add ruby-tgif, a Ruby extension library to draw Tgif graphics.
This commit is contained in:
parent
9135cc6f16
commit
1088ced6e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40941
6 changed files with 70 additions and 0 deletions
|
@ -191,6 +191,7 @@
|
|||
SUBDIR += ruby-ming
|
||||
SUBDIR += ruby-opengl
|
||||
SUBDIR += ruby-qt2gl
|
||||
SUBDIR += ruby-tgif
|
||||
SUBDIR += s10sh
|
||||
SUBDIR += sane-backends
|
||||
SUBDIR += sane-frontends
|
||||
|
|
54
graphics/ruby-tgif/Makefile
Normal file
54
graphics/ruby-tgif/Makefile
Normal file
|
@ -0,0 +1,54 @@
|
|||
# New ports collection makefile for: Ruby/Tgif
|
||||
# Date created: 6 April 2001
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= tgif
|
||||
PORTVERSION= 20010405
|
||||
CATEGORIES= graphics ruby
|
||||
MASTER_SITES= http://www2s.biglobe.ne.jp/~Nori/ruby/dist/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${TGIF_PORT}:build
|
||||
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
USE_XLIB= yes
|
||||
|
||||
TGIF_PORT= graphics/tgif-nls
|
||||
|
||||
CONFIGURE_ARGS= --with-x-dir="${X11BASE}" \
|
||||
--with-ldflags=" `cd ${WRKSRC}/tgif && ${MAKE} -V LDOPTIONS -V LOCAL_LIBRARIES -V LDLIBS -V EXTRA_LOAD_FLAGS | paste -s -`"
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
DOCS_EN= README
|
||||
DOCS_JA= ChangeLog.ja README.ja
|
||||
|
||||
post-extract:
|
||||
${RM} ${WRKSRC}/examples/*.obj
|
||||
${LN} -sf `cd ${PORTSDIR}/${TGIF_PORT} && ${MAKE} -V WRKSRC` ${WRKSRC}/tgif
|
||||
|
||||
post-patch:
|
||||
${RUBY} -i -pe 'gsub %r|\.\./|, "tgif/"' ${WRKSRC}/extconf.rb ${WRKSRC}/*.c
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
||||
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
|
||||
.for f in ${DOCS_EN}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
|
||||
.endfor
|
||||
.for f in ${DOCS_JA}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
graphics/ruby-tgif/distinfo
Normal file
1
graphics/ruby-tgif/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (ruby/ruby-tgif-20010405.tar.gz) = ccdfe4897f1b1570b192cfe141ceae92
|
1
graphics/ruby-tgif/pkg-comment
Normal file
1
graphics/ruby-tgif/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
A Ruby extension library to draw Tgif graphics
|
4
graphics/ruby-tgif/pkg-descr
Normal file
4
graphics/ruby-tgif/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
Ruby/Tgif is a Ruby extension library to draw Tgif graphics.
|
||||
|
||||
Author: Noritsugu Nakamura <nnakamur@mxq.mesh.ne.jp>
|
||||
WWW: http://www2s.biglobe.ne.jp/~Nori/ruby/
|
9
graphics/ruby-tgif/pkg-plist
Normal file
9
graphics/ruby-tgif/pkg-plist
Normal file
|
@ -0,0 +1,9 @@
|
|||
%%RUBY_SITEARCHLIBDIR%%/tgif.so
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/tgif/README
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/tgif/ja/ChangeLog.ja
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/tgif/ja/README.ja
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/tgif/ja
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/tgif
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tgif/test01.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tgif/test01_ja.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/tgif
|
Loading…
Reference in a new issue