summaryrefslogtreecommitdiffstats
path: root/graphics/ruby-tgif
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-04-06 11:21:47 +0000
committerknu <knu@FreeBSD.org>2001-04-06 11:21:47 +0000
commitb401b6fe0d16fb5e11811c3f8d085937da2741d5 (patch)
treeb1a8adf89eee3a31ee944335803413d0f619bb58 /graphics/ruby-tgif
parente11b2199122d3cc2f0d7f13e97efa3c7b5e6d8a1 (diff)
downloadFreeBSD-ports-b401b6fe0d16fb5e11811c3f8d085937da2741d5.zip
FreeBSD-ports-b401b6fe0d16fb5e11811c3f8d085937da2741d5.tar.gz
Add ruby-tgif, a Ruby extension library to draw Tgif graphics.
Diffstat (limited to 'graphics/ruby-tgif')
-rw-r--r--graphics/ruby-tgif/Makefile54
-rw-r--r--graphics/ruby-tgif/distinfo1
-rw-r--r--graphics/ruby-tgif/pkg-comment1
-rw-r--r--graphics/ruby-tgif/pkg-descr4
-rw-r--r--graphics/ruby-tgif/pkg-plist9
5 files changed, 69 insertions, 0 deletions
diff --git a/graphics/ruby-tgif/Makefile b/graphics/ruby-tgif/Makefile
new file mode 100644
index 0000000..b75a52e
--- /dev/null
+++ b/graphics/ruby-tgif/Makefile
@@ -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>
diff --git a/graphics/ruby-tgif/distinfo b/graphics/ruby-tgif/distinfo
new file mode 100644
index 0000000..ffb2904
--- /dev/null
+++ b/graphics/ruby-tgif/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-tgif-20010405.tar.gz) = ccdfe4897f1b1570b192cfe141ceae92
diff --git a/graphics/ruby-tgif/pkg-comment b/graphics/ruby-tgif/pkg-comment
new file mode 100644
index 0000000..efb1d32
--- /dev/null
+++ b/graphics/ruby-tgif/pkg-comment
@@ -0,0 +1 @@
+A Ruby extension library to draw Tgif graphics
diff --git a/graphics/ruby-tgif/pkg-descr b/graphics/ruby-tgif/pkg-descr
new file mode 100644
index 0000000..73b820a
--- /dev/null
+++ b/graphics/ruby-tgif/pkg-descr
@@ -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/
diff --git a/graphics/ruby-tgif/pkg-plist b/graphics/ruby-tgif/pkg-plist
new file mode 100644
index 0000000..61444ef
--- /dev/null
+++ b/graphics/ruby-tgif/pkg-plist
@@ -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
OpenPOWER on IntegriCloud