diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-04-06 11:21:47 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-04-06 11:21:47 +0000 |
commit | 1088ced6e12e3ab2fea27ba6799406141b359e98 (patch) | |
tree | 573932a23e389a8a6635682e379cf6d8464d1caa /graphics | |
parent | 9135cc6f16f5ed30c02ee6e3c380af70bc822109 (diff) | |
download | ports-1088ced6e12e3ab2fea27ba6799406141b359e98.tar.gz ports-1088ced6e12e3ab2fea27ba6799406141b359e98.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/ruby-tgif/Makefile | 54 | ||||
-rw-r--r-- | graphics/ruby-tgif/distinfo | 1 | ||||
-rw-r--r-- | graphics/ruby-tgif/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/ruby-tgif/pkg-descr | 4 | ||||
-rw-r--r-- | graphics/ruby-tgif/pkg-plist | 9 |
6 files changed, 70 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 760ea5aee86e..f8574d74556f 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -191,6 +191,7 @@ SUBDIR += ruby-ming SUBDIR += ruby-opengl SUBDIR += ruby-qt2gl + SUBDIR += ruby-tgif SUBDIR += s10sh SUBDIR += sane-backends SUBDIR += sane-frontends diff --git a/graphics/ruby-tgif/Makefile b/graphics/ruby-tgif/Makefile new file mode 100644 index 000000000000..b75a52e0221c --- /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 000000000000..ffb2904e13b4 --- /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 000000000000..efb1d326673c --- /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 000000000000..73b820a9f659 --- /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 000000000000..61444ef31cf3 --- /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 |